Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Override ApplicationWorkbenchWindowAdvisor
Override ApplicationWorkbenchWindowAdvisor [message #448577] Thu, 27 April 2006 05:00 Go to next message
Eclipse UserFriend
Hello

When I override this methods here createWindowContents and
createPageComposite, can I use the methods here regardless?
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setInitialSize(new Point(700, 550));
configurer.setShowCoolBar(true);
configurer.setShowPerspectiveBar(true);
configurer.setShowFastViewBars(true);
configurer.setShowStatusLine(true);

Regards
Imogen
Re: Override ApplicationWorkbenchWindowAdvisor [message #448600 is a reply to message #448577] Thu, 27 April 2006 11:21 Go to previous messageGo to next message
Eclipse UserFriend
as my knowledge No. but if you use them it will not give an error but it will do nothing
Re: Override ApplicationWorkbenchWindowAdvisor [message #448676 is a reply to message #448600] Fri, 28 April 2006 01:14 Go to previous messageGo to next message
Eclipse UserFriend
Yes, that was happened by me. Is there an other way to build a nice color
bar like ibm does in the workplace without losing the ability to use cool
stuff like the the coolbar.
Re: Override ApplicationWorkbenchWindowAdvisor [message #448793 is a reply to message #448676] Tue, 02 May 2006 10:49 Go to previous message
Eclipse UserFriend
Imogen wrote:
> Yes, that was happened by me. Is there an other way to build a nice
> color bar like ibm does in the workplace without losing the ability to
> use cool stuff like the the coolbar.
>
I have overriden the createWindowsContent() method and unfortunately it
seems to me that Eclipse depends on several internal classes to render
some of the content. The TrimLayout, for example, is not available
because it is internal (Looks a bit like Swing's BorderLayout). The
CacheWrapper class is also internal. I am not sure about the
PerspectiveSwitcher, but I think it is also internal and you can't
really use it.

So maybe in a future release some of this classes could be made
public... for now I am extending or remaking the ones I need. As for
banners, I just added some CLabels to have some color bars with icons.
Previous Topic:Erro exporting plugins in Eclipse RC2
Next Topic:Browser not resizing in Dialog
Goto Forum:
  


Current Time: Sun Aug 31 12:45:43 EDT 2025

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

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

Back to the top