Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCollapse/Minimize for shape
https://www.eclipse.org/forums/index.php/mv/msg/210533/675943/#msg_675943
Does Someone know how do I implement a minimize/collapse feature for a container shape? I have a container shape with two sections(ContainerShapes) within. There are some texts,labels,images go into these sections. I want to be able to collapse one section so that the other section gets maximum space. I see a similar feature available in GMF but could not get it working in graphiti?
Any Pointers ? Thanks in advance for Help.
Regards,
Murthy]]>Murthy Bhat2011-06-02T03:59:46-00:00Re: Collapse/Minimize for shape
https://www.eclipse.org/forums/index.php/mv/msg/210533/676749/#msg_676749
out-of-the-box.
What you would do to achieve that is storing the expand/collapse state with
a property locally on your container shape and have a custom feature that
changes this property. After changing it would call layoutPictogramElement
and your layout feature for this object would update the children (add or
remove) accordingly.
Does Someone know how do I implement a minimize/collapse feature for a
container shape? I have a container shape with two sections(ContainerShapes)
within. There are some texts,labels,images go into these sections. I want to
be able to collapse one section so that the other section gets maximum
space. I see a similar feature available in GMF but could not get it working
in graphiti?