[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] Re: Bridge between Domain Specific Languages (DSLs) and UML profiles

hi again,
on my way home I came up with an idea to refactor my questions in a more expressive manner:


Is it possible to transform a subset of a model to a subset in another model?

Maybe due to providing achors (model elements e.g. a source and target package) to the transformation, one to start from and one to transform to?

Even better, executing a specific transformation providing an anchor would be great then(in contrast to execute all transformations below that achor).

I can imagine that subset-tranformations (if existing) could be very powerful if they're connected with events.

I'm sorry not asking this way before.
-stefan


SKuhn schrieb:
hi folks,

I have a similar use case as described in http://www.eclipse.org/gmt/amw/usecases/umlprofiles/.

In short terms I want to work on an UML Model, translating every DSL-Class to an UML Class with a stereotype of a self-defined UML-profile (lightweight) and back. It should look for my GMF-DSL Editor that he's working on his DSL-Metamodel (described in ecore).

Now I have some concerns using AMW:

1. Is AMW ready for productive use?
2. How can I handle possible data loss for UML Elements that are not representable in MyDSL-MM? I still want to read/write UML Models (or UML conform XMI files) leaving unrecongnized uml-elements unchanged.
3. Is it possible to run the corresponding transformations (EMF) event based? Thereby I could have both models in sync resulting in the option to open Eclipse UML2 editor and my own GMF-DSL-Editor at the same time and work on the same model without versioning conflicts. (optional)


Right now I'm not sure if AMW is the right way. If you want to take a closer look on my set-up / point-of-view, I already described my problem in detail in "Connecting DSL-eCore w/ UML2" at
eclipse.tools.emf as well as
eclipse.modeling.gmt as well as
eclipse.modeling.mdt.uml2tools as well as
eclipse.modeling.mdt.uml2.



Yours sincerly stefan