Modifying the perspective bar [message #462670] |
Wed, 31 January 2007 12:28 |
Eclipse User |
|
|
|
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 13:51 |
Patrick Paulin Messages: 44 Registered: July 2009 Location: Madison, Wisconsin |
Member |
|
|
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?
Patrick Paulin
Eclipse RCP/OSGi Trainer and Consultant
Modular Mind, Ltd.
patrick@modumind.com
www.modumind.com
twitter.com/pjpaulin
linkedin.com/in/pjpaulin
|
|
|
Powered by
FUDForum. Page generated in 0.03954 seconds