Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Opening exising preference page via context menu
Opening exising preference page via context menu [message #464256] Thu, 01 March 2007 03:28 Go to next message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 65
Registered: July 2009
Member
I have RCP application with table and some context menus. I need to open
existing preference page from one of the context menu. Is there an API to
open an preference page rather than going thru Window->Preferences ?


Thanks in advance

--
Shilpa
Re: Opening exising preference page via context menu [message #464264 is a reply to message #464256] Thu, 01 March 2007 10:15 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Shilpa Toraskar wrote:

>I have RCP application with table and some context menus. I need to open
>existing preference page from one of the context menu. Is there an API to
>open an preference page rather than going thru Window->Preferences ?
>
>
PreferencesUtil.createPreferenceDialogOn(...).open();

HTH
Dani

>
>Thanks in advance
>
>--
>Shilpa
>
>
>
>
Re: Opening exising preference page via context menu [message #465224 is a reply to message #464256] Mon, 26 March 2007 14:51 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can also execute the command: org.eclipse.ui.window.preferences It
takes an optional preferencePageId.

Although as Dani pointed out, it just takes the information and
PreferencesUtil.createPreferenceDialogOn(*) :-)

PW


Previous Topic:key binding
Next Topic:Keybinding
Goto Forum:
  


Current Time: Sat Oct 05 16:52:43 GMT 2024

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

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

Back to the top