|
Re: Making a section look like PDE editor section [message #332257 is a reply to message #332252] |
Tue, 14 October 2008 20:08 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Dominic Hanlan wrote:
> I'm trying to add an action to a form section as in the PDE. I can add
> them to the form title bar and they look good. When I add them to a form
> section they have a cutout in the background and don't have the roll
> over effect. This was done using the ImageHyperLink widget added to a
> composite which was set as the sections textClient.
>
> Can any one provide a quick example of how this is done?
It's done with a ToolBarManager, a ToolBar, and Actions. See
org.eclipse.pde.internal.ui.editor.feature.RequiresSection.c reateSectionToolbar(Section,
FormToolkit) for an example from the PDE manifest/plugin.xml editor.
Hope this helps,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.05500 seconds