Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » An auto-resizable collapsible compartment without scrollbars
An auto-resizable collapsible compartment without scrollbars [message #230835] Wed, 20 May 2009 07:37
Javier is currently offline JavierFriend
Messages: 57
Registered: July 2009
Member
Hello guys,

I have a compartment extending ShapeCompartmentEditPart, so it provides
an scrollbar. I'm using this kind of compartment because I want it to be
collapsible and to hide nodes-links inside it (using the
RefreshConnectionMgr).

I would like to remove the scrollbars and to make the compartment to
resize if I move a children outside of the actual bounds of the
compartment. This is the behavior performed by ShapeNodeEditParts that
may contain other elements.

I'm not sure what's the best solution for my case. I was trying to set
the visibility of the scroll to NEVER SHOW, in the
ShapeCompartmentFigure. But I don't know how to override the behavior in
which the compartment doesn't resize when moving a child, it seems that
an inside panel get resized, but the outside one doesn't.

Any hint?

Thanks for the help,

Javier.
Previous Topic:Problem with creating dynamic palette
Next Topic:Error while saving dynamically created nodes
Goto Forum:
  


Current Time: Fri Apr 26 04:41:50 GMT 2024

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

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

Back to the top