|Re: Modify palette at runtime [message #637893 is a reply to message #636895]
||Tue, 09 November 2010 09:42
| Remi Schnekenburger
Registered: July 2009
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
Powered by FUDForum
. Page generated in 0.01579 seconds