Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Making a section look like PDE editor section
Making a section look like PDE editor section [message #332252] Tue, 14 October 2008 14:21 Go to next message
Dominic Hanlan is currently offline Dominic HanlanFriend
Messages: 98
Registered: July 2009
Member
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?

Regards

/Dominic
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
Eclipse UserFriend
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
Previous Topic:Update Wizard
Next Topic:Open file in its editor from Search Result.
Goto Forum:
  


Current Time: Thu Jul 18 01:05:49 GMT 2024

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

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

Back to the top