Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Showing properties view
Showing properties view [message #805246] Thu, 23 February 2012 14:43 Go to next message
Ana H is currently offline Ana HFriend
Messages: 7
Registered: February 2012
Junior Member
Hi!

I have a plugin which extends the Eclipse tabbed properties view. I also have some other editor plugins.
In my RCP application I want to show the properties view when a user clicks on a button, in other words to get the same action as Window->Show View->Other->Properties. Can you tell me how can I open the properties view from my plugin code, what is the action I have to invoke?
Re: Showing properties view [message #805959 is a reply to message #805246] Fri, 24 February 2012 10:46 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi Ana,

you can call:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(IPageLayout.ID_PROP_SHEET);
Re: Showing properties view [message #806104 is a reply to message #805959] Fri, 24 February 2012 14:55 Go to previous message
Ana H is currently offline Ana HFriend
Messages: 7
Registered: February 2012
Junior Member
Thank you! It works Razz
Previous Topic:Widget is diposed Exception
Next Topic:Text widget messing up newlines
Goto Forum:
  


Current Time: Thu Mar 28 21:16:36 GMT 2024

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

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

Back to the top