Toogle panels

I decided to switch from mydoggy to docking-frames. I successfully manage to reproduce all the previous behaviors of the application except the one when I select a tool (minimized state) it will replace the previous panel (the previous slected tool). It would be the same behavior when selecting a minimized dockable but instead of flap mode it will be the normalized mode.

Is there something similar in docking-frames? I guess I should have a group of CDockable and a new action when minimized (or directly overrides the normalize action) that will minimize if another CDockable of the group is shown.

Thanks,

Nicolas

Any suggestions with a group of minimized CDockables to switch from minimized state to normalized state without juxtaposing the panels but having only one CDockable displayed at the same time?

Sorry, this question was kind of forgotten… if there is no answer, always try a second time :wink:

I’m not 100% sure on what mydoggy does, but I’m very certain that this behavior is not available for DockingFrames. At the moment such a feature is not even on the todo list.

[And I have to admit: It is not that easy to implement. If it is really important for you I’ll spend some more time thinking on this issue, but I’m not excited :wink: ]

Thanks for your reply, actually DockingFrames totally fulfill the needs of the application, but I was just a bit worried about the users that in general don’t like this kind of changes.

I will introduce the new docking framework in the next major release and communicate about the changes and how to use DockingFrames. I choose DockingFrames because the docking window state can be saved and restored easily, the framework is compliant with OSGI (handle correctly classloader), it allows to switch between look and feel without any issue, works on several monitors…

The only minor issue I’ve found is that the icons are not suitable for dark look and feel (see screenshot). I going to transform them for the Eclipse theme. I am following the recommendations from the tango project (see http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines).

Thanks for providing DockingFrames.

Really? I never paid attention to this little detail. :smiley:

The only minor issue I’ve found is that the icons are not suitable for dark look and feel (see screenshot). I going to transform them for the Eclipse theme. I am following the recommendations from the tango project (see http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines).

Yes, most people use light themes, so I never bothered to create more than one icon set. You probably already know this:

  • search for the the „icons.ini“ files to learn the keys for different icons.
  • use „DockController.getIcons()“ to gain access to the IconManager. You can then use „setIconClient“ to easily override all the existing settings.

[Edit: you might want to have a look at the „glass extension“ before creating your own icons. It provides a different set of icons for the EclipseTheme, and it might work with dark background as well.]

Here is a set of icons for eclipse theme that works with dark and light backgrounds.

Nice, I think I’ll include them in the next release.