Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to add toolbar to a CTabItem
How to add toolbar to a CTabItem [message #834407] Sun, 01 April 2012 23:08 Go to next message
Wudong Liu is currently offline Wudong Liu
Messages: 4
Registered: August 2011
Junior Member
I notice that in the JDT's package explorer, there is a toolbar added to the CTabItem. And the toolbar can be merged with the CTabFolder's toolbar (the min, max button), I'm wondering how is this implemented? any clue will be appreciated.

Thanks.
Re: How to add toolbar to a CTabItem [message #834625 is a reply to message #834407] Mon, 02 April 2012 07:24 Go to previous message
Libor Jelinek is currently offline Libor Jelinek
Messages: 143
Registered: January 2012
Location: Prague, Czech Rep.
Senior Member

Hello, toolbar for JTD package explorer is made of so-called menu contributions to view. If you app is not pure SWT, you can follow tutorial on http://www.vogella.de/articles/EclipseCommands/article.html#toolbar__viewtoolbar.
Previous Topic:java.lang.UnsatisfiedLinkError: Could not load SWT library
Next Topic:select collapsed item in TreeView
Goto Forum:
  


Current Time: Sun Oct 26 07:08:35 GMT 2014

Powered by FUDForum. Page generated in 0.01537 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software