|
Re: Model transformation with ETL [message #1220448 is a reply to message #1220061] |
Wed, 11 December 2013 19:37 |
|
Hi Serhat,
ETL is designed for model-to-model transformations that create new models from existing ones, and does not provide support for triggering transformations when a certain event happens in a model.
Since it seems simple enough and it is an in-place transformation within the same model, I'd suggest using EWL instead. You could define a wizard that changes the value of the "context" attribute to "Display" and then replaces the TextInput with a LabelField, for instance.
Alternatively, you could manually implement an EMF listener that'd watch for the event and perform the changes that you'd like (possibly by invoking an E*L script). That sounds like quite a bit of work, though.
Best regards,
Antonio
|
|
|
|
Re: Model transformation with ETL [message #1220652 is a reply to message #1220634] |
Thu, 12 December 2013 21:42 |
|
Well, I was suggesting doing both changes with the wizard (the "context" and the "textField" fields), rather than setting up an EMF listener (which would require custom Java code in your GMF-based editor) to invoke the wizard when "context" is changed.
|
|
|
Powered by
FUDForum. Page generated in 0.01478 seconds