Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Lifecycle of views
Lifecycle of views [message #35391] Wed, 27 June 2007 11:27 Go to next message
Eclipse UserFriend
Originally posted by: oberhack.softwarefabrik.net

Hi All,

I'm adding a view through
IFolderLayout.addView("id");

This shows up only the Tab of that view.

How can I activate that view programmatically so that it is created and
shown?

Thanks

Andreas
Re: Lifecycle of views [message #35425 is a reply to message #35391] Wed, 27 June 2007 11:44 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi Andreas,

you can easily use showView() of the active WorkbenchPage.

IWorkbench wb = ...
wb.getActiveWorkbenchWindow().getActivePage().showView( id );

See also the first item at
http://wiki.eclipse.org/index.php/Rap10M4_News#RAP_Workbench

Cheers
Benny

Andreas wrote:
> Hi All,
>
> I'm adding a view through
> IFolderLayout.addView("id");
>
> This shows up only the Tab of that view.
>
> How can I activate that view programmatically so that it is created and
> shown?
>
> Thanks
>
> Andreas
>
>
Previous Topic:RAP Coverage
Next Topic:client side validation
Goto Forum:
  


Current Time: Sat Apr 20 00:07:20 GMT 2024

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

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

Back to the top