Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Creating Custom Action for Context Menu
Creating Custom Action for Context Menu [message #1016162] Tue, 05 March 2013 10:09 Go to next message
Solomon Paul is currently offline Solomon PaulFriend
Messages: 1
Registered: August 2012
Junior Member
Hello All,

We are using CustomAction to run a CustomFeature in the context menu.

I went through the CustomAction class and it looks like there is an internal

commandwrapper to run the feature.

Since , this is an internal class and I cannot use it.

Can you please let me know how I can create my custom action?

Thanks & Regards,
Re: Creating Custom Action for Context Menu [message #1016736 is a reply to message #1016162] Thu, 07 March 2013 13:59 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1887
Registered: July 2009
Location: Walldorf, Germany
Senior Member

in general you will not need to add your own custom action. In order to make
a custom feature available in the context menu you will simply need to
return it in the method getContextMenu in your tool behavior provider.

Previous Topic:Can not find EClass under "EClasses" mentioned in the Update Feature step of the Tutorial
Next Topic:Heads up --- Changes in Graphiti API for Kepler M6
Goto Forum:

Current Time: Mon Apr 23 19:21:38 GMT 2018

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

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