[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.uml2] Re: How can I make a Statemachine be an owned member of a package?
|
Hi James & others
Thank you for your hint. I found it myselft.
StateMachine, UseCase, Actors and other elemts has the method
setPackage(Package value). With this method one can define the owning packge
of such elements.
Regards, Ueli
"James Bruck" <jbruck@xxxxxxxxxx> wrote in message
news:ehqd4h$k6h$1@xxxxxxxxxxxxxxxxxxxx
> Hi Ueli
>
> Try using the getPackagedElements().add() or the
> createPackagedElement(..)
> function
> You should be able to add any PackageableElement in this way.
> StateMachines are PackageableElements.
>
> Cheers,
>
> - James.
>
>