Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » showing a view
showing a view [message #461685] Tue, 27 September 2005 06:31 Go to next message
Eclipse UserFriend
Originally posted by: osipov.appliedtech.ru

how do I show a view if it is not shown?
Re: showing a view [message #461693 is a reply to message #461685] Tue, 27 September 2005 10:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stephan.kolp.arivis.com

Within an Eclipse plugin the following 2 lines work:

IWorkbenchPage page =
UiPlugin.getDefault().getWorkbench().getActiveWorkbenchWindo w().getActivePage();

page.showView(id);

where id is a String containing the id of the view as declared within
the plugin.xml.


Peter Osipov schrieb:
> how do I show a view if it is not shown?
Re: showing a view [message #461712 is a reply to message #461693] Wed, 28 September 2005 06:35 Go to previous message
Eclipse UserFriend
Originally posted by: osipov.appliedtech.ru

Thanks a lot indeed.:-)
Previous Topic:Odd Tree Behaviour
Next Topic:converting Swing JTree to SWT Tree
Goto Forum:
  


Current Time: Tue Dec 12 06:42:15 GMT 2017

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

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