Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Perspective bar programmatically
Perspective bar programmatically [message #330715] Mon, 11 August 2008 15:22 Go to next message
Eclipse UserFriend
Hi,

There is a way to control the perspective bar programmatically?

I saw some options from the config.ini, but just that.

Thanks.

Marcelo
Re: Perspective bar programmatically [message #330747 is a reply to message #330715] Tue, 12 August 2008 10:22 Go to previous messageGo to next message
Eclipse UserFriend
No hints?

"Marcelo Alcantara" <marcelo.alcantara@cshg.com.br> escreveu na mensagem
news:g7q3i9$qlu$1@build.eclipse.org...
> Hi,
>
> There is a way to control the perspective bar programmatically?
>
> I saw some options from the config.ini, but just that.
>
> Thanks.
>
> Marcelo
>
Re: Perspective bar programmatically [message #331170 is a reply to message #330747] Wed, 27 August 2008 10:22 Go to previous messageGo to next message
Eclipse UserFriend
As I could see, the Perspective bar control is very limited.

I decided then, to not use the Perspective bar and use the CoolBar which
gives me more code control.

If somebody has any ideas.

Actually, we are doing using eclipse for our main application platform with
many apps loaded on the workbench as plugins. For the first version, the
idea would be to have one perspective per application.

Marcelo

"Marcelo Alcantara" <marcelo.alcantara@cshg.com.br> escreveu na mensagem
news:g7s6b0$4bo$1@build.eclipse.org...
> No hints?
>
> "Marcelo Alcantara" <marcelo.alcantara@cshg.com.br> escreveu na mensagem
> news:g7q3i9$qlu$1@build.eclipse.org...
>> Hi,
>>
>> There is a way to control the perspective bar programmatically?
>>
>> I saw some options from the config.ini, but just that.
>>
>> Thanks.
>>
>> Marcelo
>>
>
>
Re: Perspective bar programmatically [message #331216 is a reply to message #331170] Thu, 28 August 2008 09:27 Go to previous message
Eclipse UserFriend
Marcelo Alcantara wrote:
> As I could see, the Perspective bar control is very limited.
>
> I decided then, to not use the Perspective bar and use the CoolBar which
> gives me more code control.
>
> If somebody has any ideas.
>
> Actually, we are doing using eclipse for our main application platform with
> many apps loaded on the workbench as plugins. For the first version, the
> idea would be to have one perspective per application.

The perspective bar is solely managed through internals, like the
PerspectiveBarManager. It is possible to create your own toolbar in the
main coolbar in an RCP app that represents the open perspectives. You
could then manage them as you want if the PerspectiveBarManager doesn't
do what you want.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Previous Topic:How can I use inplace editing on singleclick and open a dialog on doubleclick ?
Next Topic:How to programmatically invoke Save All command?
Goto Forum:
  


Current Time: Wed Mar 19 19:40:44 EDT 2025

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

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

Back to the top