Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » hide PaletteCompartmentEntry object
hide PaletteCompartmentEntry object [message #1121235] Mon, 30 September 2013 12:05 Go to next message
Mithu Deb is currently offline Mithu DebFriend
Messages: 9
Registered: September 2013
Junior Member
Hi,

How do i hide PaletteCompartmentEntry object
(org.eclipse.graphiti.palette.impl.PaletteCompartmentEntry)
so that it is not visible to the user
Re: hide PaletteCompartmentEntry object [message #1125373 is a reply to message #1121235] Fri, 04 October 2013 12:50 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1937
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Mithu,

Graphiti currently only allows to hide the complete palette, not individual
groups. This sounds as if you would need to create your own palette using
GEF means in DefaultPaletteBehavior. Subclassing and exchanging paletteRoot
should give you the hook.

Regards,
Michael
Re: hide PaletteCompartmentEntry object [message #1698383 is a reply to message #1125373] Mon, 15 June 2015 08:38 Go to previous messageGo to next message
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 211
Registered: July 2009
Location: Switzerland
Senior Member
Hi Michael,

How would you hide the complete palette?

greets
Flavio


Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
Re: hide PaletteCompartmentEntry object [message #1698869 is a reply to message #1698383] Thu, 18 June 2015 13:18 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1937
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Flavio,

you can override isShowFlyoutPalette() in your tool behavior provider and
return false there to hide the palette.

Michael
Re: hide PaletteCompartmentEntry object [message #1698886 is a reply to message #1698869] Thu, 18 June 2015 14:09 Go to previous message
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 211
Registered: July 2009
Location: Switzerland
Senior Member
Hi Michael

Perfect exactly what I was looking for!

Flavio


Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
Previous Topic:Select DiagramEditpart after opening the Diagram to show the propertysheet for the same.
Next Topic:how to import/export model instances
Goto Forum:
  


Current Time: Thu Dec 26 14:47:14 GMT 2024

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

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

Back to the top