Properties tab refresh problem [message #1741062] |
Mon, 22 August 2016 11:18  |
Eclipse User |
|
|
|
I created a direct edit label element for my nodes. The nodes also have a properties tab when selected in the model. For some reason, when I rename the node models, sometimes the properties tab will refresh with the updated name. For others, they will not refresh their properties and keep the old name, but when deselected and reselected again, the updated name appears on the properties.
Anyone have any solutions for this problem?
|
|
|
|
|
Re: Properties tab refresh problem [message #1741168 is a reply to message #1741137] |
Tue, 23 August 2016 08:54   |
Eclipse User |
|
|
|
Quote:I created a direct edit label element for my nodes. The nodes also have a properties tab when selected in the model. For some reason, when I rename the node models, sometimes the properties tab will refresh with the updated name. For others, they will not refresh their properties and keep the old name, but when deselected and reselected again, the updated name appears on the properties.
We are not aware of such an issue.
When you write "a property tab", do you mean a property section or a tab that you added to your modeler (would be displayed as the other tabs: semantic, style, appearance, ...)?
Do you have a scenario to reproduce on the problem on demand ?
In this case you might fill bug on https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius
--
Maxime - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Re: Properties tab refresh problem [message #1741243 is a reply to message #1741202] |
Wed, 24 August 2016 02:55  |
Eclipse User |
|
|
|
If you look at org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection which is a superclass of several property sections, you will notice the getFilter() method and the eventListener field: the property section listens for changes on its EObject to trigger an update.
Regarding how you provide your tab, you might need to have the same logic.
Regards,
--
Maxime - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.02747 seconds