Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » org.eclipse.ui.popupMenus + GEF
org.eclipse.ui.popupMenus + GEF [message #187899] Sat, 16 July 2005 21: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 05:45 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7670
Registered: July 2009
Senior Member
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: Sat Sep 21 11:05:01 GMT 2024

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

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

Back to the top