[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.mdt.uml2] Re: Cast UML model elements
|
Emilien,
I don't see how this would be possible without creating a new object and
deleting the old one, at least using the current implementation. Support for
dynamic classification is something that's in the works for a future version
of MOF (Meta Object Facility), and I hope to prototype an implementation of
this as part of the MST project (see http://www.eclipse.org/proposals/mst/).
Kenn
"Emilien Perico" <emilien.perico@xxxxxxxxxxxxxx> wrote in message
news:ges5rm$mfc$1@xxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> I would like to replace elements in a model in an automatically way.
> Actually I want to change to type of a model element by another, for
> example:
> In an activity diagram, I want to replace all the callBehaviorActions by
> CallOperationActions.
>
> I try to do it programmatically and I don't want to create a new object
> (and delete the old) but change the type (like a cast) to keep the same
> uuid.
> I don't know if it is possible and I don't find a way.
>
> Thanks,
>
> Emilien Perico