The UML metemodel of Papyrus [message #1027432] |
Tue, 26 March 2013 20:44  |
Eclipse User |
|
|
|
> In my ATL project ,I need use the model of Papyrus (.uml file),
>but I can't find the UML MeteModel of Papyrus .
>I've spent a long time looking for it ,but did not find it .
>Can you tell me where to find or to download the UML MetaModel of Papyrus
>for my ATL project.
> Thank you very much !
> Look forward to your reply !
|
|
|
|
|
|
|
|
|
|
|
|
Re: The UML metemodel of Papyrus [message #1028434 is a reply to message #1028232] |
Thu, 28 March 2013 04:46  |
Eclipse User |
|
|
|
Hi
Please use new subjects lines for new topics.
Please do not ask the same question on multiple newsgroups.
See reply on ATL newsgroup.
Regards
Ed Willink
On 28/03/2013 01:49, yesheng chai wrote:
> Thank you for your reply!
> I hava used Papyrus to draw a simple activity diagram .The code of the
> Activity diagram in .uml file is:
> <?xml version="1.0" encoding="UTF-8"?>
> <uml:Model xmi:version="20110701"
> xmlns:xmi="http://www.omg.org/spec/XMI/20110701"
> xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML"
> xmi:id="_vNMBYJPNEeKDxonErf88qQ" name="model">
> <packagedElement xmi:type="uml:Activity"
> xmi:id="_vNNPgJPNEeKDxonErf88qQ" name="Activity1"
> node="_4gWO0JPNEeKDxonErf88qQ _71K1kJPNEeKDxonErf88qQ
> _-8DuAJPNEeKDxonErf88qQ _LnPAIJPOEeKDxonErf88qQ">
> <edge xmi:type="uml:ControlFlow" xmi:id="_ANKJgJPOEeKDxonErf88qQ"
> name="ControlFlow1" source="_4gWO0JPNEeKDxonErf88qQ"
> target="_71K1kJPNEeKDxonErf88qQ">
> <guard xmi:type="uml:LiteralBoolean" xmi:id="_ANLXoJPOEeKDxonErf88qQ"
> value="true"/>
> <weight xmi:type="uml:LiteralInteger" xmi:id="_ANLXoZPOEeKDxonErf88qQ"/>
> </edge>
> <edge xmi:type="uml:ControlFlow" xmi:id="_BQmjgJPOEeKDxonErf88qQ"
> name="ControlFlow2" source="_LnPAIJPOEeKDxonErf88qQ"
> target="_-8DuAJPNEeKDxonErf88qQ">
> <guard xmi:type="uml:LiteralBoolean" xmi:id="_BQnxoJPOEeKDxonErf88qQ"
> value="true"/>
> <weight xmi:type="uml:LiteralInteger" xmi:id="_BQnxoZPOEeKDxonErf88qQ"/>
> </edge>
> <edge xmi:type="uml:ControlFlow" xmi:id="_PaTpIJPOEeKDxonErf88qQ"
> name="ControlFlow3" source="_71K1kJPNEeKDxonErf88qQ"
> target="_LnPAIJPOEeKDxonErf88qQ">
> <guard xmi:type="uml:LiteralBoolean" xmi:id="_PaUQMJPOEeKDxonErf88qQ"
> value="true"/>
> <weight xmi:type="uml:LiteralInteger" xmi:id="_PaU3QJPOEeKDxonErf88qQ"/>
> </edge>
> <node xmi:type="uml:InitialNode" xmi:id="_4gWO0JPNEeKDxonErf88qQ"
> name="InitialNode1" outgoing="_ANKJgJPOEeKDxonErf88qQ"/>
> <node xmi:type="uml:OpaqueAction" xmi:id="_71K1kJPNEeKDxonErf88qQ"
> name="eat" outgoing="_PaTpIJPOEeKDxonErf88qQ"
> incoming="_ANKJgJPOEeKDxonErf88qQ"/>
> <node xmi:type="uml:ActivityFinalNode"
> xmi:id="_-8DuAJPNEeKDxonErf88qQ" name="ActivityFinalNode1"
> incoming="_BQmjgJPOEeKDxonErf88qQ"/>
> <node xmi:type="uml:OpaqueAction" xmi:id="_LnPAIJPOEeKDxonErf88qQ"
> name="sleep" outgoing="_BQmjgJPOEeKDxonErf88qQ"
> incoming="_PaTpIJPOEeKDxonErf88qQ"/>
> </packagedElement>
> </uml:Model>
> I know that node,edge,weight,and guard in the code are references,but
> I can't find them and their attributes(type ,id ,name ,outgoing and so
> on)in the metemodel of UML.
> I want to use the model file (.uml file )in my ATL project and I also
> want to use the UML metamodel as the metamodel of the generated model
> file(.uml file).
> I want to know that whether my method can work ?
> Look forward to your reply .
|
|
|
Powered by
FUDForum. Page generated in 0.07014 seconds