Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/org.eclipse.papyrus.conversion.di2todi/TransfoQvtoDi2toDi/ElementType.qvto')
-rw-r--r--deprecated/org.eclipse.papyrus.conversion.di2todi/TransfoQvtoDi2toDi/ElementType.qvto25
1 files changed, 25 insertions, 0 deletions
diff --git a/deprecated/org.eclipse.papyrus.conversion.di2todi/TransfoQvtoDi2toDi/ElementType.qvto b/deprecated/org.eclipse.papyrus.conversion.di2todi/TransfoQvtoDi2toDi/ElementType.qvto
new file mode 100644
index 00000000000..b54734ce946
--- /dev/null
+++ b/deprecated/org.eclipse.papyrus.conversion.di2todi/TransfoQvtoDi2toDi/ElementType.qvto
@@ -0,0 +1,25 @@
+--Author Manel Fredj-CEA LIST
+
+library ElementType;
+
+--diagram types in notation (Papyrus MDT -- P2)
+property ClassDiagram_P2 : String = "PapyrusUMLClassDiagram";
+property ProfileDiagram_P2 : String = "PapyrusUMLProfileDiagram";
+property CompositeStructure_P2 : String = "CompositeStructure";
+property ActivityDiagram_P2 : String = "PapyrusUMLActivityDiagram";
+property SequenceDiagram_P2 : String = "PapyrusUMLSequenceDiagram"; --todo: check for papyrus 2 the actual name
+property ComponentDiagram_P2 : String = ""; --todo: check for papyrus 1 the actual name
+property StateMachineDiagram_P2 : String = "PapyrusUMLStateMachineDiagram";
+property UseCaseDiagram_P2 : String = "UseCase";
+
+--diagram types in di2 (Papyrus 1 -- P1)
+property ClassDiagram_P1 : String = "ClassDiagram";
+-- property ProfileDiagram_P1 --no specific diagram in P1 (class diagram), getDiagramType returns code in function of UML model
+property CompositeStructure_P1 : String = "CompositeStructureDiagram";
+property ActivityDiagram_P1 : String = "ActivityDiagram";
+property SequenceDiagram_P1 : String = "SequenceDiagram";
+property ComponentDiagram_P1 : String = "ComponentDiagram";
+property StateMachineDiagram_P1 : String = "StateMachineDiagram";
+property UseCaseDiagram_P1 : String = "UseCaseDiagram";
+-- does not exist in MDT
+-- property DeploymentDiagram_P1 : String = "DeploymentDiagram"; \ No newline at end of file

Back to the top