Simple Question - Adding popup menu to SSE [message #232689] |
Wed, 17 June 2009 23:16  |
Eclipse User |
|
|
|
I'm really sorry to ask this simple (dumb) question. I have built a really
complex XML editor using SSE as a basis. I have custom content assist,
hyperlinks and other cool stuff. However, I tried to create a contextual
popup without success. The class is being instantiated and receives
notification by the workbench (selectionChanged and setActiveEditor),
however I can not find where the option in the popup is (and so I can not
trigger the run method).
I have the following extension:
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution
id="it.broadwaysolutions.ui.editor.actions.ExtractView"
targetID="org.eclipse.core.runtime.xml.source.EditorContext ">
<action
class="it.broadwaysolutions.ui.editor.actions.ExtractView"
icon="icons/red_dot.gif"
id=" org.eclipse.ui.articles.action.contribution.editor.xmltextac tion1 "
label="XML Text Editor Action"
/>
</viewerContribution>
</extension>
Can anyone suggest me a strategy in debugging?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04981 seconds