Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Show Multiple Perspectives as Tabs in Perspective bar
Show Multiple Perspectives as Tabs in Perspective bar [message #664634] Mon, 11 April 2011 09:29 Go to next message
olivier.abz is currently offline olivier.abz
Messages: 3
Registered: March 2011
Junior Member
Hi everybody,

I am developing an RCP application where I've got two perspectives, each of them having 4 different views.

I would like to have the two perspectives shown as tabs (in what I think is the PerspectiveBar) when the application is started.

At the moment, I've got only the perspective I've set in the WorkbenchAdvisor which is shown in addition to the "Other" button. That button allows me to change between perspectives, but it is not handy for my application.

I know this question has already been asked in the forum, but I cannot figure out how the replies can fix the problem I have.
For example, I do not get how to implement the solution given here: http:// www.eclipse.org/forums/index.php?t=tree&th=74037&S=9 2c2ec7e3166f986f5b512c10dcbee67#page_top

I would appreciate some help on that point. Thanks

Olivier.
Re: Show Multiple Perspectives as Tabs in Perspective bar [message #664693 is a reply to message #664634] Mon, 11 April 2011 11:41 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Is it that you want your app to come up with both perspectives in the
perspective bar? That sounds like PERSPECTIVE_BAR_EXTRAS preference

See http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg36688.html

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Re: Show Multiple Perspectives as Tabs in Perspective bar [message #664700 is a reply to message #664693] Mon, 11 April 2011 12:04 Go to previous messageGo to next message
olivier.abz is currently offline olivier.abz
Messages: 3
Registered: March 2011
Junior Member
Humm,

Thanks for the quick reply.

I looked for such "plugin_customization.ini" file but could not find it for my project. Is it a file created along with a new project? Or am I supposed to create a new one.

I was able to find a "plugin_customization.ini" file on my machine, but I guess it is related to my Eclipse IDE.

Olivier.
Re: Show Multiple Perspectives as Tabs in Perspective bar [message #664720 is a reply to message #664700] Mon, 11 April 2011 12:51 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 04/11/2011 12:04 PM, olivier.abz wrote:
> Humm,
> Thanks for the quick reply.
>
> I looked for such "plugin_customization.ini" file but could not find it
> for my project. Is it a file created along with a new project? Or am I
> supposed to create a new one.

you have to create one for your product if you want to customize prefs.
A search should turn up some examples.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Perspective bar to the left of Coolbar
Next Topic:How to suppress the workspace preference page
Goto Forum:
  


Current Time: Fri Aug 01 12:12:54 EDT 2014

Powered by FUDForum. Page generated in 0.02135 seconds