Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Simple Question - Adding popup menu to SSE
Simple Question - Adding popup menu to SSE [message #232689] Thu, 18 June 2009 03:16 Go to next message
Alessandro Carraro is currently offline Alessandro Carraro
Messages: 27
Registered: July 2009
Junior Member
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?
Re: Simple Question - Adding popup menu to SSE [message #232699 is a reply to message #232689] Thu, 18 June 2009 03:34 Go to previous message
Alessandro Carraro is currently offline Alessandro Carraro
Messages: 27
Registered: July 2009
Junior Member
Ok, never mind. I had mistaken the target, because I was using a custom
content type..!
Previous Topic:Can't get WSDL editor in 3.5RC3?
Next Topic:EJB 2.1 support
Goto Forum:
  


Current Time: Tue Sep 23 10:33:45 GMT 2014

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

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