I'm developing eclipse plugin. When right clicking and chose 'preferences' in my editor plugin it shows the eclipse 'General' tree item with 2 sub tree items - 'Appearance' & 'Editors'. Under 'Editors' there another tree item 'Text Editors' which is selected.
How do I change the behavior to show when right clicking 'preferences' the items which I declared in the plugin.xml as extension point of "org.eclipse.ui.preferencePages" ?
Thanks, Tomer
This depends on what class your editor is derived from. If it is derived from
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor
or one of its many subclasses then you can overridecollectContextMenuPreferencePages
. The default for this is: