Skip to main content



      Home
Home » Eclipse Projects » GEF » org.eclipse.ui.popupMenus + GEF
org.eclipse.ui.popupMenus + GEF [message #187899] Sat, 16 July 2005 17:24 Go to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Is there anything special that I need to do with my GEF editor in order
to work with this extension point?

I've used the viewerContribution and successfully got the action to
appear in my context menu for my editor. However, when I do an
objectContribution it doesn't work. I specify the objectClass to be the
editpart in question for the selection.I get nothing... wondering if
anyone has experience with this. (Do I have to do anything special?)

Cheers,

~ Chris
Re: org.eclipse.ui.popupMenus + GEF [message #187945 is a reply to message #187899] Mon, 18 July 2005 01:45 Go to previous message
Eclipse UserFriend
Chris Aniszczyk wrote:
> Is there anything special that I need to do with my GEF editor in order
> to work with this extension point?
>
> I've used the viewerContribution and successfully got the action to
> appear in my context menu for my editor. However, when I do an
> objectContribution it doesn't work. I specify the objectClass to be the
> editpart in question for the selection.I get nothing... wondering if
> anyone has experience with this. (Do I have to do anything special?)
>
> Cheers,
>
> ~ Chris

You need to implement IObjectActionDelegate. Try working forwards from an
example that works. A new PDE plugin project with an example action.

Regards

Ed Willink
Previous Topic:StickyNoteFigure (Comment Box) in the logic example
Next Topic:Modifying GEF examples
Goto Forum:
  


Current Time: Wed Jul 02 19:46:41 EDT 2025

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

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

Back to the top