Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Popup menu, objectContribution
Popup menu, objectContribution [message #816172] Thu, 08 March 2012 09:06 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 351
Registered: June 2011
Senior Member
Hi,

i am trying to attach popup menu with some object... so in my application GUI, where ever any control backed by specific object is right clicked then popup menu should appear. For example, i have view containg table control which contains hellomenumodel.Test objects.
hellomenutest.Action2 is also added to project but when i right click the table objects then popup menu does not appear...

<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
id="HelloMenuTest.objectContribution1"
objectClass="hellomenumodel.Test">
<action
class="hellomenutest.Action2"
enablesFor="1"
id="HelloMenuTest.action2"
label="test action"
menubarPath="HelloMenuTest.menu2">
</action>
<menu
id="HelloMenuTest.menu2"
label="test menu">
</menu>
</objectContribution>
</extension>

is there anything missing?

cheers,
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:RCP application on network drive (Slow start)
Next Topic:Why "Switch workspace" fail?
Goto Forum:
  


Current Time: Sat May 25 05:50:27 EDT 2013

Powered by FUDForum. Page generated in 0.01606 seconds