Button on DockableFrame

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

Button on DockableFrame

Postby nicola.gioia » Thu Jan 19, 2006 7:44 am

It is possible to add some custom button on title bar of a DockableFrame?
It should be very useful to add custom functionality available on the DockableFrame in all status (float, or docked).
A little example is a DockableFrame that visualize a set of element and which can be visualized in different mode (list, thumbnail, details, etc.).
To change the visualization type the user could simply press on a ToggleButton on title bar instead that selecting it on a PopupMenu (that can contains specific functionality of the objects instead of the view) or in a menu in a menubar or in a toolbar.

Thanks.
nicola.gioia
 
Posts: 60
Joined: Tue Sep 20, 2005 6:57 am

Postby JIDE Support » Thu Jan 19, 2006 3:38 pm

You can use dockableFrame.setTitleBarComponent() to add any component to DockableFrame. The thing is only when it is under Eclipse L&F, it will place titleBarComponent in DockableFrame's title bar because that's how real Eclipse works. For other L&F, it will be placed right below the title bar unless you change UIDefault "DockableFrameTitlePane.titleBarComponent" to Boolean.TRUE.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 57 guests