Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Context menu
Context menu [message #225272] Sat, 28 October 2006 16:37 Go to next message
Eclipse UserFriend
Originally posted by: martypal2005.gmail.com

Hello everybody. I'm trying to learn GEF. I've figured out a lot of stuff already but I'm kinda stuck on this one thing.

How do I add my own items/actions to the context menu? I see how I can add pre-defined actions but can I also add my own actions?

Also, where do I define which context menu items appear for which figures.

Thanks everyone for this great forum.

Martin.
Re: Context menu [message #225280 is a reply to message #225272] Sun, 29 October 2006 05:46 Go to previous messageGo to next message
Xiang Qinxian is currently offline Xiang QinxianFriend
Messages: 119
Registered: July 2009
Senior Member
在 2006-10-28六的 12:37 -0400,Martin Olsen写道:
> Hello everybody. I'm trying to learn GEF. I've figured out a lot of stuff already but I'm kinda stuck on this one thing.
>
> How do I add my own items/actions to the context menu? I see how I can add pre-defined actions but can I also add my own actions?
>
> Also, where do I define which context menu items appear for which figures..
>
> Thanks everyone for this great forum.
>
> Martin.
Hi,

Logic example have increasement/decreasement actions, can be refered to.
And it is helpful that to write actions of Action, RetargetAction, and
delegate Action in standalone rcp.

Regargs,

Qinxian
Re: Context menu [message #226043 is a reply to message #225280] Sat, 04 November 2006 16:39 Go to previous message
Eclipse UserFriend
Originally posted by: martypal2005.gmail.com

Thanks. I seem to have figured out ways to write my own actions now.
Previous Topic:This command is executed
Next Topic:Logic editor description - Using ContainerPolicy
Goto Forum:
  


Current Time: Thu Oct 28 02:26:19 GMT 2021

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

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

Back to the top