Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to create Section with toolbar?(How to create org.eclipse.ui.forms.widgets.Section with toolbar?)
How to create Section with toolbar? [message #547501] Sat, 17 July 2010 16:36 Go to next message
Eclipse UserFriend
How to create org.eclipse.ui.forms.widgets.Section with toolbar?
http://ipicture.ru/uploads/100718/Ci2VL138uT.png
Re: How to create Section with toolbar? [message #547817 is a reply to message #547501] Mon, 19 July 2010 12:49 Go to previous message
Eclipse UserFriend
ToolBar bar = new ToolBar(mySection, SWT.FLAT | SWT.HORIZONTAL);
		ToolItem item = new ToolItem(bar, SWT.PUSH);
		item.setText("...");
		item.addSelectionListener(...);
		mySection.setTextClient(bar);

Thanks to all

[Updated on: Mon, 19 July 2010 15:15] by Moderator

Previous Topic:RCP client for EJB, cannot lookup.
Next Topic:How to define custom handler for standard command?
Goto Forum:
  


Current Time: Sun Jul 06 14:23:52 EDT 2025

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

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

Back to the top