Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Can't get a simple popup menu to work(Popup menu)
Can't get a simple popup menu to work [message #1009310] Thu, 14 February 2013 21:54 Go to next message
Zack Macomber is currently offline Zack Macomber
Messages: 1
Registered: February 2013
Junior Member
I'm using Eclipse PDE Version: 3.6.2.r362_v20110203-7b7mFL2FET3dhHalh1iNZtL. My IDE is IBM Rational® Software Architect for WebSphere Software Version: 8.0.4

I'm trying to get a simple popup menu to work via the Plug-In Project popup menu template. The Eclipse version I've specified when creating a new plugin project is 3.6. I'm using J2SE-1.5 as the Execution Environment. The template I'm using is Plug-in with a popup menu. I changed the label names to use "Hello World".

When I choose "Launch an Eclipse Application", and then right-click on a file, I'm not seeing the submenu I specified. Not sure what else I need to do to get this "dummy" popup menu to work.

Here's my plugin.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
id="HelloWorldPopupMenu.contribution1">
<menu
label="Zacks Submenu"
path="additions"
id="HelloWorldPopupMenu.menu1">
<separator
name="group1">
</separator>
</menu>
<action
label="Hello World!"
class="helloworldpopupmenu.popup.actions.HelloWorld"
menubarPath="HelloWorldPopupMenu.menu1/group1"
enablesFor="1"
id="HelloWorldPopupMenu.newAction">
</action>
</objectContribution>
</extension>
</plugin>
Re: Can't get a simple popup menu to work [message #1377059 is a reply to message #1009310] Fri, 23 May 2014 18:06 Go to previous message
Moodi Zz is currently offline Moodi Zz
Messages: 2
Registered: May 2014
Junior Member
Hi,
I'm facing the same... any hints!
B.R.
Previous Topic:Copy participant for projects?
Next Topic:Export Product failed
Goto Forum:
  


Current Time: Tue Oct 21 13:41:41 GMT 2014

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

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