Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to enable/disable the commands(How to enable/disable the commands)
How to enable/disable the commands [message #1047859] Tue, 23 April 2013 19:03 Go to next message
sabrina ing is currently offline sabrina ingFriend
Messages: 39
Registered: February 2013

I'm doing a project using the Plug-in papyrus Marte in eclipse, I add a popup menu

named using commands and Handlers in the view of the Model Explorer when creating a

papyrus Model.

My requirement is how to enable and disable the commands.

I have added two commands to the popup menu. I want to enable and disable the commands like this:

The second command will be disable from the beginning, but when I select the first command, the second one will be enable.

Can you help me please.

If you have some links I would appreciate.

Thanks in advance.
Re: How to enable/disable the commands [message #1049661 is a reply to message #1047859] Fri, 26 April 2013 05:56 Go to previous messageGo to next message
CB Liu is currently offline CB LiuFriend
Messages: 3
Registered: April 2013
Junior Member
I want to do this too! Can anyone help?
Re: How to enable/disable the commands [message #1052481 is a reply to message #1049661] Tue, 30 April 2013 06:14 Go to previous message
Leila A is currently offline Leila AFriend
Messages: 17
Registered: February 2013
Junior Member
It is also my question, can anyone help?
Previous Topic:Include JDT Plugins in RCP
Next Topic:Unhandled event loop exception
Goto Forum:

Current Time: Sun Apr 22 12:54:06 GMT 2018

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

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