Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Fast views
Fast views [message #83315] Thu, 17 April 2008 06:32 Go to next message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
Hi all,

I would like to open a view as a fast view. To do that, I create a view,
add it to org.eclipse.ui.views extensions. In the createInitialLayout
method of my perspective, I wrote:
layout.addFastView("MY_VIEW_ID",0.3f);
layout.addShowViewShortcut("MY_VIEW_ID");
When I launch the application, I obviously do not see my view (because
it's a fast view !). But I do not see any button to call it.

I though that maybe if I create one button by myself with the following
action :
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().showView( "MY_VIEW_ID");
the view will be shown. Indeed it does, but in my main folder and not as a
fast view !

I looked for any method to open a view as a fast view, without success...

Does anyone have a idea to do that ?

Thanks !

Emmanuel
Re: Fast views [message #83398 is a reply to message #83315] Thu, 17 April 2008 07:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

I just checked the workbench code and found out that the fastview
support is completely missing. So it's a bug, that the API has made it
into the current code base. Feel free to file a bug to follow the
progress on this. Note that we are currently porting RAP to the 3.4
codebase. I will have a look whether it is feasible to activate fast
views with it.


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Emmanuel [mailto:emmanuel.marchal@n-side.be]
Bereitgestellt: Donnerstag, 17. April 2008 08:32
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Fast views
Betreff: Fast views


Hi all,

I would like to open a view as a fast view. To do that, I create a view,
add it to org.eclipse.ui.views extensions. In the createInitialLayout
method of my perspective, I wrote:
layout.addFastView("MY_VIEW_ID",0.3f);
layout.addShowViewShortcut("MY_VIEW_ID");
When I launch the application, I obviously do not see my view (because
it's a fast view !). But I do not see any button to call it.

I though that maybe if I create one button by myself with the following
action :
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().sho
wView("MY_VIEW_ID");
the view will be shown. Indeed it does, but in my main folder and not as
a fast view !

I looked for any method to open a view as a fast view, without
success...

Does anyone have a idea to do that ?

Thanks !

Emmanuel
Re: Fast views [message #124679 is a reply to message #83398] Mon, 16 March 2009 10:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bjoern.bjoernfischer.de

Hi Frank,
has there been any progress on FastViews since this posting? I could not
create a FastViewBar to show views as fast view. Will this be added
until the RAP 1.2 release?

Regards,
Björn

Frank Appel schrieb:
> Hi,
>
> I just checked the workbench code and found out that the fastview
> support is completely missing. So it's a bug, that the API has made it
> into the current code base. Feel free to file a bug to follow the
> progress on this. Note that we are currently porting RAP to the 3.4
> codebase. I will have a look whether it is feasible to activate fast
> views with it.
>
>
> Ciao
> Frank
>
> -----Ursprüngliche Nachricht-----
> Von: Emmanuel [mailto:emmanuel.marchal@n-side.be]
> Bereitgestellt: Donnerstag, 17. April 2008 08:32
> Bereitgestellt in: eclipse.technology.rap
> Unterhaltung: Fast views
> Betreff: Fast views
>
>
> Hi all,
>
> I would like to open a view as a fast view. To do that, I create a view,
> add it to org.eclipse.ui.views extensions. In the createInitialLayout
> method of my perspective, I wrote:
> layout.addFastView("MY_VIEW_ID",0.3f);
> layout.addShowViewShortcut("MY_VIEW_ID");
> When I launch the application, I obviously do not see my view (because
> it's a fast view !). But I do not see any button to call it.
>
> I though that maybe if I create one button by myself with the following
> action :
> PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().sho
> wView("MY_VIEW_ID");
> the view will be shown. Indeed it does, but in my main folder and not as
> a fast view !
>
> I looked for any method to open a view as a fast view, without
> success...
>
> Does anyone have a idea to do that ?
>
> Thanks !
>
> Emmanuel
>
Re: Fast views [message #124959 is a reply to message #124679] Mon, 16 March 2009 19:56 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Björn,

I am afraid, fast views still aren't supported and won't make it
into 1.2.

Cheers,
Rüdiger

Björn Fischer wrote:
> Hi Frank,
> has there been any progress on FastViews since this posting? I could not
> create a FastViewBar to show views as fast view. Will this be added
> until the RAP 1.2 release?
>
> Regards,
> Björn
>
> Frank Appel schrieb:
>> Hi,
>>
>> I just checked the workbench code and found out that the fastview
>> support is completely missing. So it's a bug, that the API has made it
>> into the current code base. Feel free to file a bug to follow the
>> progress on this. Note that we are currently porting RAP to the 3.4
>> codebase. I will have a look whether it is feasible to activate fast
>> views with it.
>>
>>
>> Ciao
>> Frank
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Emmanuel [mailto:emmanuel.marchal@n-side.be]
>> Bereitgestellt: Donnerstag, 17. April 2008 08:32
>> Bereitgestellt in: eclipse.technology.rap
>> Unterhaltung: Fast views
>> Betreff: Fast views
>>
>>
>> Hi all,
>>
>> I would like to open a view as a fast view. To do that, I create a view,
>> add it to org.eclipse.ui.views extensions. In the createInitialLayout
>> method of my perspective, I wrote:
>> layout.addFastView("MY_VIEW_ID",0.3f);
>> layout.addShowViewShortcut("MY_VIEW_ID");
>> When I launch the application, I obviously do not see my view (because
>> it's a fast view !). But I do not see any button to call it.
>>
>> I though that maybe if I create one button by myself with the following
>> action :
>> PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().sho
>> wView("MY_VIEW_ID");
>> the view will be shown. Indeed it does, but in my main folder and not as
>> a fast view !
>>
>> I looked for any method to open a view as a fast view, without
>> success...
>>
>> Does anyone have a idea to do that ?
>>
>> Thanks !
>>
>> Emmanuel
>>
Previous Topic:Tableviewer problem
Next Topic:call for load testing tool on Rap
Goto Forum:
  


Current Time: Sat Apr 20 00:09:43 GMT 2024

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

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

Back to the top