[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 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.



"ubrawand" <ueli.brawand@xxxxxxxxxx> wrote in message
news:ehpjni$6lv$1@xxxxxxxxxxxxxxxxxxxx
> Hi NG
>
> I'm very new to Eclipse UML2 code and I'm working on an UML2 exporter for
> Enterprise Architect. Class diagram works very fine.
>
> How can I add a StateMachine object created by UMLFactory to a package?
> Same for all other objectes not supported by package createOwned.....()
> method.
>
> Thanx for your help.
>
> Ueli
>
>