How to have label in TableViewer be based on properties outside model? [message #640328] |
Sat, 20 November 2010 17:51 |
Ryan Messages: 74 Registered: July 2009 Location: Indiana |
Member |
|
|
I wasn't sure which forum this should go in as my model is an EMF model. Basically, my model has a hierarcy of objects, and one of the objects contains a list of references to other objects in the hierarcy. I want to display that list in a TableViewer, but I want the label for the object to be the path in the hierarcy plus the name. I can make the label show just that, but the problem is when I change the name of one of the parent objects in the hierarcy, the label for that object does not get updated. Whats the best way to trigger the contentprovider to force an updated when objects outside the model provided to the viewer are updated?
Thanks,
Ryan
|
|
|
Powered by
FUDForum. Page generated in 0.01665 seconds