Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Modifying the perspective bar
Modifying the perspective bar [message #462670] Wed, 31 January 2007 07:28 Go to next message
Eclipse UserFriend
Originally posted by: michael.hemmkeppler.gmx.de

Hello!

Hopefully, anyone of you knows a hint for me. I'm working on my first own RCP application and right now I try to adapt the perspective bar to my special requirements. Thus, I wanted to hide the default icon that offers to open "Other" registred perspectives . Moreover I'm looking for a solution to show the necessary perspectives right from the initial start in the perspective bar. Is there a way to handle this?

Thanks for all your answers that so often kept me from trouble... ;-)
Hemmi

P.S. One more question concerning the org.eclipse.ui.perspectiveExtensions in plugin.xml. Every view within a perspective needs IMHO a relative view. But how can I specify a relative for the first view that should be initialized?
Re: Modifying the perspective bar [message #462676 is a reply to message #462670] Wed, 31 January 2007 08:51 Go to previous message
Eclipse UserFriend
Hi Hemmi,

Unfortunately, there's currently no way to configure the perspective bar.
One option would be to turn off the perspective bar and then add something
similar as a custom trim element. Check out the org.eclipse.ui.menus
extension point for details.

As for your second question, the first view can be specified relative to
the editor area. The constant to use is org.eclipse.ui.editorss (yes,
there are two s's).

--- Patrick
patrick@rcpquickstart.com


Michael Hemmkeppler wrote:

> Hello!

> Hopefully, anyone of you knows a hint for me. I'm working on my first own
RCP application and right now I try to adapt the perspective bar to my special
requirements. Thus, I wanted to hide the default icon that offers to open
"Other" registred perspectives . Moreover I'm looking for a solution to show
the necessary perspectives right from the initial start in the perspective
bar. Is there a way to handle this?

> Thanks for all your answers that so often kept me from trouble... ;-)
> Hemmi

> P.S. One more question concerning the org.eclipse.ui.perspectiveExtensions
in plugin.xml. Every view within a perspective needs IMHO a relative view. But
how can I specify a relative for the first view that should be initialized?
Previous Topic:Bundling JRE with RCP Plugin
Next Topic:Using bundled images
Goto Forum:
  


Current Time: Thu Jul 17 11:58:19 EDT 2025

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

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

Back to the top