Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to have label in TableViewer be based on properties outside model?
How to have label in TableViewer be based on properties outside model? [message #640328] Sat, 20 November 2010 17:51
Ryan is currently offline RyanFriend
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
Previous Topic:many images in jface tableviewer
Next Topic:How to switch off popup menu items in CN
Goto Forum:
  


Current Time: Fri Nov 21 02:50:21 GMT 2014

Powered by FUDForum. Page generated in 0.11559 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software