|
|
Re: Rich Client Platform - how to set preferences prgrammatically [message #166277 is a reply to message #166141] |
Fri, 05 December 2003 07:11  |
Eclipse User |
|
|
|
Thanks. I will try that.
"Erwin Gribnau" <e.gribnau@wanadoo.nl> wrote in message
news:bqokbo$q8j$1@eclipse.org...
> The preference page code is in the org.eclipse.ui plugin.
>
> If you use:
> org.eclipse.ui.actions.ActionFactory.PREFERENCES.create(.... )
> you get an action than can start the preference pages.
> You can call run on that action.
>
> I added an action to my menu that calls that action. Works great.
> I also added the standard preference pages for 'Appearance', 'Fonts',
> 'Startup', and 'Keys' to a category I defined. Unfortunately they use
> some 'internal' classes, so no guarantee that they will stay there.
>
> Good Luck,
> Erwin.
>
> Zheng Yi wrote:
> > I am using RCP of version 3M5. SInce it is devoid of any preferences
> > window, how can I set preferences programmatically such as showing the
color
> > on toolbar icons?
> >
> >
>
|
|
|
Powered by
FUDForum. Page generated in 0.04431 seconds