Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Epsilon] running a EOL operation from Java
[Epsilon] running a EOL operation from Java [message #608176] Fri, 26 October 2007 06:27
Eclipse UserFriend
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
Previous Topic:[TCS]:Problem to generate the Extractor.
Next Topic:[Epsilon] running a EOL operation from Java
Goto Forum:
  


Current Time: Thu Nov 27 08:50:07 GMT 2014

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

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