[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] collapsing of a compartment should minimize this element

Hello everybody,

I want to implement that the collapsing of a compartment minimizes this element. Means the compartment's size is reset to the minimal size of this element. Of course, uncollapsing should resize the compartment to its former size, a value that can easily be saved as a Dimension.
With the ResizeCompartmentFigure class, I thought I have found the right candidate for implementing my behaviour. But there are some problems when extending the class with my own ResizeFigure. All of the org.eclipse.XXX.internal.XXX packages which are necessary for the ScrollPanes are not an open API. They are just for the internal use in GMF.


That's why I am asking if there are other possibilities to implement the desired feature. Maybe some other classes? Or a special EditPolicy?

Many thanks in advance and
best regards,
Mathias