[Epsilon] running a EOL operation from Java [message #608176] |
Fri, 26 October 2007 06:27 |
Eclipse User |
|
|
|
Originally posted by: firstname.name.gmail.com
Hello,
For the purpose of a Eclipse Plugin Project development (using UML plugin), I
would like to run some simple model manipulation/transformation from Java. I
read how epsilon may be used for that (Running EOL from Java). I am wondering if
I may call an EOL operation in a similar manner.
For example consider a simple operation such (i am not familiar with the EOL syntax)
operation simpleTransformation add(e : NamedElement, newName: String):Bag(NamedElement) {
e.name = newName
return Bag{e};
}
Is it possible to specify the operation to execute, instead of (with regards to
the runfromjava/Main.java example) module.execute(); and retrieve the return
value.
thanks in advance.
--
F. Lagarde
|
|
|
Powered by
FUDForum. Page generated in 0.02752 seconds