|
|
Re: Modify palette at runtime [message #637893 is a reply to message #636895] |
Tue, 09 November 2010 09:42 |
|
Hi,
sorry for the delay, I was attending to the nice Eclipse Summit Europe.
The palette listens for the prefenreces of the tool. It also listens the application/unapplication of the profile application.
As soon as a profile is applied, the preferences for the palette display is updated.
In your case, you could implement a selection listener and use the org.eclipse.papyrus.diagram.common.part.PapyrusPalettePrefer ences.changePaletteVisibility(String, String, boolean) method, changing the visiblity of the tool depending on your conditions
Regards
Rémi
Remi Schnekenburger
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
Powered by
FUDForum. Page generated in 0.03692 seconds