Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » SharedHeaderFormEditor with complex HeadClient and decorateFormHeading
SharedHeaderFormEditor with complex HeadClient and decorateFormHeading [message #327459] Mon, 21 April 2008 15:26 Go to next message
Jan Kohnert is currently offline Jan KohnertFriend
Messages: 196
Registered: July 2009
Senior Member
Hello,

I'm unsing a SharedHeaderFormEditor and want to place a composite with
detail informations about the edited object (one editor for one object)
within the forms head client.
// creates the compoiste
Composite headClient = createHeaderClient(form.getHead());
form.setHeadClient(headClient);

Basicly the composite acts as a container within the head client for some
other controls.

Further more I'm using SharedHeaderFormEditor#decorateFormHeading() to
create a gradient as seen here:
http://www.eclipse.org/articles/Article-Forms33/images/form- decorated.png

Unfortunately the as head client assigned composite appears with e pure
white background (toolkit.adapt(composite) gets called) within the
gradient of the form header.

Is there any way to get the form headers gradient assigned to the head
client?

Thanks!
Re: SharedHeaderFormEditor with complex HeadClient and decorateFormHeading [message #327489 is a reply to message #327459] Tue, 22 April 2008 08:32 Go to previous message
Jan Kohnert is currently offline Jan KohnertFriend
Messages: 196
Registered: July 2009
Senior Member
IT seems I have to use a Canvas and paint the desired informations all by
my self. :(
Previous Topic:How to setup data binding for master details page
Next Topic:org.eclipse.core.expressions.propertyTesters
Goto Forum:
  


Current Time: Thu Jun 27 19:33:04 GMT 2024

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

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

Back to the top