Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Perspective Bar
Perspective Bar [message #638304] Wed, 10 November 2010 18:32 Go to next message
DANIEL  is currently offline DANIEL Friend
Messages: 13
Registered: November 2010
Junior Member
I cannot press on the Open Perspectibe button in the perspective bar. When the mouse is over the button, it's changed to || and I cannot press it.

Did anyone have the same problem? In order to see the perspective bar, you should set "setShowPerspectiveBar(true)".
Re: Perspective Bar [message #638315 is a reply to message #638304] Wed, 10 November 2010 19:23 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Daniel,
could you provide more information? Which version of RAP are you using?
Some code snippet to demonstrate the problem?
Best,
Ivan

On 10.11.2010 8:32 PM, DANIEL wrote:
> I cannot press on the Open Perspectibe button in the perspective bar.
> When the mouse is over the button, it's changed to || and I cannot
> press it.
> Did anyone have the same problem? In order to see the perspective bar,
> you should set "setShowPerspectiveBar(true)".
Re: Perspective Bar [message #638551 is a reply to message #638315] Thu, 11 November 2010 15:49 Go to previous messageGo to next message
DANIEL  is currently offline DANIEL Friend
Messages: 13
Registered: November 2010
Junior Member
I'm using org.eclipse.rap.ui plug-in version 1.3.1.20100915-2301

1. In the preWindowOpen method of the ApplicationWorkbenchWindowAdvisor class set the following:

configurer.setShowPerspectiveBar(true);

2. Defined two perspective classes and put the following lines in both perspectives:

layout.addPerspectiveShortcut(perspectiveId1)
layout.addPerspectiveShortcut(perspectiveId2)
Re: Perspective Bar [message #638561 is a reply to message #638551] Thu, 11 November 2010 16:02 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Daniel,
you have to add only shortcut to the other perspective. See
org.eclipse.rap.demo (Perspective and PlanningPerspective) as an example.
HTH,
Ivan

On 11.11.2010 5:49 PM, DANIEL wrote:
> I'm using org.eclipse.rap.ui plug-in version 1.3.1.20100915-2301
>
> 1. In the preWindowOpen method of the
> ApplicationWorkbenchWindowAdvisor class set the following:
>
> configurer.setShowPerspectiveBar(true);
>
> 2. Defined two perspective classes and put the following lines in both
> perspectives:
>
> layout.addPerspectiveShortcut(perspectiveId1)
> layout.addPerspectiveShortcut(perspectiveId2)
>
Re: Perspective Bar [message #638789 is a reply to message #638561] Fri, 12 November 2010 15:26 Go to previous message
DANIEL  is currently offline DANIEL Friend
Messages: 13
Registered: November 2010
Junior Member
I correct my program so that It adds all the perspectives expect for the current one but it did not solve the problem. I run the rap.demo as suggested and did not have the problem. Then I tried to add the cool bar to my plug-in and the problem solved. So here's the description of the bug:

When setShowCoolBar(false) you cannot press on the open button (+) in the perspective cool bar.

Thanks for everyone for their help.
Previous Topic:default selection listener not called for 'Return' key in a text editor located in a dialog
Next Topic:RAP real applications?
Goto Forum:
  


Current Time: Fri Apr 26 00:58:20 GMT 2024

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

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

Back to the top