Skip to main content


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,
Solomon
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: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Solomon,

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.

Michael
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: Thu Apr 25 01:25:36 GMT 2024

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

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

Back to the top