Toolbar in Tabbedpane-Header like Eclipse

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.

Toolbar in Tabbedpane-Header like Eclipse

Postby thomasstrobel » Thu Nov 10, 2005 3:22 am

We are implementing an application like eclipse (perspectives and views). So we use the Jide-Docking-Framework.

Look at eclipse: For example, if you look at the Views PackageExplorer and the Hierachie-View, you can detect, that every View has additional actions in the TabbedPane. If you activate a tab, the possible actions change.

So could it be possible, to realize actions for Views (dockableFrames) like Eclipse.

Is it possible to set the orientation of the tabs to the top like eclipse.
thomasstrobel
 
Posts: 7
Joined: Tue Mar 15, 2005 2:24 am

Postby JIDE Support » Thu Nov 10, 2005 9:26 am

You can move tabs to top using this code.

Code: Select all
    dockingManager.setTabbedPaneCustomer(new DefaultDockingManager.TabbedPaneCustomizer() {
      public void customize(JideTabbedPane tabbedPane) {
        tabbedPane.setTabPlacement(JTabbedPane.TOP);
      }
    });


However you can't do actions like in Eclipse 3.x. Our Eclipse style is still the old Eclipse 2.x style. So you can specify dockableFrame.setTitleBarComponent(a toolbar). Then under Eclipse style, the toolbar will appear at the same line at title pane if width is big enough, just like Eclipse 2.x. Eclipse 3.x completely changed this paradigm and we haven't tried to follow it yet.

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 51 guests