Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Double default palette?
Double default palette? [message #643805] Wed, 08 December 2010 10:57
123star  is currently offline 123star Friend
Messages: 70
Registered: June 2010
Member
Hi,

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
Previous Topic:Adding a context menu entry in the model editor
Next Topic:How Does org.eclipse.Xtext.gmf.glue works??
Goto Forum:
  


Current Time: Wed Apr 24 17:23:15 GMT 2024

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

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

Back to the top