[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.uml2] Re: guard is lost after import?
|
Xiangpeng,
I tried creating an XMI model based on your snippet and I was able to load
the model into the UML editor and see the body. How are you importing and/or
loading the file?
Kenn
"Zhao Xiangpeng" <zxp@xxxxxxxxxxxxxxx> wrote in message
news:1daa45711587451ddf5334374aded512$1@xxxxxxxxxxxxxxxxxx
> Hi,
> I have used uml2 to import an XMI file which contains a statemachine.
> However, I cannot get the guard body. As I watched in debug mode, I can
> get the guard's name, even the language, but I cannot get the body.
>
> Can anyone explain this to me? Thanks a lot!
>
> This is the xmi code snippet:
> <guard xmi:id="_0QmH-iy_Edu_PcQ4wBPpTQ">
> <specification xmi:type="uml:OpaqueExpression"
> xmi:id="_0QmH-yy_Edu_PcQ4wBPpTQ" body="time>10" language="java"/>
> </guard>
>
> Best,
> Xiangpeng
>