Recently I am working on a project that using this wonderful docking framework.
Let’s get the paint demo project as example. Instead of having a minimize action for each PictureDockable, I would like to have one to minimize the whole workingarea. Any way I can do it ?
Hm, make a subclass of CWorkingArea, call „setTitleShown(true)“ and override the method „isMinimizeable“ (it should return true). This way a new title with one „minimize“ button will appear. You may also override „getTitleText/Icon“ to write something in that title.
Actually I’ve never tried all of that, but it should work.
You need to tell the EclipseTheme to handle the working-area specially. Extending and modifying the CommonEclipseThemeConnector will do the trick. The code below handles any CDockable that is also a CStation and makes a title-tab visible if the dockable/station has “isTitleShown” set to true.