Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Get the Command id in a PropertyTester
Get the Command id in a PropertyTester [message #1006631] Fri, 01 February 2013 09:29
Simon Scholz is currently offline Simon ScholzFriend
Messages: 73
Registered: April 2012
Location: Germany

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".

Best regards,

Previous Topic:createExecutableExtension with parameters
Next Topic:E4 RCP Part createContents gets executed multiple times
Goto Forum:

Current Time: Mon Dec 06 23:20:10 GMT 2021

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

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

Back to the top