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 Paul
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 Wenz
Messages: 1595
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:Single-Click-Feature
Goto Forum:
  


Current Time: Tue Sep 23 18:43:17 GMT 2014

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

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