Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Programatically create command expressions for evaluation
Programatically create command expressions for evaluation [message #1070851] Thu, 18 July 2013 16:25 Go to next message
Deepshikha Tripathi is currently offline Deepshikha Tripathi
Messages: 1
Registered: July 2013
Junior Member
I have created a custom toolbar programmatically and added few commands to it . I want to leverage core.expressions through code. Is there a way I can achieve this?
Re: Programatically create command expressions for evaluation [message #1071045 is a reply to message #1070851] Fri, 19 July 2013 04:20 Go to previous message
Simon Scholz is currently offline Simon Scholz
Messages: 73
Registered: April 2012
Location: Germany
Member
Hi Deepshikha,

If you want to use program code for evaluation you may use org.eclipse.core.expressions.PropertyTester or an org.eclipse.ui.ISourceProvider.

They are for instance explained here(first google result Smile ):
http://codeandme.blogspot.de/2012/04/source-provider-property-tester-and.html

Best regards,

Simon
Previous Topic:multi user configuration issues with .eclipse configuration folder
Next Topic:Standalone RCP application: missing Bundle
Goto Forum:
  


Current Time: Fri Aug 22 10:00:23 EDT 2014

Powered by FUDForum. Page generated in 0.01479 seconds