Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Opening exising preference page via context menu
Opening exising preference page via context menu [message #464256] Wed, 28 February 2007 22:28 Go to next message
Eclipse UserFriend
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 05:15 Go to previous messageGo to next message
Eclipse UserFriend
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 10:51 Go to previous message
Eclipse UserFriend
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: Sun Aug 31 18:41:31 EDT 2025

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

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

Back to the top