Collapsible Split Form [message #1041907] |
Mon, 15 April 2013 18:46 |
Mason Wardle Messages: 6 Registered: September 2012 |
Junior Member |
|
|
My end goal is to have a split form that allows collapsing one of my components easily. Swing has a nice SplitPane that has a method setOneTouchExpandable that does exactly what I want which is it puts a couple of arrows on the "sash" that, when clicked hide the component the arrow points to. I would like the same thing in SWT.
I've tried using a SashForm. What I don't like about it is it seems to be hard-coding the minimum size I can shrink the composite down to. I am thus left to add some control that I can click to minimize the component that would in-turn call setMaximizedControl for the control I want to still be visible. That is messy and bulky.
I really like the collapsible Palette and Structure views in WindowBuilder. Is there something like this already built in SWT? It's in org.eclipse.wb.internal.viewsUnfortunately I can't get AbstractExtractableDesignView from WindowBuilder since org.eclipse.wb.internal is not visible.
Any ideas?
|
|
|
Powered by
FUDForum. Page generated in 0.02879 seconds