Behavioral features ( state machine) support [message #985914] |
Fri, 16 November 2012 11:44  |
Eclipse User |
|
|
|
Hi all,
I have two models A and B, they are based on two meta models PIMmeta and PSMmeta respectively. The models represents both structural (classes) and behavioral ( state machines) features of UML models. All the models are based on UML using MagicDraw.
The goal is to transform the states in model A to the equivalent states in model B.
After creating the project and linking to the models,and in the the resulted ecore files from the models, only the structural parts(classes) were derived. All the state machines and Activity diagrams were ignored.
how to convert my models to .ecore while preserving the behavioral features?
Thanks in advance,
|
|
|
|
|
|
|
|
|
Re: Behavioral features ( state machine) support [message #986707 is a reply to message #986659] |
Wed, 21 November 2012 06:52   |
Eclipse User |
|
|
|
Hi
If you told me which of many possible tools, approaches and versions you
were using, I might be able to help.
It saves me (and you) a lot of tike if you prepare a small simple zipped
project that demonstrates your best attempt.
Regards
Ed Willink
On 21/11/2012 10:15, Rihab Eltayeb wrote:
> Hi Ed and thank you for the clarifications,
> My understanding of ECore is that it provides a way to describe
> models. It also used for runtime support of models.
> The ECore concept is similar to MOF concept in UML ( particularly EMOF).
>
> You suggest to define PIMmeta:uml , PIMmeta is of type uml which is
> defined by uml.ecore.
> This is fine. I tried that in QVT before and it works.
> You were absolutely right, setup is needed, the question is how?
> Now I want to refer to A:PIMmeta , A is an instance of PIMmeta, I got
> an error that PIMmeta is unkown model type.
> I think the PIMmeta.uml have to be registered too. what do you think?
|
|
|
|
|
|
Re: Behavioral features ( state machine) support [message #987161 is a reply to message #987156] |
Fri, 23 November 2012 17:00  |
Eclipse User |
|
|
|
Hi
Try reading the UML tutorials so that you understand the relationship
between UML2 and EMF and stop make confused statements.
Then look for a UML example to copy for your chosen transformation tool.
Regards
Ed Willink
On 23/11/2012 21:38, Rihab Eltayeb wrote:
> HI,
> Using Medini QVT was an alternative way to solve the problem.
> What I originally did is to create a new modeling project in Eclipse
> Helios,and add my models to it.
> The loss of states prevents me from doing the transformation in Eclipse.
> How to setup EMF to use UML meta models and preserve behaviors
> Please help me in regard to Eclipse.
|
|
|
Powered by
FUDForum. Page generated in 0.04445 seconds