Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » id of the 'editors' preference node
id of the 'editors' preference node [message #8440] Wed, 25 June 2008 14:55 Go to next message
Eclipse UserFriend
Originally posted by: richardepsilonhughes.gmail.com

I'm adding a new Preferences page to my first plug-in, and I want it to
show up in the Preferences list in the Editors category. I know that I
need to put it in the right category to do this but I don't know what the
category for this should be, and I'm not at all sure how to look this up.

If you don't know the answer, I'd be just as pleased with a suggestion as
to where I can find a listing of the id's of nodes in the Preferences
trees.
Re: id of the 'editors' preference node [message #8501 is a reply to message #8440] Wed, 25 June 2008 16:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Richard Hughes wrote:
> I'm adding a new Preferences page to my first plug-in, and I want it to
> show up in the Preferences list in the Editors category. I know that I
> need to put it in the right category to do this but I don't know what
> the category for this should be, and I'm not at all sure how to look
> this up.
>
> If you don't know the answer, I'd be just as pleased with a suggestion
> as to where I can find a listing of the id's of nodes in the Preferences
> trees.
>

First and foremost, the category ID you want is
"org.eclipse.ui.preferencePages.Editors"

Now, how did I find that?

I opened the Preferences dialog and selected the Editors node. Using the
Plug-in Spy (http://www.eclipse.org/pde/incubator/spy/), I could see
that the dialog page class is
org.eclipse.ui.internal.ide.dialogs.IDEEditorsPreferencePage and the
contributing plugin is org.eclipse.ui.ide, and because I have the full
Eclipse SDK installed it linked right to that plugin.xml file. Once I
was in the editor for that plugin, I looked at the Extensions tab to
find the preference page contribution.

Plug-in spy was the key to the whole process. But even if I didn't have
it, I would probably been able to guess that this particular preferences
page was contributed by org.eclipse.ui.ide. Or, I would have asked on
the eclipse.platform newsgroup ;-)

Hope this helps,
Eric
Re: id of the 'editors' preference node [message #8531 is a reply to message #8501] Wed, 25 June 2008 16:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richardepsilonhughes.gmail.com

I love this newsgroup. Furthermore, I love you. Thank you, Mr. Rizzo.
Re: id of the 'editors' preference node [message #8560 is a reply to message #8531] Thu, 26 June 2008 09:26 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Richard Hughes wrote:
> I love this newsgroup. Furthermore, I love you. Thank you, Mr. Rizzo.
>

Hey, let's not rush things.
:-)

Seriously, I'm glad to help. Hopefully you can do the same for someone
else around here as opportunities present themselves.

Eric
Re: id of the 'editors' preference node [message #570330 is a reply to message #8440] Wed, 25 June 2008 16:23 Go to previous message
Eclipse UserFriend
Richard Hughes wrote:
> I'm adding a new Preferences page to my first plug-in, and I want it to
> show up in the Preferences list in the Editors category. I know that I
> need to put it in the right category to do this but I don't know what
> the category for this should be, and I'm not at all sure how to look
> this up.
>
> If you don't know the answer, I'd be just as pleased with a suggestion
> as to where I can find a listing of the id's of nodes in the Preferences
> trees.
>

First and foremost, the category ID you want is
"org.eclipse.ui.preferencePages.Editors"

Now, how did I find that?

I opened the Preferences dialog and selected the Editors node. Using the
Plug-in Spy (http://www.eclipse.org/pde/incubator/spy/), I could see
that the dialog page class is
org.eclipse.ui.internal.ide.dialogs.IDEEditorsPreferencePage and the
contributing plugin is org.eclipse.ui.ide, and because I have the full
Eclipse SDK installed it linked right to that plugin.xml file. Once I
was in the editor for that plugin, I looked at the Extensions tab to
find the preference page contribution.

Plug-in spy was the key to the whole process. But even if I didn't have
it, I would probably been able to guess that this particular preferences
page was contributed by org.eclipse.ui.ide. Or, I would have asked on
the eclipse.platform newsgroup ;-)

Hope this helps,
Eric
Re: id of the 'editors' preference node [message #570403 is a reply to message #8501] Wed, 25 June 2008 16:29 Go to previous message
Eclipse UserFriend
I love this newsgroup. Furthermore, I love you. Thank you, Mr. Rizzo.
Re: id of the 'editors' preference node [message #570478 is a reply to message #8531] Thu, 26 June 2008 09:26 Go to previous message
Eclipse UserFriend
Richard Hughes wrote:
> I love this newsgroup. Furthermore, I love you. Thank you, Mr. Rizzo.
>

Hey, let's not rush things.
:-)

Seriously, I'm glad to help. Hopefully you can do the same for someone
else around here as opportunities present themselves.

Eric
Previous Topic:Can a plug-in declare editors at runtime?
Next Topic:Headless builds with multiple products
Goto Forum:
  


Current Time: Fri Jul 18 00:43:06 EDT 2025

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

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

Back to the top