Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EWL] Use data from different models/files
[EWL] Use data from different models/files [message #555696] Fri, 27 August 2010 13:07 Go to next message
Rui Carlos  Gonçalves is currently offline Rui Carlos Gonçalves
Messages: 28
Registered: July 2009
Junior Member

I'm using EWL to implement some transformations.
However, to perform a transformation, I need to have access to data that is on a different model/file.
Is this possible? If so, how can I do this?

Thanks.


[Updated on: Fri, 03 September 2010 06:25]

Report message to a moderator

Re: [EWL] Use data from different [message #555719 is a reply to message #555696] Fri, 27 August 2010 15:07 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Loading another model at runtime is not supported out-of-the-box but I
guess you could implement a Java class that does this and then call it
from EWL as demonstrated here:
http://eclipse.org/gmt/epsilon/doc/articles/call-java-from-e psilon/

Please let me know if you need any help with this.

Cheers,
Dimitris

Rui Carlos Gonçalves <rcgoncalves.pt@gmail.com> wrote:
> I'm using EWL to implement some transformations.
> However, to perform a transformation, I need to have access to data
> that is on a different model/file.
> Is this possible? If so, how can I do this?
>
> Thanks.
Re: [EWL] Use data from different [message #556952 is a reply to message #555719] Fri, 03 September 2010 06:38 Go to previous messageGo to next message
Rui Carlos  Gonçalves is currently offline Rui Carlos Gonçalves
Messages: 28
Registered: July 2009
Junior Member

Thanks for your help.
Right now, I'll put everything on the same model. Later I may try your suggestion.

By the way, does ETL allow me to do this, or would I have to use a Java class too?


Re: [EWL] Use data from different [message #556957 is a reply to message #556952] Fri, 03 September 2010 06:55 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Actually, all languages in Epsilon (including EWL) support access to an
arbitrary number of models. However, for EWL there's no out-of-the-box
UI to allow you to load additional models. In ETL you can do this using
the launch configuration dialog ("Models" tab).

Cheers,
Dimitris

Rui Carlos Gonçalves wrote:
> Thanks for your help.
> Right now, I'll put everything on the same model. Later I may try your
> suggestion.
>
> By the way, does ETL allow me to do this, or would I have to use a Java
> class too?
Re: [EWL] Use data from different [message #556959 is a reply to message #556957] Fri, 03 September 2010 07:09 Go to previous messageGo to next message
Rui Carlos  Gonçalves is currently offline Rui Carlos Gonçalves
Messages: 28
Registered: July 2009
Junior Member

That's good news Smile

Thanks again.

Dimitrios Kolovos wrote on Fri, 03 September 2010 05:55
Actually, all languages in Epsilon (including EWL) support access to an
arbitrary number of models. However, for EWL there's no out-of-the-box
UI to allow you to load additional models. In ETL you can do this using
the launch configuration dialog ("Models" tab).

Cheers,
Dimitris



Re: [EWL] Use data from different [message #593415 is a reply to message #555719] Fri, 03 September 2010 06:38 Go to previous messageGo to next message
Rui Carlos  Gonçalves is currently offline Rui Carlos Gonçalves
Messages: 28
Registered: July 2009
Junior Member

Thanks for your help.
Right now, I'll put everything on the same model. Later I may try your suggestion.

By the way, does ETL allow me to do this, or would I have to use a Java class too?
--
http://cs.utexas.edu/~rcg


Re: [EWL] Use data from different [message #593427 is a reply to message #593415] Fri, 03 September 2010 06:55 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Actually, all languages in Epsilon (including EWL) support access to an
arbitrary number of models. However, for EWL there's no out-of-the-box
UI to allow you to load additional models. In ETL you can do this using
the launch configuration dialog ("Models" tab).

Cheers,
Dimitris

Rui Carlos Gonçalves wrote:
> Thanks for your help.
> Right now, I'll put everything on the same model. Later I may try your
> suggestion.
>
> By the way, does ETL allow me to do this, or would I have to use a Java
> class too?
Re: [EWL] Use data from different [message #593438 is a reply to message #556957] Fri, 03 September 2010 07:09 Go to previous message
Rui Carlos  Gonçalves is currently offline Rui Carlos Gonçalves
Messages: 28
Registered: July 2009
Junior Member

That's good news :)

Thanks again.

Dimitrios Kolovos wrote on Fri, 03 September 2010 05:55
> Actually, all languages in Epsilon (including EWL) support access to an
> arbitrary number of models. However, for EWL there's no out-of-the-box
> UI to allow you to load additional models. In ETL you can do this using
> the launch configuration dialog ("Models" tab).
>
> Cheers,
> Dimitris


--
http://cs.utexas.edu/~rcg


Previous Topic:Validation problems.
Next Topic:[EWL/ETL] Model matching
Goto Forum:
  


Current Time: Fri Jul 25 16:56:08 EDT 2014

Powered by FUDForum. Page generated in 0.02139 seconds