Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Preference Page
Preference Page [message #281478] Sun, 20 February 2005 17:02 Go to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi,

I would like to invoke the preference page dialog programmatically
directly from my code instead of selecting it from "Windows >
Preference...."
menu. Could anyone please help on this?

Thanks,
SL
Re: Preference Page [message #281503 is a reply to message #281478] Sun, 20 February 2005 20:05 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You have to call
org.eclipse.ui.actions.ActionFactory.PREFERENCES.create(wind ow).run()

Regards,
Robert


slam wrote:
> Hi,
>
> I would like to invoke the preference page dialog programmatically
> directly from my code instead of selecting it from "Windows >
> Preference...."
> menu. Could anyone please help on this?
>
> Thanks,
> SL
>
>
Re: Preference Page [message #281552 is a reply to message #281503] Mon, 21 February 2005 13:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi Roberts,

It works, thanks.

BTW, is it possible to automatically expand a specific preference tree item
so the user does not have to hunt through the settings?

Best Regards,
slam

"Robert Enyedi" <renyedi@yahoo.com> wrote in message
news:cvbc42$n10$1@www.eclipse.org...
> Hi,
>
> You have to call
> org.eclipse.ui.actions.ActionFactory.PREFERENCES.create(wind ow).run()
>
> Regards,
> Robert
>
>
> slam wrote:
> > Hi,
> >
> > I would like to invoke the preference page dialog programmatically
> > directly from my code instead of selecting it from "Windows >
> > Preference...."
> > menu. Could anyone please help on this?
> >
> > Thanks,
> > SL
> >
> >
Re: Preference Page [message #302931 is a reply to message #281552] Wed, 03 May 2006 04:13 Go to previous message
Eclipse UserFriend
Look here:
http://wiki.eclipse.org/index.php/FAQ_How_do_I_launch_the_pr eference_page_that_belongs_to_my_plug-in%3F

"slam" <jsk_lam@hotmail.com> wrote in message
news:cvdcou$346$1@www.eclipse.org...
> Hi Roberts,
>
> It works, thanks.
>
> BTW, is it possible to automatically expand a specific preference tree
> item
> so the user does not have to hunt through the settings?
>
> Best Regards,
> slam
>
> "Robert Enyedi" <renyedi@yahoo.com> wrote in message
> news:cvbc42$n10$1@www.eclipse.org...
>> Hi,
>>
>> You have to call
>> org.eclipse.ui.actions.ActionFactory.PREFERENCES.create(wind ow).run()
>>
>> Regards,
>> Robert
>>
>>
>> slam wrote:
>> > Hi,
>> >
>> > I would like to invoke the preference page dialog programmatically
>> > directly from my code instead of selecting it from "Windows >
>> > Preference...."
>> > menu. Could anyone please help on this?
>> >
>> > Thanks,
>> > SL
>> >
>> >
>
>
Previous Topic:any short-cut key for collapse all folding?
Next Topic:File icon
Goto Forum:
  


Current Time: Thu Nov 06 14:14:48 EST 2025

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

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

Back to the top