Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions example/workspace/bla.layout.xmi
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xmi="http://www.omg.org/XMI" xmlns:notation="http://www.eclipse.org/glsp/notation">
<elements xsi:type="notation:Shape" id="b4697554-1550-49f5-bc65-f8853aa3a555" semanticElement="nmeta:Class bla.nmeta#//NewClas">
<position x="230" y="130" />
<size width="68.28468704223633" height="31.84415626525879" />
</elements>
</notation:Diagram>
4 changes: 4 additions & 0 deletions example/workspace/bla.nmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<nmeta:Namespace xmi:version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xmi="http://www.omg.org/XMI" xmlns:nmeta="http://nmf.codeplex.com/nmeta/">
<Types xsi:type="nmeta:Class" Name="NewClas" />
</nmeta:Namespace>
25 changes: 16 additions & 9 deletions example/workspace/example.nmeta
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<nmeta:Namespace xmi:version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Uri="about:petriNet" Prefix="pn" Name="petriNets" xmlns:xmi="http://www.omg.org/XMI" xmlns:nmeta="http://nmf.codeplex.com/nmeta/">
<Types xsi:type="nmeta:Class" IdentifierScope="Local" Identifier="#//PetriNet/name" Name="PetriNet">
<References IsContainment="true" ReferenceType="nmeta:Class #//Place" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="places" />
<References IsContainment="true" ReferenceType="nmeta:Class #//Transition" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="transitions" />
<Attributes IsOrdered="true" IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//String" Name="name" />
<nmeta:Namespace xmi:version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Uri="about:petriNet" Prefix="pn" Name="petriNets" Summary="Test" xmlns:xmi="http://www.omg.org/XMI" xmlns:nmeta="http://nmf.codeplex.com/nmeta/">
<Types xsi:type="nmeta:Class" Identifier="#//PetriNet/name" Name="PetriNet">
<References IsContainment="true" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="places" />
<References IsContainment="true" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="transitionsss" />
<References Opposite="#//Testerr/NewReference" ReferenceType="nmeta:Class #//Testerr" Name="Opposite" />
<References IsContainment="true" ReferenceType="nmeta:Class #//Transition" Name="NewReference" />
<Attributes DefaultValue="Da" IsOrdered="true" IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//String" Name="name" />
</Types>
<Types xsi:type="nmeta:Class" IdentifierScope="Local" Identifier="#//Place/name" Name="Place">
<Types xsi:type="nmeta:Class" IdentifierScope="Global" BaseTypes="http://nmf.codeplex.com/nmeta/#//Namespace http://nmf.codeplex.com/nmeta/#//StructuredType http://nmf.codeplex.com/nmeta/#//ReferenceType" Identifier="#//Testerr/name" Name="Testerr" Summary="Summary" Remarks="lk">
<References Opposite="#//Transition/from" ReferenceType="nmeta:Class #//Transition" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="outgoing" />
<References Opposite="#//Transition/to" ReferenceType="nmeta:Class #//Transition" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="incoming" />
<Attributes IsOrdered="true" IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//String" Name="name" />
<References Opposite="#//PetriNet/Opposite" ReferenceType="nmeta:Class #//PetriNet" Name="NewReference" />
<Attributes DefaultValue="" IsOrdered="true" IsUnique="true" LowerBound="1" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//String" Name="name" />
<Attributes DefaultValue="" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//String" Name="NewAttributeee" />
</Types>
<Types xsi:type="nmeta:Class" Name="Transition">
<References Opposite="#//Place/outgoing" ReferenceType="nmeta:Class #//Place" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="from" />
<References Opposite="#//Place/incoming" ReferenceType="nmeta:Class #//Place" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="to" />
<References Opposite="#//Testerr/outgoing" ReferenceType="nmeta:Class #//Testerr" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="from" />
<References Opposite="#//Testerr/incoming" ReferenceType="nmeta:Class #//Testerr" IsOrdered="true" IsUnique="true" UpperBound="-1" Name="to" />
<Attributes IsOrdered="true" IsUnique="true" Type="nmeta:PrimitiveType http://nmf.codeplex.com/nmeta/#//String" Name="input" />
</Types>
<Types xsi:type="nmeta:Class" Name="Test" />
<Types xsi:type="nmeta:Class" Name="NewClass" />
<Types xsi:type="nmeta:Class" Name="NewClass1" />
</nmeta:Namespace>
15 changes: 15 additions & 0 deletions example/workspace/test.layout.xmi
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xmi="http://www.omg.org/XMI" xmlns:notation="http://www.eclipse.org/glsp/notation">
<elements xsi:type="notation:Shape" id="cf14fe1f-0a51-4dac-ae3f-493d0e5f9cfb" semanticElement="nmeta:Class test.nmeta#//Tester">
<position x="-559.0707197189331" y="26.07792186737064" />
<size width="49.85675239562988" height="31.84415626525879" />
</elements>
<elements xsi:type="notation:Shape" id="8646f559-8ddc-46f8-accb-96d71474be55" semanticElement="nmeta:Class test.nmeta#//NewClasss">
<position x="-568.2846870422363" y="-15.922078132629363" />
<size width="73.61767196655273" height="31.84415626525879" />
</elements>
<elements xsi:type="notation:Shape" id="6bedcb3f-b1da-4d6c-9d44-13f50f303017" semanticElement="nmeta:Class test.nmeta#//NewClass">
<position x="300" y="160" />
<size width="68.28468704223633" height="31.84415626525879" />
</elements>
</notation:Diagram>
3 changes: 2 additions & 1 deletion example/workspace/test.nmeta
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<nmeta:Namespace xmi:version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xmi="http://www.omg.org/XMI" xmlns:nmeta="http://nmf.codeplex.com/nmeta/">
<Types xsi:type="nmeta:Class" Name="Tester" />
<Types xsi:type="nmeta:Class" Name="NewClasss" />
<Types xsi:type="nmeta:Class" Name="NewClass" />
<Types xsi:type="nmeta:Class" Name="NewClass1" />
</nmeta:Namespace>
Loading
Loading