Note that these are provided by the org.eclipse.e4.ui.workbench.addons.swt bundle.
Strangely only adding the MinMaxAddon is not enough. I got the minimize/maximize icons on the stacks, but the behaviour is broken.
Then I defined the editor stack (the stack that can be maximized) in my E4 xmi model by :
- setting the id of the corresponding PartStack to org.eclipse.ui.editorss
- adding an EditorStack tag to it
And now it works !
However It seems that there is little redrawing bug when maximizing/restoring the editor stack : the restored stacks do not always render their tabs correctly. Moving the sash does instantly redraw the tabs.
I get the same bug in my Eclipse E4 SDK install, so I guess it has nothing to do with my app (running on Linux SuSE SLED 11.0 32 bits with KDE)