|Get the Command id in a PropertyTester [message #1006631]
||Fri, 01 February 2013 04:29
|| Simon SSC
Registered: April 2012
I have a org.eclipse.core.expressions.PropertyTester, which makes a test where the commandId is required.
Currently I pass in the CommandId in the Object args, which are passed to the PropertyTester.
Is there maybe an easier(more generic) approach to get the CommandId in the PropertyTester?
Because when I attach a PropertyTester to a Command menuContribution, the commandId is already denoted the die definition of the menuContribution then.
So I wonder, if it could be possible to get the command id without declaring it as an "arg".
Powered by FUDForum
. Page generated in 0.02309 seconds