Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Perspective bar programmatically
Perspective bar programmatically [message #330715] Mon, 11 August 2008 19:22 Go to next message
Marcelo Alcantara is currently offline Marcelo AlcantaraFriend
Messages: 48
Registered: July 2009
Member
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 14:22 Go to previous messageGo to next message
Marcelo Alcantara is currently offline Marcelo AlcantaraFriend
Messages: 48
Registered: July 2009
Member
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 14:22 Go to previous messageGo to next message
Marcelo Alcantara is currently offline Marcelo AlcantaraFriend
Messages: 48
Registered: July 2009
Member
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 13:27 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Sat Jul 27 16:44:25 GMT 2024

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

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

Back to the top