|Double default palette? [message #643805]
||Wed, 08 December 2010 10:57
Registered: June 2010
I'm using Papyrus sources 0.7.X.
I'm using the method PapyrusPalettePreferences.changePaletteVisibility(...) to dinamically hide the palettes I created and I wanted to hide the default palette all the time, but I noticed one thing:
I hide all the palettes manually from the popup menu, when I call PapyrusPalettePreferences.getHiddenPalettes and print them, I found out that in all the nested diagrams( the ones in the model explorer that are hidden in an element ) there are two default palettes.
For example in a Composite Strucure Diagram there are two org.eclipse.papyrus.diagram.composite.Papyrus Composite Structure Diagram (incubation).standard.
If this is an expected behaviour how can I hide both of them? Because they have the same id, calling two times PapyrusPalettePreferences.changePaletteVisibility didn't work.
Thanks in advance, 123star
Powered by FUDForum
. Page generated in 0.01800 seconds