Skip to main content



      Home
Home » Modeling » Graphiti » hide PaletteCompartmentEntry object
hide PaletteCompartmentEntry object [message #1121235] Mon, 30 September 2013 08:05 Go to next message
Eclipse UserFriend
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 08:50 Go to previous messageGo to next message
Eclipse UserFriend
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 04:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michael,

How would you hide the complete palette?

greets
Flavio
Re: hide PaletteCompartmentEntry object [message #1698869 is a reply to message #1698383] Thu, 18 June 2015 09:18 Go to previous messageGo to next message
Eclipse UserFriend
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 10:09 Go to previous message
Eclipse UserFriend
Hi Michael

Perfect exactly what I was looking for!

Flavio
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: Sat Jul 26 19:23:29 EDT 2025

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

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

Back to the top