Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Delegates for creating instances of data types
Delegates for creating instances of data types [message #687307] Sun, 29 May 2011 15:18
Eclipse UserFriend
Originally posted by:

Hi,

I've been using EMF delegates for some time and they are great for
interactively enriching a model with Javascript or OCL. There is one
thing I miss, however, and that is the ability to create instances of an
EDataType. This should allow creating an instance from a String and
converting it back, using two expressions (or body statements) in
appropriate annotations. This kind of delegate should used by the
standard factory, so you have the choice of either adding the
annotations or generating and implementing the createXXXFromString and
convertXXToString.

If this makes sense, I can try to implement it and submit the code for
review by the EMF team.

Hallvard
Previous Topic:(no subject)
Next Topic:CDO Spring: Some examples?
Goto Forum:
  


Current Time: Wed Sep 18 22:04:40 GMT 2019

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

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

Back to the top