Delegates for creating instances of data types [message #687307] |
Sun, 29 May 2011 15:18 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02734 seconds