Take the 2-minute tour ×  I have been given this task and would
appreciate it if someone helped really. I built a Graphical
Model through GMF, which is as follows;  ![gmf model][1]  [1]:
http://i.imgur.com/PdtRC.jpg "gmf_model" [1]  As you see one of
the nodes in the model has been selected. The task here is to
create an eclipse view with a table, which will be automatically
updated upon the selection of a so-called "City Node". As you
may guess from the model, the table should contain path costs to
all of the cities. I will later expand my solution to include a
modified Dijkstra Algorithm but right now i am stuck in the
creation of a table view.  I tried to build it using a
TableViewer but it seems fairly complex since we need to set the
input of the table on ContentProvider, but the twist here is
that since we need a SelectionListener to obtain the City
Coordinates(as it was ordered to calculate path-costs through
the distance between two connected cities divided by the max
speed, which was indicated on the