Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [expressions] how to use custom variable resolvers
[expressions] how to use custom variable resolvers [message #335012] Mon, 16 March 2009 15:55 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 756
Registered: July 2009
Senior Member
I could not find any examples dealing with (custom) variable resolvers.
How are custom variable resolvers implemented and registered to be used in
the evaluation context/service?
Re: [expressions] how to use custom variable resolvers [message #335021 is a reply to message #335012] Mon, 16 March 2009 19:18 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Erdal Karaca wrote:
> I could not find any examples dealing with (custom) variable resolvers.
> How are custom variable resolvers implemented and registered to be used
> in the evaluation context/service?

An evaluation context can be created with an IVariableResolver and used
programmaticly with core expressions. There is no support, however, to
contribute a custom resolver to the IEvaluationService at this time.

I was exploring this for dynamic variables:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248140

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Correct strategy for handling page changes in FormEditor
Next Topic:Which basebuilder to use?
Goto Forum:
  


Current Time: Sat Nov 29 02:48:22 GMT 2014

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

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