diff options
author | Francois Le Fevre | 2016-12-12 12:35:13 +0000 |
---|---|---|
committer | Patrick Tessier | 2017-01-24 09:09:53 +0000 |
commit | c17f31093db8affdbb1514e477a2e59e6830b224 (patch) | |
tree | b8c147a3ffea01c026d105f46070955106607883 | |
parent | 8018f968401e39eb3b2a03ab22391e9a22b369a0 (diff) | |
download | org.eclipse.papyrus-c17f31093db8affdbb1514e477a2e59e6830b224.tar.gz org.eclipse.papyrus-c17f31093db8affdbb1514e477a2e59e6830b224.tar.xz org.eclipse.papyrus-c17f31093db8affdbb1514e477a2e59e6830b224.zip |
Bug 508843 - [Toolsmiths] migrate expansion model into its own plugin
-just moving exapnasion model into its own plugin
-reexporting the different package
-updating manifest.mf with this new plugin
-package renaming with genmodel update
-moving to right bundle version in a manifest.mf
-adding it into its feature
-retrigger after merge conflict resolution
-dispatching class in their own package
Change-Id: If81918a014ca46e67a9e6fb60b1e0bf21c5645ab
Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
218 files changed, 7829 insertions, 6944 deletions
diff --git a/examples/infra/org.eclipse.papyrus.infra.gmfdiag.connectionpoint.preferences/META-INF/MANIFEST.MF b/examples/infra/org.eclipse.papyrus.infra.gmfdiag.connectionpoint.preferences/META-INF/MANIFEST.MF index 7d3cb00aad8..c74728bb048 100644 --- a/examples/infra/org.eclipse.papyrus.infra.gmfdiag.connectionpoint.preferences/META-INF/MANIFEST.MF +++ b/examples/infra/org.eclipse.papyrus.infra.gmfdiag.connectionpoint.preferences/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Bundle-Activator: org.eclipse.papyrus.infra.gmfdiag.connectionpoint.preferences. Bundle-Vendor: %Bundle-Vendor Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.gmfdiag.preferences;bundle-version="1.1.0" Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-ActivationPolicy: lazy diff --git a/examples/others/org.eclipse.papyrus.example.diagram.simplediagram/META-INF/MANIFEST.MF b/examples/others/org.eclipse.papyrus.example.diagram.simplediagram/META-INF/MANIFEST.MF index 4a28a6cedc7..cc045b08a9d 100644 --- a/examples/others/org.eclipse.papyrus.example.diagram.simplediagram/META-INF/MANIFEST.MF +++ b/examples/others/org.eclipse.papyrus.example.diagram.simplediagram/META-INF/MANIFEST.MF @@ -35,7 +35,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gef, org.eclipse.papyrus.extensionpoints.editors, org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport, - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.gmf.tooling.runtime;visibility:=reexport, org.eclipse.gmf.codegen.xtend, org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.1.0", diff --git a/extraplugins/EFFBD/org.eclipse.papyrus.effbd/META-INF/MANIFEST.MF b/extraplugins/EFFBD/org.eclipse.papyrus.effbd/META-INF/MANIFEST.MF index 28ea296cb59..2c4eaa8f83a 100644 --- a/extraplugins/EFFBD/org.eclipse.papyrus.effbd/META-INF/MANIFEST.MF +++ b/extraplugins/EFFBD/org.eclipse.papyrus.effbd/META-INF/MANIFEST.MF @@ -13,7 +13,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.types.core;bundle-version="1.1.0", org.eclipse.papyrus.uml.diagram.common;bundle-version="1.1.0", org.eclipse.papyrus.uml.diagram.composite;bundle-version="1.1.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.gef, org.eclipse.papyrus.infra.gmfdiag.commands, org.eclipse.papyrus.infra.core;bundle-version="1.1.3", diff --git a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool.assistant/META-INF/MANIFEST.MF b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool.assistant/META-INF/MANIFEST.MF index aa339514ef8..84668ba18f2 100644 --- a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool.assistant/META-INF/MANIFEST.MF +++ b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool.assistant/META-INF/MANIFEST.MF @@ -17,7 +17,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.adl4eclipse.profile, org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", org.eclipse.papyrus.uml.diagram.clazz;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.osgi.profile, org.eclipse.core.expressions;bundle-version="3.5.0", org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", diff --git a/extraplugins/bmm/org.eclipse.papyrus.bmm.diagram/META-INF/MANIFEST.MF b/extraplugins/bmm/org.eclipse.papyrus.bmm.diagram/META-INF/MANIFEST.MF index e79a2ea4b18..44f60ff9382 100644 --- a/extraplugins/bmm/org.eclipse.papyrus.bmm.diagram/META-INF/MANIFEST.MF +++ b/extraplugins/bmm/org.eclipse.papyrus.bmm.diagram/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.uml.tools.utils;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.composite;bundle-version="1.2.0",
org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0",
org.eclipse.papyrus.uml.tools;bundle-version="1.2.0",
diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/META-INF/MANIFEST.MF b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/META-INF/MANIFEST.MF index 9614d91e96a..527d3c3d210 100644 --- a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/META-INF/MANIFEST.MF +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/META-INF/MANIFEST.MF @@ -5,7 +5,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.bpmn;bundle-version="0.7.0", org.eclipse.papyrus.bpmn.diagram.common;bundle-version="0.7.0", org.eclipse.papyrus.bpmn.diagram.ui;bundle-version="0.7.0", - org.eclipse.papyrus.uml.diagram.common;bundle-version="0.7.0", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.gmf.runtime.notation.edit, org.eclipse.gmf.runtime.diagram.core, org.eclipse.papyrus.uml.diagram.activity, diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.common/META-INF/MANIFEST.MF b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.common/META-INF/MANIFEST.MF index 5fc43152c06..7c8f9c3864e 100644 --- a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.common/META-INF/MANIFEST.MF +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.common/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Require-Bundle: org.eclipse.papyrus.uml.tools.utils;bundle-version="1.2.0", org.eclipse.papyrus.bpmn;bundle-version="0.7.0", org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.diagram.composite;bundle-version="1.2.0", org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", org.eclipse.papyrus.uml.tools;bundle-version="1.2.0", diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/META-INF/MANIFEST.MF b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/META-INF/MANIFEST.MF index b81b68210ed..7cdb5fa6f11 100644 --- a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/META-INF/MANIFEST.MF +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/META-INF/MANIFEST.MF @@ -5,7 +5,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.bpmn;bundle-version="0.7.0", org.eclipse.papyrus.bpmn.diagram.common;bundle-version="0.7.0", org.eclipse.papyrus.bpmn.diagram.ui;bundle-version="0.7.0", - org.eclipse.papyrus.uml.diagram.common;bundle-version="0.7.0", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.gmf.runtime.notation.edit, org.eclipse.gmf.runtime.diagram.core, org.eclipse.papyrus.uml.diagram.activity, diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram/META-INF/MANIFEST.MF b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram/META-INF/MANIFEST.MF index 2015d4aae88..63bfdea930d 100644 --- a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram/META-INF/MANIFEST.MF +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram/META-INF/MANIFEST.MF @@ -10,7 +10,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.uml.tools.utils;bundle-version="1.2.0", org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.diagram.composite;bundle-version="1.2.0", org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", org.eclipse.papyrus.uml.tools;bundle-version="1.2.0", diff --git a/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.hyperlink/META-INF/MANIFEST.MF b/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.hyperlink/META-INF/MANIFEST.MF index 52fa7225715..2555e8d7db8 100644 --- a/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.hyperlink/META-INF/MANIFEST.MF +++ b/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.hyperlink/META-INF/MANIFEST.MF @@ -17,7 +17,7 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.105.0", 2.0.0)",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="[1.7.0,
2.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
com.google.guava;bundle-version="11.0.0"
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
diff --git a/extraplugins/cdo/org.eclipse.papyrus.cdo.ui/META-INF/MANIFEST.MF b/extraplugins/cdo/org.eclipse.papyrus.cdo.ui/META-INF/MANIFEST.MF index 8344552be2b..210ff3d361e 100644 --- a/extraplugins/cdo/org.eclipse.papyrus.cdo.ui/META-INF/MANIFEST.MF +++ b/extraplugins/cdo/org.eclipse.papyrus.cdo.ui/META-INF/MANIFEST.MF @@ -34,7 +34,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.papyrus.cdo.core;bundle-version="1.2.0";visibility:=reexport,
org.eclipse.emf.cdo.ui;bundle-version="[4.3.0,5.0.0)";visibility:=reexport,
org.eclipse.emf.cdo.explorer.ui;bundle-version="[4.3.0,5.0.0)";visibility:=reexport,
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.emf.cdo.dawn;bundle-version="[2.0.0,3.0.0)",
org.eclipse.emf.cdo.dawn.gmf;bundle-version="[2.1.0,3.0.0)",
org.eclipse.emf.cdo.dawn.ui;bundle-version="[2.0.0,3.0.0)",
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.notation.qvt/META-INF/MANIFEST.MF b/extraplugins/diagram-definition/org.eclipse.papyrus.notation.qvt/META-INF/MANIFEST.MF index 79356085bca..4c3678bdf75 100644 --- a/extraplugins/diagram-definition/org.eclipse.papyrus.notation.qvt/META-INF/MANIFEST.MF +++ b/extraplugins/diagram-definition/org.eclipse.papyrus.notation.qvt/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0
-Require-Bundle: org.eclipse.papyrus.uml.diagram.common;bundle-version="0.7.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="0.7.0"
+Require-Bundle: org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)"
Bundle-Vendor: %providerName
Bundle-Version: 0.7.0.qualifier
Bundle-Name: %pluginName
diff --git a/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate.editor/META-INF/MANIFEST.MF b/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate.editor/META-INF/MANIFEST.MF index 856f969ce45..2eb16832fec 100644 --- a/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate.editor/META-INF/MANIFEST.MF +++ b/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate.editor/META-INF/MANIFEST.MF @@ -15,7 +15,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.6.0",
org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.infra.ui;bundle-version="1.2.0",
org.eclipse.papyrus.infra.core.sashwindows.di;bundle-version="1.2.0"
Export-Package: org.eclipse.papyrus.diagramtemplate.editor,
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.integrationtests/META-INF/MANIFEST.MF b/extraplugins/layers/org.eclipse.papyrus.layers.integrationtests/META-INF/MANIFEST.MF index b6a967b6771..fe353413ba1 100644 --- a/extraplugins/layers/org.eclipse.papyrus.layers.integrationtests/META-INF/MANIFEST.MF +++ b/extraplugins/layers/org.eclipse.papyrus.layers.integrationtests/META-INF/MANIFEST.MF @@ -8,7 +8,7 @@ Require-Bundle: org.eclipse.papyrus.layers.runtime;bundle-version="1.2.0", org.eclipse.papyrus.integrationtests.editor;bundle-version="1.2.0",
org.eclipse.emf.ecore;bundle-version="2.10.0",
org.eclipse.papyrus.infra.core;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0"
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)"
Bundle-Vendor: %providerName
Bundle-Version: 1.2.0.qualifier
Bundle-Name: %pluginName
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.runtime/META-INF/MANIFEST.MF b/extraplugins/layers/org.eclipse.papyrus.layers.runtime/META-INF/MANIFEST.MF index 00c5afc6eb8..ed1640923b9 100644 --- a/extraplugins/layers/org.eclipse.papyrus.layers.runtime/META-INF/MANIFEST.MF +++ b/extraplugins/layers/org.eclipse.papyrus.layers.runtime/META-INF/MANIFEST.MF @@ -5,7 +5,7 @@ Require-Bundle: org.eclipse.core.runtime, org.junit,
org.eclipse.papyrus.infra.core;bundle-version="1.2.0",
org.eclipse.core.resources;bundle-version="3.8.100",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0"
Export-Package: org.eclipse.papyrus.layers.runtime,
org.eclipse.papyrus.layers.runtime.model,
diff --git a/extraplugins/migration/org.eclipse.papyrus.migration.rsa/META-INF/MANIFEST.MF b/extraplugins/migration/org.eclipse.papyrus.migration.rsa/META-INF/MANIFEST.MF index d1a8baae7f3..e5d9c53acce 100644 --- a/extraplugins/migration/org.eclipse.papyrus.migration.rsa/META-INF/MANIFEST.MF +++ b/extraplugins/migration/org.eclipse.papyrus.migration.rsa/META-INF/MANIFEST.MF @@ -24,7 +24,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.core;bundle-version="1.2.0", org.eclipse.papyrus.infra.properties.ui;bundle-version="1.2.0", org.eclipse.papyrus.infra.widgets;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.constraints;bundle-version="1.2.0", org.eclipse.papyrus.infra.services.labelprovider;bundle-version="1.2.0", org.eclipse.swt, diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.blackboxes/META-INF/MANIFEST.MF b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.blackboxes/META-INF/MANIFEST.MF index 266e8c55ee9..a60d586273c 100644 --- a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.blackboxes/META-INF/MANIFEST.MF +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.blackboxes/META-INF/MANIFEST.MF @@ -16,7 +16,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.migration.rhapsody.geometry;bundle-version="0.7.0", org.eclipse.gmf.runtime.draw2d.ui;bundle-version="1.9.0", org.eclipse.draw2d;bundle-version="3.10.100", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="3.0.0" + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)" Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-ActivationPolicy: lazy Bundle-Description: This plugin contains only blackboxes. We don't store them in the QVTO transformations plugin to ease development of them and solve local compilation troubles. diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/META-INF/MANIFEST.MF b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/META-INF/MANIFEST.MF index 5aab2e7143e..8b9434a8a7d 100755 --- a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/META-INF/MANIFEST.MF +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody/META-INF/MANIFEST.MF @@ -31,7 +31,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.migration.rhapsody.metamodel;bundle-version="0.7.0", org.eclipse.gmf.runtime.emf.type.core, org.eclipse.gmf.runtime.diagram.core, - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="3.0.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.core;bundle-version="2.3.0", org.eclipse.papyrus.infra.tools;bundle-version="2.0.100", org.eclipse.papyrus.infra.widgets;bundle-version="3.0.0", diff --git a/extraplugins/refactoring/org.eclipse.papyrus.uml.refactoring.mutation/META-INF/MANIFEST.MF b/extraplugins/refactoring/org.eclipse.papyrus.uml.refactoring.mutation/META-INF/MANIFEST.MF index 683ce845cf2..a5c90152a07 100644 --- a/extraplugins/refactoring/org.eclipse.papyrus.uml.refactoring.mutation/META-INF/MANIFEST.MF +++ b/extraplugins/refactoring/org.eclipse.papyrus.uml.refactoring.mutation/META-INF/MANIFEST.MF @@ -9,7 +9,7 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.107.0", org.eclipse.ltk.core.refactoring;bundle-version="3.6.200", org.eclipse.ltk.ui.refactoring;bundle-version="3.7.200", org.eclipse.uml2.uml;bundle-version="5.1.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.core;bundle-version="1.1.0", org.eclipse.papyrus.infra.services.edit;bundle-version="1.1.0", org.eclipse.papyrus.uml.service.types;bundle-version="2.0.0", diff --git a/extraplugins/revision/org.eclipse.papyrus.revisiontool/META-INF/MANIFEST.MF b/extraplugins/revision/org.eclipse.papyrus.revisiontool/META-INF/MANIFEST.MF index 92442be4432..fe28bbd03e1 100644 --- a/extraplugins/revision/org.eclipse.papyrus.revisiontool/META-INF/MANIFEST.MF +++ b/extraplugins/revision/org.eclipse.papyrus.revisiontool/META-INF/MANIFEST.MF @@ -30,7 +30,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.emf.facet.query.java.core;bundle-version="1.1.0", org.eclipse.gmf.runtime.diagram.ui, org.eclipse.papyrus.uml.diagram.common;bundle-version="1.1.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.1.0", org.eclipse.papyrus.infra.services.edit, org.eclipse.papyrus.infra.ui;bundle-version="1.2.0", diff --git a/extraplugins/tablemigration/org.eclipse.papyrus.infra.emf.nattable.converter/META-INF/MANIFEST.MF b/extraplugins/tablemigration/org.eclipse.papyrus.infra.emf.nattable.converter/META-INF/MANIFEST.MF index 873b30f8949..bcb3d28c249 100644 --- a/extraplugins/tablemigration/org.eclipse.papyrus.infra.emf.nattable.converter/META-INF/MANIFEST.MF +++ b/extraplugins/tablemigration/org.eclipse.papyrus.infra.emf.nattable.converter/META-INF/MANIFEST.MF @@ -13,7 +13,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.emf.type.core,
org.eclipse.papyrus.infra.services.edit;bundle-version="1.2.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.infra.nattable.common;bundle-version="1.2.0"
Bundle-Vendor: %Bundle-Vendor
Bundle-ActivationPolicy: lazy
diff --git a/extraplugins/uml/org.eclipse.papyrus.uml.diagram.dnd.smart/META-INF/MANIFEST.MF b/extraplugins/uml/org.eclipse.papyrus.uml.diagram.dnd.smart/META-INF/MANIFEST.MF index 6a4ed5e164c..98994b91e6a 100644 --- a/extraplugins/uml/org.eclipse.papyrus.uml.diagram.dnd.smart/META-INF/MANIFEST.MF +++ b/extraplugins/uml/org.eclipse.papyrus.uml.diagram.dnd.smart/META-INF/MANIFEST.MF @@ -13,7 +13,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.services.labelprovider;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.composite;bundle-version="1.2.0",
org.eclipse.papyrus.emf.facet.custom.ui;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.infra.services.edit;bundle-version="1.2.0"
Bundle-Vendor: Eclipse Modeling Project
Bundle-ActivationPolicy: lazy
diff --git a/features/papyrus-main-features/org.eclipse.papyrus.infra.gmfdiag.feature/feature.xml b/features/papyrus-main-features/org.eclipse.papyrus.infra.gmfdiag.feature/feature.xml index a5e3c23d571..3d40bc4b929 100644 --- a/features/papyrus-main-features/org.eclipse.papyrus.infra.gmfdiag.feature/feature.xml +++ b/features/papyrus-main-features/org.eclipse.papyrus.infra.gmfdiag.feature/feature.xml @@ -74,6 +74,13 @@ http://www.eclipse.org/legal/epl-v10.html install-size="0" version="0.0.0" unpack="false"/> + + <plugin + id="org.eclipse.papyrus.infra.gmfdiag.expansion" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> <plugin id="org.eclipse.papyrus.infra.gmfdiag.gef" diff --git a/plugins/infra/gmfdiag/expansion/.project b/plugins/infra/gmfdiag/expansion/.project new file mode 100644 index 00000000000..a395bc4115e --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.infra.gmfdiag-expansion</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/META-INF/MANIFEST.MF b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/META-INF/MANIFEST.MF index 05f05a24cdd..bb69710a948 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/META-INF/MANIFEST.MF +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/META-INF/MANIFEST.MF @@ -1,7 +1,10 @@ Manifest-Version: 1.0 -Export-Package: org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider, - org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider -Require-Bundle: org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)";visibility:=reexport, +Export-Package: org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider, + org.eclipse.papyrus.infra.gmfdiag.expansion.provider +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.papyrus.infra.gmfdiag.expansion;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.edit;visibility:=reexport, + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)";visibility:=reexport, org.eclipse.uml2.common.edit;bundle-version="[2.1.0,3.0.0)";visibility:=reexport Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy @@ -10,6 +13,6 @@ Bundle-Version: 2.0.0.qualifier Bundle-Name: %pluginName Bundle-Localization: plugin Bundle-ManifestVersion: 2 -Bundle-Activator: org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin$Implementation +Bundle-Activator: org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin$Implementation Bundle-SymbolicName: org.eclipse.papyrus.infra.gmfdiag.expansion.edit;singleton:=true Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/plugin.xml b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/plugin.xml index 39819444af6..b10e0abfc65 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/plugin.xml +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/plugin.xml @@ -11,7 +11,20 @@ <!-- @generated ExpandModel -->
<factory
uri="http:///expansionmodel.ecore"
- class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider.ExpansionmodelItemProviderAdapterFactory"
+ class="org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpansionmodelItemProviderAdapterFactory"
+ supportedTypes=
+ "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
+ org.eclipse.emf.edit.provider.IStructuredItemContentProvider
+ org.eclipse.emf.edit.provider.ITreeItemContentProvider
+ org.eclipse.emf.edit.provider.IItemLabelProvider
+ org.eclipse.emf.edit.provider.IItemPropertySource"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <!-- @generated Expansion -->
+ <factory
+ uri="http:///expansionmodel.ecore"
+ class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpansionmodelItemProviderAdapterFactory"
supportedTypes=
"org.eclipse.emf.edit.provider.IEditingDomainItemProvider
org.eclipse.emf.edit.provider.IStructuredItemContentProvider
diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/AbstractRepresentationItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/AbstractRepresentationItemProvider.java index 3fcc9bc9033..82ab0a6e7cd 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/AbstractRepresentationItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/AbstractRepresentationItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -32,13 +32,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/DiagramExpansionItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/DiagramExpansionItemProvider.java index 56a2848e3bd..abd8bcb3f93 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/DiagramExpansionItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/DiagramExpansionItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -34,14 +34,14 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelFactory; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelFactory; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/ExpansionmodelItemProviderAdapterFactory.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/ExpansionmodelItemProviderAdapterFactory.java index 1db7f8eddf3..c79a53533f3 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/ExpansionmodelItemProviderAdapterFactory.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/ExpansionmodelItemProviderAdapterFactory.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.ArrayList; import java.util.Collection; @@ -31,7 +31,7 @@ import org.eclipse.emf.edit.provider.INotifyChangedListener; import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelAdapterFactory; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelAdapterFactory; /** * This is the factory that is used to provide the interfaces needed to support Viewers. @@ -82,7 +82,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap } /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -90,7 +90,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap protected RepresentationItemProvider representationItemProvider; /** - * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation}. + * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -105,7 +105,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap } /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -113,7 +113,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap protected RepresentationKindItemProvider representationKindItemProvider; /** - * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind}. + * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -128,7 +128,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap } /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -136,7 +136,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap protected InducedRepresentationItemProvider inducedRepresentationItemProvider; /** - * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation}. + * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -151,7 +151,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap } /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -159,7 +159,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap protected GraphicalElementLibraryItemProvider graphicalElementLibraryItemProvider; /** - * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary}. + * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -174,7 +174,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap } /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -182,7 +182,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap protected UseContextItemProvider useContextItemProvider; /** - * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext}. + * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -197,7 +197,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap } /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -205,7 +205,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap protected GMFT_BasedRepresentationItemProvider gmfT_BasedRepresentationItemProvider; /** - * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation}. + * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -220,7 +220,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap } /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -228,7 +228,7 @@ public class ExpansionmodelItemProviderAdapterFactory extends ExpansionmodelAdap protected DiagramExpansionItemProvider diagramExpansionItemProvider; /** - * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion}. + * This creates an adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/GMFT_BasedRepresentationItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/GMFT_BasedRepresentationItemProvider.java index 0eee9c8b4a0..d15f73ddce8 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/GMFT_BasedRepresentationItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/GMFT_BasedRepresentationItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -24,11 +24,11 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/GraphicalElementLibraryItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/GraphicalElementLibraryItemProvider.java index 557e36546a7..5ed27fec6fe 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/GraphicalElementLibraryItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/GraphicalElementLibraryItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -34,14 +34,14 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelFactory; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelFactory; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/InducedRepresentationItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/InducedRepresentationItemProvider.java index 6ccb4f6f6f1..067f771436c 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/InducedRepresentationItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/InducedRepresentationItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -24,11 +24,11 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/RepresentationItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/RepresentationItemProvider.java index 8ad11e9e2b1..57a9496edac 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/RepresentationItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/RepresentationItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -24,11 +24,11 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/RepresentationKindItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/RepresentationKindItemProvider.java index aff31dd3fc6..a9df21c15e4 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/RepresentationKindItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/RepresentationKindItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -32,13 +32,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/UseContextItemProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/UseContextItemProvider.java index ca07c6d5d26..7321f0d36d1 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/provider/UseContextItemProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/UseContextItemProvider.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; import java.util.Collection; @@ -34,14 +34,14 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelFactory; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelFactory; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin; /** - * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext} object. + * This is the item provider adapter for a {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/ExpandModelEditPlugin.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/provider/ExpandModelEditPlugin.java index 698bc2ab062..fb982fdfb62 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/provider/ExpandModelEditPlugin.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/provider/ExpandModelEditPlugin.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider; +package org.eclipse.papyrus.infra.gmfdiag.expansion.provider; import org.eclipse.emf.common.EMFPlugin; diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/META-INF/MANIFEST.MF b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/META-INF/MANIFEST.MF index 5db3ea3d46d..108d5abe448 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/META-INF/MANIFEST.MF +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/META-INF/MANIFEST.MF @@ -1,7 +1,12 @@ Manifest-Version: 1.0 -Export-Package: org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation, - org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation -Require-Bundle: org.eclipse.papyrus.infra.gmfdiag.expansion.edit;bundle-version="[2.0.0,3.0.0)";visibility:=reexport +Export-Package: org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation, + org.eclipse.papyrus.infra.gmfdiag.expansion.presentation +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.core.resources;visibility:=reexport, + org.eclipse.papyrus.infra.gmfdiag.expansion.edit;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore.xmi;visibility:=reexport, + org.eclipse.emf.edit.ui;visibility:=reexport, + org.eclipse.ui.ide;visibility:=reexport Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy Bundle-ClassPath: . @@ -9,6 +14,6 @@ Bundle-Version: 2.0.0.qualifier Bundle-Name: %pluginName Bundle-Localization: plugin Bundle-ManifestVersion: 2 -Bundle-Activator: org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpandModelEditorPlugin$Implementation +Bundle-Activator: org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpandModelEditorPlugin$Implementation Bundle-SymbolicName: org.eclipse.papyrus.infra.gmfdiag.expansion.editor;singleton:=true Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/icons/full/obj16/ExpansionmodelModelFile.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/icons/full/obj16/ExpansionmodelModelFile.gif Binary files differnew file mode 100644 index 00000000000..c4edfc0c55b --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/icons/full/obj16/ExpansionmodelModelFile.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/plugin.xml b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/plugin.xml index 6e764065750..933a01b677f 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/plugin.xml +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/plugin.xml @@ -15,7 +15,7 @@ <wizard
id="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation.ExpansionmodelModelWizardID"
name="%_UI_ExpansionmodelModelWizard_label"
- class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation.ExpansionmodelModelWizard"
+ class="org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpansionmodelModelWizard"
category="org.eclipse.emf.ecore.Wizard.category.ID"
icon="icons/full/obj16/ExpansionmodelModelFile.gif">
<description>%_UI_ExpansionmodelModelWizard_description</description>
@@ -30,8 +30,35 @@ name="%_UI_ExpansionmodelEditor_label"
icon="icons/full/obj16/ExpansionmodelModelFile.gif"
extensions="expansionmodel"
- class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation.ExpansionmodelEditor"
- contributorClass="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation.ExpansionmodelActionBarContributor">
+ class="org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpansionmodelEditor"
+ contributorClass="org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpansionmodelActionBarContributor">
+ </editor>
+ </extension>
+ <extension point="org.eclipse.ui.newWizards">
+ <!-- @generated Expansion -->
+ <category
+ id="org.eclipse.emf.ecore.Wizard.category.ID"
+ name="%_UI_Wizard_category"/>
+ <wizard
+ id="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpansionmodelModelWizardID"
+ name="%_UI_ExpansionmodelModelWizard_label"
+ class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpansionmodelModelWizard"
+ category="org.eclipse.emf.ecore.Wizard.category.ID"
+ icon="icons/full/obj16/ExpansionmodelModelFile.gif">
+ <description>%_UI_ExpansionmodelModelWizard_description</description>
+ <selection class="org.eclipse.core.resources.IResource"/>
+ </wizard>
+ </extension>
+
+ <extension point="org.eclipse.ui.editors">
+ <!-- @generated Expansion -->
+ <editor
+ id="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpansionmodelEditorID"
+ name="%_UI_ExpansionmodelEditor_label"
+ icon="icons/full/obj16/ExpansionmodelModelFile.gif"
+ extensions="expansionmodel"
+ class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpansionmodelEditor"
+ contributorClass="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpansionmodelActionBarContributor">
</editor>
</extension>
</plugin>
diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/presentation/ExpansionmodelActionBarContributor.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpansionmodelActionBarContributor.java index 6a72bec550f..e27c3a4e71a 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/presentation/ExpansionmodelActionBarContributor.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpansionmodelActionBarContributor.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation; import java.util.ArrayList; import java.util.Collection; @@ -46,7 +46,7 @@ import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.viewers.SelectionChangedEvent; import org.eclipse.jface.viewers.Viewer; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpandModelEditorPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpandModelEditorPlugin; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.PartInitException; @@ -190,7 +190,7 @@ public class ExpansionmodelActionBarContributor public void contributeToMenu(IMenuManager menuManager) { super.contributeToMenu(menuManager); - IMenuManager submenuManager = new MenuManager(ExpandModelEditorPlugin.INSTANCE.getString("_UI_ExpansionmodelEditor_menu"), "org.eclipse.papyrus.infra.gmfdiag.common.expansionmodelMenuID"); + IMenuManager submenuManager = new MenuManager(ExpandModelEditorPlugin.INSTANCE.getString("_UI_ExpansionmodelEditor_menu"), "org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodelMenuID"); menuManager.insertAfter("additions", submenuManager); submenuManager.add(new Separator("settings")); submenuManager.add(new Separator("actions")); diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/presentation/ExpansionmodelEditor.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpansionmodelEditor.java index a1172a29791..52dd6de77b1 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/presentation/ExpansionmodelEditor.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpansionmodelEditor.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation; import java.io.IOException; @@ -164,9 +164,9 @@ import org.eclipse.emf.edit.ui.util.EditUIUtil; import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.provider.ExpansionmodelItemProviderAdapterFactory; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpansionmodelItemProviderAdapterFactory; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpandModelEditorPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpandModelEditorPlugin; import org.eclipse.ui.actions.WorkspaceModifyOperation; diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/presentation/ExpansionmodelModelWizard.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpansionmodelModelWizard.java index 895c10beaa2..803395668c6 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/presentation/ExpansionmodelModelWizard.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpansionmodelModelWizard.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.presentation; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation; import java.util.ArrayList; @@ -79,9 +79,9 @@ import org.eclipse.ui.dialogs.WizardNewFileCreationPage; import org.eclipse.ui.part.FileEditorInput; import org.eclipse.ui.part.ISetSelectionTarget; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelFactory; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelFactory; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin; import org.eclipse.core.runtime.Path; @@ -89,7 +89,7 @@ import org.eclipse.core.runtime.Path; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.StructuredSelection; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpandModelEditorPlugin; +import org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpandModelEditorPlugin; import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPart; @@ -407,8 +407,7 @@ public class ExpansionmodelModelWizard extends Wizard implements INewWizard { * @generated */ public void createControl(Composite parent) { - Composite composite = new Composite(parent, SWT.NONE); - { + Composite composite = new Composite(parent, SWT.NONE); { GridLayout layout = new GridLayout(); layout.numColumns = 1; layout.verticalSpacing = 12; diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpandModelEditorPlugin.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/presentation/ExpandModelEditorPlugin.java index 3b3fc1bc7b9..5cd425c6cea 100644 --- a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/presentation/ExpandModelEditorPlugin.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/presentation/ExpandModelEditorPlugin.java @@ -10,7 +10,7 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation; +package org.eclipse.papyrus.infra.gmfdiag.expansion.presentation; import org.eclipse.emf.common.EMFPlugin; diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.classpath b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.classpath new file mode 100644 index 00000000000..3cbd2ed09e1 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.classpath @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src-gen"/> + <classpathentry kind="src" path="src/main/java"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.project b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.project new file mode 100644 index 00000000000..82c6b85bc89 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.project @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.infra.gmfdiag.expansion</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.oomph.version.VersionBuilder</name> + <arguments> + <dictionary> + <key>check.maven.pom</key> + <value>true</value> + </dictionary> + <dictionary> + <key>ignore.lower.bound.dependency.ranges</key> + <value>true</value> + </dictionary> + <dictionary> + <key>release.path</key> + <value>/org.eclipse.papyrus.releng.main.release/release.xml</value> + </dictionary> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.oomph.version.VersionNature</nature> + <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> + </natures> +</projectDescription> diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.jdt.core.prefs b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000000..4d72ad12656 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,288 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=260 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=false +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=260 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=5 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.jdt.ui.prefs b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 00000000000..954281dbc31 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,68 @@ +cleanup.add_default_serial_version_id=true +cleanup.add_generated_serial_version_id=false +cleanup.add_missing_annotations=true +cleanup.add_missing_deprecated_annotations=true +cleanup.add_missing_methods=false +cleanup.add_missing_nls_tags=false +cleanup.add_missing_override_annotations=true +cleanup.add_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=false +cleanup.always_use_blocks=true +cleanup.always_use_parentheses_in_expressions=false +cleanup.always_use_this_for_non_static_field_access=false +cleanup.always_use_this_for_non_static_method_access=false +cleanup.convert_functional_interfaces=false +cleanup.convert_to_enhanced_for_loop=false +cleanup.correct_indentation=false +cleanup.format_source_code=false +cleanup.format_source_code_changes_only=false +cleanup.insert_inferred_type_arguments=false +cleanup.make_local_variable_final=true +cleanup.make_parameters_final=false +cleanup.make_private_fields_final=true +cleanup.make_type_abstract_if_missing_method=false +cleanup.make_variable_declarations_final=false +cleanup.never_use_blocks=false +cleanup.never_use_parentheses_in_expressions=true +cleanup.organize_imports=false +cleanup.qualify_static_field_accesses_with_declaring_class=false +cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +cleanup.qualify_static_member_accesses_with_declaring_class=true +cleanup.qualify_static_method_accesses_with_declaring_class=false +cleanup.remove_private_constructors=true +cleanup.remove_redundant_type_arguments=true +cleanup.remove_trailing_whitespaces=true +cleanup.remove_trailing_whitespaces_all=true +cleanup.remove_trailing_whitespaces_ignore_empty=false +cleanup.remove_unnecessary_casts=true +cleanup.remove_unnecessary_nls_tags=true +cleanup.remove_unused_imports=true +cleanup.remove_unused_local_variables=false +cleanup.remove_unused_private_fields=true +cleanup.remove_unused_private_members=false +cleanup.remove_unused_private_methods=true +cleanup.remove_unused_private_types=true +cleanup.sort_members=false +cleanup.sort_members_all=false +cleanup.use_anonymous_class_creation=false +cleanup.use_blocks=true +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_lambda=true +cleanup.use_parentheses_in_expressions=false +cleanup.use_this_for_non_static_field_access=false +cleanup.use_this_for_non_static_field_access_only_if_necessary=true +cleanup.use_this_for_non_static_method_access=false +cleanup.use_this_for_non_static_method_access_only_if_necessary=true +cleanup.use_type_arguments=false +cleanup_profile=_Papyrus +cleanup_settings_version=2 +eclipse.preferences.version=1 +formatter_profile=_Papyrus +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=java;javax;org;com; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n * CEA LIST - Initial API and implementation\n * \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates> diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.pde.api.tools.prefs b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.pde.api.tools.prefs new file mode 100644 index 00000000000..23fb95e120f --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/.settings/org.eclipse.pde.api.tools.prefs @@ -0,0 +1,98 @@ +ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error +ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error +API_USE_SCAN_FIELD_SEVERITY=Error +API_USE_SCAN_METHOD_SEVERITY=Error +API_USE_SCAN_TYPE_SEVERITY=Error +CLASS_ELEMENT_TYPE_ADDED_METHOD=Error +CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error +CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error +CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error +CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error +ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error +ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error +ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +FIELD_ELEMENT_TYPE_ADDED_VALUE=Error +FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error +FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error +FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error +FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error +ILLEGAL_EXTEND=Warning +ILLEGAL_IMPLEMENT=Warning +ILLEGAL_INSTANTIATE=Warning +ILLEGAL_OVERRIDE=Warning +ILLEGAL_REFERENCE=Warning +INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Ignore +INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error +INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error +INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +INVALID_ANNOTATION=Ignore +INVALID_JAVADOC_TAG=Ignore +INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore +LEAK_EXTEND=Warning +LEAK_FIELD_DECL=Warning +LEAK_IMPLEMENT=Warning +LEAK_METHOD_PARAM=Warning +LEAK_METHOD_RETURN_TYPE=Warning +METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error +METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +MISSING_EE_DESCRIPTIONS=Error +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error +UNUSED_PROBLEM_FILTERS=Warning +automatically_removed_unused_problem_filters=Enabled +eclipse.preferences.version=1 +incompatible_api_component_version=Error +incompatible_api_component_version_include_major_without_breaking_change=Disabled +incompatible_api_component_version_include_minor_without_api_change=Disabled +invalid_since_tag_version=Error +malformed_since_tag=Error +missing_since_tag=Warning +report_api_breakage_when_major_version_incremented=Disabled +report_resolution_errors_api_component=Warning diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/META-INF/MANIFEST.MF b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/META-INF/MANIFEST.MF new file mode 100644 index 00000000000..9865cc01496 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/META-INF/MANIFEST.MF @@ -0,0 +1,22 @@ +Manifest-Version: 1.0 +Export-Package: org.eclipse.papyrus.infra.gmfdiag.expansion, + org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel, + org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl, + org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers, + org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering, + org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util +Require-Bundle: org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)";visibility:=reexport, + org.eclipse.uml2.common.edit;bundle-version="[2.1.0,3.0.0)";visibility:=reexport, + org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.emf.ecore.xmi;visibility:=reexport +Bundle-Vendor: %providerName +Bundle-ActivationPolicy: lazy +Bundle-ClassPath: . +Bundle-Version: 2.0.0.qualifier +Bundle-Name: %pluginName +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Bundle-Activator: org.eclipse.papyrus.infra.gmfdiag.expansion.Activator +Bundle-SymbolicName: org.eclipse.papyrus.infra.gmfdiag.expansion;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/about.html b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/about.html new file mode 100644 index 00000000000..209103075a7 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>November 14, 2008</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, "Program" will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party ("Redistributor") and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
\ No newline at end of file diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/build.properties b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/build.properties new file mode 100644 index 00000000000..36c50308bd0 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/build.properties @@ -0,0 +1,20 @@ +# Copyright (c) 2015 CEA LIST.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# CEA LIST - Initial API and implementation
+#
+
+bin.includes = .,\
+ src/main/resources/models/,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties
+jars.compile.order = .
+source.. = src/main/java/,\
+ src-gen/
+output.. = target/classes/
diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_Compartment.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_Compartment.gif Binary files differnew file mode 100644 index 00000000000..561bc08cff3 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_Compartment.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_Compartments.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_Compartments.gif Binary files differnew file mode 100644 index 00000000000..61e5d4d4826 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_Compartments.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_InducedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_InducedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..8fec2342fa9 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateCompartmentLibrary_compartments_InducedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_CompartmentLibrary.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_CompartmentLibrary.gif Binary files differnew file mode 100644 index 00000000000..0ccdfdc5f88 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_CompartmentLibrary.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_GraphicalElementLibrary.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_GraphicalElementLibrary.gif Binary files differnew file mode 100644 index 00000000000..a7fc0fce82d --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_GraphicalElementLibrary.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_Library.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_Library.gif Binary files differnew file mode 100644 index 00000000000..2120258b595 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_Library.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_RepresentationLibrary.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_RepresentationLibrary.gif Binary files differnew file mode 100644 index 00000000000..0c81e8e0889 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_libraries_RepresentationLibrary.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_usages_UseContext.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_usages_UseContext.gif Binary files differnew file mode 100644 index 00000000000..d7c738ef53b --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateDiagramExpansion_usages_UseContext.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representationkinds_RepresentationKind.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representationkinds_RepresentationKind.gif Binary files differnew file mode 100644 index 00000000000..22ebacc29e3 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representationkinds_RepresentationKind.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_GMFT_BasedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_GMFT_BasedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..c0d8f24198b --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_GMFT_BasedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_InducedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_InducedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..86d913ac412 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_InducedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_Representation.gif Binary files differnew file mode 100644 index 00000000000..a02e79c4959 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateGraphicalElementLibrary_representations_Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representationkinds_RepresentationKind.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representationkinds_RepresentationKind.gif Binary files differnew file mode 100644 index 00000000000..09963007a57 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representationkinds_RepresentationKind.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_GMFT_Based_Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_GMFT_Based_Representation.gif Binary files differnew file mode 100644 index 00000000000..55993902052 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_GMFT_Based_Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_InducedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_InducedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..c2b3c0fe329 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_InducedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_Representation.gif Binary files differnew file mode 100644 index 00000000000..c05a4184968 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateLibrary_representations_Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_GMFT_Based_Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_GMFT_Based_Representation.gif Binary files differnew file mode 100644 index 00000000000..b29986ed49f --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_GMFT_Based_Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_GmftBasedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_GmftBasedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..1aa8543afec --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_GmftBasedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_Representation.gif Binary files differnew file mode 100644 index 00000000000..15a02fb1e7e --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateRepresentationLibrary_representations_Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_GmftRepresentations_GMFT_Based_Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_GmftRepresentations_GMFT_Based_Representation.gif Binary files differnew file mode 100644 index 00000000000..5ef0e324111 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_GmftRepresentations_GMFT_Based_Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_gmftRepresentations_GMFT_BasedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_gmftRepresentations_GMFT_BasedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..fdabbc265f7 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_gmftRepresentations_GMFT_BasedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_gmftRepresentations_GmftBasedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_gmftRepresentations_GmftBasedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..a8d9588da75 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/ctool16/CreateUseContext_gmftRepresentations_GmftBasedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Compartment.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Compartment.gif Binary files differnew file mode 100644 index 00000000000..33854e98c25 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Compartment.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/CompartmentKind.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/CompartmentKind.gif Binary files differnew file mode 100644 index 00000000000..338fb8d9a72 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/CompartmentKind.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/CompartmentLibrary.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/CompartmentLibrary.gif Binary files differnew file mode 100644 index 00000000000..be22463d291 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/CompartmentLibrary.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Compartments.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Compartments.gif Binary files differnew file mode 100644 index 00000000000..7c2aaac84ee --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Compartments.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/DiagramExpansion.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/DiagramExpansion.gif Binary files differnew file mode 100644 index 00000000000..33a997a1606 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/DiagramExpansion.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GMFT_BasedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GMFT_BasedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..739ebbfa6ac --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GMFT_BasedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GMFT_Based_Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GMFT_Based_Representation.gif Binary files differnew file mode 100644 index 00000000000..7bac4fd3808 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GMFT_Based_Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GmftBasedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GmftBasedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..b1f8afa4766 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GmftBasedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GraphicalElementLibrary.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GraphicalElementLibrary.gif Binary files differnew file mode 100644 index 00000000000..94c953e013b --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/GraphicalElementLibrary.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/InducedRepresentation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/InducedRepresentation.gif Binary files differnew file mode 100644 index 00000000000..c8d381f0b32 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/InducedRepresentation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Library.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Library.gif Binary files differnew file mode 100644 index 00000000000..739ebbfa6ac --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Library.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Representation.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Representation.gif Binary files differnew file mode 100644 index 00000000000..106881e5d9b --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/Representation.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/RepresentationKind.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/RepresentationKind.gif Binary files differnew file mode 100644 index 00000000000..94c953e013b --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/RepresentationKind.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/RepresentationLibrary.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/RepresentationLibrary.gif Binary files differnew file mode 100644 index 00000000000..8a5c70cbd74 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/RepresentationLibrary.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/UseContext.gif b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/UseContext.gif Binary files differnew file mode 100644 index 00000000000..134551bff7e --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/icons/full/obj16/UseContext.gif diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/plugin.properties b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/plugin.properties new file mode 100644 index 00000000000..d4a5fbc02cd --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/plugin.properties @@ -0,0 +1,104 @@ +#
+
+pluginName = ExpansionModel Edit Support
+providerName =Eclipse Modeling Project
+
+_UI_CreateChild_text = {0}
+_UI_CreateChild_text2 = {1} {0}
+_UI_CreateChild_text3 = {1}
+_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
+_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
+_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
+
+_UI_PropertyDescriptor_description = The {0} of the {1}
+
+_UI_Representation_type = Representation
+_UI_Compartments_type = Compartments
+_UI_RepresentationLibrary_type = Representation Library
+_UI_Library_type = Library
+_UI_CompartmentLibrary_type = Compartment Library
+_UI_UseContext_type = Use Context
+_UI_DiagramExpansion_type = Diagram Expansion
+_UI_Unknown_type = Object
+
+_UI_Unknown_datatype= Value
+
+_UI_Representation_editPartQualifiedName_feature = Edit Part Qualified Name
+_UI_Representation_kind_feature = Kind
+_UI_Representation_graphicalElementType_feature = Graphical Element Type
+_UI_Representation_compartments_feature = Compartments
+_UI_Representation_reusedId_feature = Reused Id
+_UI_Compartments_hint_feature = Hint
+_UI_Compartments_children_feature = Children
+_UI_Compartments_kind_feature = Kind
+_UI_Library_name_feature = Name
+_UI_CompartmentLibrary_compartments_feature = Compartments
+_UI_UseContext_diagramType_feature = Diagram Type
+_UI_UseContext_representations_feature = Representations
+_UI_UseContext_name_feature = Name
+_UI_DiagramExpansion_usages_feature = Usages
+_UI_DiagramExpansion_libraries_feature = Libraries
+_UI_Unknown_feature = Unspecified
+
+_UI_RepresentationKind_shape_literal = shape
+_UI_RepresentationKind_label_literal = label
+_UI_RepresentationKind_link_literal = link
+_UI_RepresentationKind_borderItem_literal = borderItem
+_UI_RepresentationKind_borderItemLabel_literal = borderItemLabel
+_UI_RepresentationKind_custom_literal = custom
+_UI_CompartmentKind_list_literal = list
+_UI_CompartmentKind_xy_literal = xy
+_UI_RepresentationLibrary_representations_feature = Representations
+_UI_Representation_name_feature = Name
+_UI_Compartments_name_feature = Name
+_UI_Compartments_editPartQualifiedName_feature = Edit Part Qualified Name
+_UI_GmftBasedRepresentation_type = Gmft Based Representation
+_UI_UseContext_gmftRepresentations_feature = Gmft Representations
+_UI_GmftBasedRepresentation_reusedId_feature = Reused Id
+_UI_Representation_viewFactory_feature = View Factory
+_UI_GMFT_Based_Representation_type = GMFT Based Representation
+_UI_UseContext_DiagramType_feature = Diagram Type
+_UI_UseContext_GmftRepresentations_feature = Gmft Representations
+_UI_GMFT_Based_Representation_reusedID_feature = Reused ID
+_UI_RepresentationKind_Shape_literal = Shape
+_UI_RepresentationKind_Label_literal = Label
+_UI_RepresentationKind_Link_literal = Link
+_UI_RepresentationKind_BorderItem_literal = BorderItem
+_UI_RepresentationKind_BorderItemLabel_literal = BorderItemLabel
+_UI_RepresentationKind_Custom_literal = Custom
+_UI_CompartmentKind_XY_literal = XY
+_UI_RepresentationKind_type = Representation Kind
+_UI_Compartment_type = Compartment
+_UI_CompartmentKind_type = Compartment Kind
+_UI_RepresentationKind_editPartQualifiedName_feature = Edit Part Qualified Name
+_UI_Compartment_hint_feature = Hint
+_UI_Compartment_children_feature = Children
+_UI_Compartment_kind_feature = Kind
+_UI_Compartment_name_feature = Name
+_UI_Compartment_editPartQualifiedName_feature = Edit Part Qualified Name
+_UI_CompartmentKind_editPartQualifiedName_feature = Edit Part Qualified Name
+_UI_Library_representationkinds_feature = Representationkinds
+_UI_RepresentationKind_name_feature = Name
+_UI_Representation_subRepresentations_feature = Sub Representations
+_UI_AbstractRepresentation_type = Abstract Representation
+_UI_InducedRepresentation_type = Induced Representation
+_UI_AbstractRepresentation_editPartQualifiedName_feature = Edit Part Qualified Name
+_UI_AbstractRepresentation_kind_feature = Kind
+_UI_AbstractRepresentation_name_feature = Name
+_UI_InducedRepresentation_hint_feature = Hint
+_UI_InducedRepresentation_children_feature = Children
+_UI_Representation_inducedRepresentations_feature = Induced Representations
+_UI_AbstractRepresentation_viewFactory_feature = View Factory
+_UI_RepresentationKind_viewFactory_feature = View Factory
+_UI_Library_representations_feature = Representations
+_UI_GraphicalElementLibrary_type = Graphical Element Library
+_UI_GMFT_BasedRepresentation_type = GMFT Based Representation
+_UI_GraphicalElementLibrary_name_feature = Name
+_UI_GraphicalElementLibrary_representationkinds_feature = Representationkinds
+_UI_GraphicalElementLibrary_representations_feature = Representations
+_UI_GMFT_BasedRepresentation_reusedID_feature = Reused ID
+_UI_DiagramExpansion_ID_feature = ID
+_UI_AbstractRepresentation_description_feature = Description
+_UI_GraphicalElementLibrary_description_feature = Description
+_UI_UseContext_description_feature = Description
+_UI_DiagramExpansion_description_feature = Description
diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/plugin.xml b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/plugin.xml new file mode 100644 index 00000000000..d4f42e49417 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/plugin.xml @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> + +<!-- + Copyright (c) 2015 CEA LIST. + + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + CEA LIST - Initial API and implementation + +--> + +<plugin> + + <extension point="org.eclipse.emf.ecore.extension_parser"> + <!-- @generated ExpansionModel --> + <parser + type="expansionmodel" + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelResourceFactoryImpl"/> + </extension> + + <extension + point="org.eclipse.gmf.runtime.diagram.core.viewProviders"> + <viewProvider + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandViewProvider"> + <Priority + name="Low"> + </Priority> + </viewProvider> + </extension> + + + <extension point="org.eclipse.emf.ecore.extension_parser"> + <!-- @generated NOT ExpandModel --> + <parser + type="expansionmodel" + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.CustomExpansionmodelResourceFactory"/> + </extension> + + <extension + point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders"> + <editpartProvider + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandEditPartProvider"> + <Priority + name="Lowest"> + </Priority> + </editpartProvider> + </extension> + <extension + point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders"> + <editpolicyProvider + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.InducedRepresentationPolicyProvider"> + <Priority + name="Lowest"> + </Priority> + </editpolicyProvider> + </extension> + <extension + point="org.eclipse.emf.ecore.factory_override"> + <factory + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.CustomExpansionmodelFactoryImpl" + uri="http:///expansionmodel.ecore"> + </factory> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated Expansion --> + <package + uri="http:///expansionmodel.ecore" + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage" + genModel="src/main/resources/models/ExpansionModel.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.extension_parser"> + <!-- @generated Expansion --> + <parser + type="expansionmodel" + class="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelResourceFactoryImpl"/> + </extension> +</plugin> diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/pom.xml b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/pom.xml new file mode 100644 index 00000000000..40bc46b9411 --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/pom.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus</groupId> + <artifactId>org.eclipse.papyrus.infra.gmfdiag-expansion</artifactId> + <version>0.0.1-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.infra.gmfdiag.expansion</artifactId> + <version>2.0.0-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
\ No newline at end of file diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/AbstractRepresentation.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/AbstractRepresentation.java index f3cb5becb90..37d69bd4ec8 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/AbstractRepresentation.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/AbstractRepresentation.java @@ -1,190 +1,178 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import java.util.Map;
-
-import org.eclipse.emf.common.util.DiagnosticChain;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Abstract Representation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getViewFactory <em>View Factory</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation()
- * @model abstract="true"
- * @generated
- */
-public interface AbstractRepresentation extends EObject {
- /**
- * Returns the value of the '<em><b>Edit Part Qualified Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Edit Part Qualified Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * if the kind is filled, the editPartQualifiedName has to be filled. It references the controler see GEF framework
- * <!-- end-model-doc -->
- * @return the value of the '<em>Edit Part Qualified Name</em>' attribute.
- * @see #setEditPartQualifiedName(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_EditPartQualifiedName()
- * @model ordered="false"
- * @generated
- */
- String getEditPartQualifiedName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Edit Part Qualified Name</em>' attribute.
- * @see #getEditPartQualifiedName()
- * @generated
- */
- void setEditPartQualifiedName(String value);
-
- /**
- * Returns the value of the '<em><b>Kind</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Kind</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Kind</em>' reference.
- * @see #setKind(RepresentationKind)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_Kind()
- * @model ordered="false"
- * @generated
- */
- RepresentationKind getKind();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getKind <em>Kind</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Kind</em>' reference.
- * @see #getKind()
- * @generated
- */
- void setKind(RepresentationKind value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * It is more like a comment, it is no used by interpretors.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_Name()
- * @model required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>View Factory</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>View Factory</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * if the kind is filled, the view factory has to be filled. It references the factory of notation element see (model inside GEF framework)
- * Have alook to http://www-01.ibm.com/support/knowledgecenter/SS8PJ7_7.0.0/org.eclipse.gmf.doc/reference/api/runtime/org/eclipse/gmf/runtime/diagram/core/view/factories/ViewFactory.html
- * <!-- end-model-doc -->
- * @return the value of the '<em>View Factory</em>' attribute.
- * @see #setViewFactory(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_ViewFactory()
- * @model ordered="false"
- * @generated
- */
- String getViewFactory();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getViewFactory <em>View Factory</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>View Factory</em>' attribute.
- * @see #getViewFactory()
- * @generated
- */
- void setViewFactory(String value);
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_Description()
- * @model ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model required="true" ordered="false" diagnosticRequired="true" diagnosticOrdered="false" contextRequired="true" contextOrdered="false"
- * @generated
- */
- boolean validate(DiagnosticChain diagnostic, Map context);
-
-} // AbstractRepresentation
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Abstract Representation</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getKind <em>Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getViewFactory <em>View Factory</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getDescription <em>Description</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation() + * @model abstract="true" + * @generated + */ +public interface AbstractRepresentation extends EObject { + /** + * Returns the value of the '<em><b>Edit Part Qualified Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * if the kind is filled, the editPartQualifiedName has to be filled. It references the controler see GEF framework + * <!-- end-model-doc --> + * @return the value of the '<em>Edit Part Qualified Name</em>' attribute. + * @see #setEditPartQualifiedName(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_EditPartQualifiedName() + * @model ordered="false" + * @generated + */ + String getEditPartQualifiedName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Edit Part Qualified Name</em>' attribute. + * @see #getEditPartQualifiedName() + * @generated + */ + void setEditPartQualifiedName(String value); + + /** + * Returns the value of the '<em><b>Kind</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Kind</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Kind</em>' reference. + * @see #setKind(RepresentationKind) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_Kind() + * @model ordered="false" + * @generated + */ + RepresentationKind getKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getKind <em>Kind</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Kind</em>' reference. + * @see #getKind() + * @generated + */ + void setKind(RepresentationKind value); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * It is more like a comment, it is no used by interpretors. + * <!-- end-model-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_Name() + * @model required="true" ordered="false" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>View Factory</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * if the kind is filled, the view factory has to be filled. It references the factory of notation element see (model inside GEF framework) + * Have alook to http://www-01.ibm.com/support/knowledgecenter/SS8PJ7_7.0.0/org.eclipse.gmf.doc/reference/api/runtime/org/eclipse/gmf/runtime/diagram/core/view/factories/ViewFactory.html + * <!-- end-model-doc --> + * @return the value of the '<em>View Factory</em>' attribute. + * @see #setViewFactory(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_ViewFactory() + * @model ordered="false" + * @generated + */ + String getViewFactory(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getViewFactory <em>View Factory</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>View Factory</em>' attribute. + * @see #getViewFactory() + * @generated + */ + void setViewFactory(String value); + + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getAbstractRepresentation_Description() + * @model ordered="false" + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getDescription <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' attribute. + * @see #getDescription() + * @generated + */ + void setDescription(String value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model required="true" ordered="false" diagnosticRequired="true" diagnosticOrdered="false" contextRequired="true" contextOrdered="false" + * @generated + */ + boolean validate(DiagnosticChain diagnostic, Map context); + +} // AbstractRepresentation diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/DiagramExpansion.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/DiagramExpansion.java index 386785ad873..f925a7e33ea 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/DiagramExpansion.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/DiagramExpansion.java @@ -1,123 +1,123 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Diagram Expansion</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getUsages <em>Usages</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getLibraries <em>Libraries</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getID <em>ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getDiagramExpansion()
- * @model
- * @generated
- */
-public interface DiagramExpansion extends EObject {
- /**
- * Returns the value of the '<em><b>Usages</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Usages</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Usages</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_Usages()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<UseContext> getUsages();
-
- /**
- * Returns the value of the '<em><b>Libraries</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Libraries</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Libraries</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_Libraries()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<GraphicalElementLibrary> getLibraries();
-
- /**
- * Returns the value of the '<em><b>ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>ID</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>ID</em>' attribute.
- * @see #setID(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_ID()
- * @model required="true" ordered="false"
- * @generated
- */
- String getID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getID <em>ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>ID</em>' attribute.
- * @see #getID()
- * @generated
- */
- void setID(String value);
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_Description()
- * @model ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
-} // DiagramExpansion
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Diagram Expansion</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getUsages <em>Usages</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getLibraries <em>Libraries</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getID <em>ID</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getDescription <em>Description</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getDiagramExpansion() + * @model + * @generated + */ +public interface DiagramExpansion extends EObject { + /** + * Returns the value of the '<em><b>Usages</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Usages</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Usages</em>' containment reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_Usages() + * @model containment="true" ordered="false" + * @generated + */ + EList<UseContext> getUsages(); + + /** + * Returns the value of the '<em><b>Libraries</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Libraries</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Libraries</em>' containment reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_Libraries() + * @model containment="true" ordered="false" + * @generated + */ + EList<GraphicalElementLibrary> getLibraries(); + + /** + * Returns the value of the '<em><b>ID</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>ID</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>ID</em>' attribute. + * @see #setID(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_ID() + * @model required="true" ordered="false" + * @generated + */ + String getID(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getID <em>ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>ID</em>' attribute. + * @see #getID() + * @generated + */ + void setID(String value); + + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getDiagramExpansion_Description() + * @model ordered="false" + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getDescription <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' attribute. + * @see #getDescription() + * @generated + */ + void setDescription(String value); + +} // DiagramExpansion diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/ExpansionmodelFactory.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/ExpansionmodelFactory.java index da55fcdf985..c4979c0ead8 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/ExpansionmodelFactory.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/ExpansionmodelFactory.java @@ -1,106 +1,106 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage
- * @generated
- */
-public interface ExpansionmodelFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ExpansionmodelFactory eINSTANCE = org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Representation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Representation</em>'.
- * @generated
- */
- Representation createRepresentation();
-
- /**
- * Returns a new object of class '<em>Representation Kind</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Representation Kind</em>'.
- * @generated
- */
- RepresentationKind createRepresentationKind();
-
- /**
- * Returns a new object of class '<em>Induced Representation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Induced Representation</em>'.
- * @generated
- */
- InducedRepresentation createInducedRepresentation();
-
- /**
- * Returns a new object of class '<em>Graphical Element Library</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Graphical Element Library</em>'.
- * @generated
- */
- GraphicalElementLibrary createGraphicalElementLibrary();
-
- /**
- * Returns a new object of class '<em>Use Context</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Use Context</em>'.
- * @generated
- */
- UseContext createUseContext();
-
- /**
- * Returns a new object of class '<em>GMFT Based Representation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>GMFT Based Representation</em>'.
- * @generated
- */
- GMFT_BasedRepresentation createGMFT_BasedRepresentation();
-
- /**
- * Returns a new object of class '<em>Diagram Expansion</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Diagram Expansion</em>'.
- * @generated
- */
- DiagramExpansion createDiagramExpansion();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- ExpansionmodelPackage getExpansionmodelPackage();
-
-} //ExpansionmodelFactory
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage + * @generated + */ +public interface ExpansionmodelFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ExpansionmodelFactory eINSTANCE = org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Representation</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Representation</em>'. + * @generated + */ + Representation createRepresentation(); + + /** + * Returns a new object of class '<em>Representation Kind</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Representation Kind</em>'. + * @generated + */ + RepresentationKind createRepresentationKind(); + + /** + * Returns a new object of class '<em>Induced Representation</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Induced Representation</em>'. + * @generated + */ + InducedRepresentation createInducedRepresentation(); + + /** + * Returns a new object of class '<em>Graphical Element Library</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Graphical Element Library</em>'. + * @generated + */ + GraphicalElementLibrary createGraphicalElementLibrary(); + + /** + * Returns a new object of class '<em>Use Context</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Use Context</em>'. + * @generated + */ + UseContext createUseContext(); + + /** + * Returns a new object of class '<em>GMFT Based Representation</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>GMFT Based Representation</em>'. + * @generated + */ + GMFT_BasedRepresentation createGMFT_BasedRepresentation(); + + /** + * Returns a new object of class '<em>Diagram Expansion</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Diagram Expansion</em>'. + * @generated + */ + DiagramExpansion createDiagramExpansion(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + ExpansionmodelPackage getExpansionmodelPackage(); + +} //ExpansionmodelFactory diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/ExpansionmodelPackage.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/ExpansionmodelPackage.java index e88fe2812c5..d75a549e983 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/ExpansionmodelPackage.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/ExpansionmodelPackage.java @@ -1,1457 +1,1452 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelFactory
- * @model kind="package"
- * @generated
- *
- * @noimplement This interface is not intended to be implemented by clients.
- */
-public interface ExpansionmodelPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "expansionmodel";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http:///expansionmodel.ecore";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "expansionmodel";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ExpansionmodelPackage eINSTANCE = org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl <em>Abstract Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getAbstractRepresentation()
- * @generated
- */
- int ABSTRACT_REPRESENTATION = 1;
-
- /**
- * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION__KIND = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION__NAME = 2;
-
- /**
- * The feature id for the '<em><b>View Factory</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION__VIEW_FACTORY = 3;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION__DESCRIPTION = 4;
-
- /**
- * The number of structural features of the '<em>Abstract Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION_FEATURE_COUNT = 5;
-
- /**
- * The operation id for the '<em>Validate</em>' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = 0;
-
- /**
- * The number of operations of the '<em>Abstract Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ABSTRACT_REPRESENTATION_OPERATION_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl <em>Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentation()
- * @generated
- */
- int REPRESENTATION = 0;
-
- /**
- * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__EDIT_PART_QUALIFIED_NAME = ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__KIND = ABSTRACT_REPRESENTATION__KIND;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__NAME = ABSTRACT_REPRESENTATION__NAME;
-
- /**
- * The feature id for the '<em><b>View Factory</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__VIEW_FACTORY = ABSTRACT_REPRESENTATION__VIEW_FACTORY;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__DESCRIPTION = ABSTRACT_REPRESENTATION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Graphical Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__GRAPHICAL_ELEMENT_TYPE = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Induced Representations</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__INDUCED_REPRESENTATIONS = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Sub Representations</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION__SUB_REPRESENTATIONS = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION_FEATURE_COUNT = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 3;
-
- /**
- * The operation id for the '<em>Validate</em>' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP;
-
- /**
- * The number of operations of the '<em>Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION_OPERATION_COUNT = ABSTRACT_REPRESENTATION_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl <em>Representation Kind</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentationKind()
- * @generated
- */
- int REPRESENTATION_KIND = 2;
-
- /**
- * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION_KIND__NAME = 1;
-
- /**
- * The feature id for the '<em><b>View Factory</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION_KIND__VIEW_FACTORY = 2;
-
- /**
- * The number of structural features of the '<em>Representation Kind</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION_KIND_FEATURE_COUNT = 3;
-
- /**
- * The number of operations of the '<em>Representation Kind</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REPRESENTATION_KIND_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl <em>Induced Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getInducedRepresentation()
- * @generated
- */
- int INDUCED_REPRESENTATION = 3;
-
- /**
- * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION__KIND = ABSTRACT_REPRESENTATION__KIND;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION__NAME = ABSTRACT_REPRESENTATION__NAME;
-
- /**
- * The feature id for the '<em><b>View Factory</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION__VIEW_FACTORY = ABSTRACT_REPRESENTATION__VIEW_FACTORY;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION__DESCRIPTION = ABSTRACT_REPRESENTATION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Hint</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION__HINT = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Children</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION__CHILDREN = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Induced Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION_FEATURE_COUNT = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 2;
-
- /**
- * The operation id for the '<em>Validate</em>' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP;
-
- /**
- * The number of operations of the '<em>Induced Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INDUCED_REPRESENTATION_OPERATION_COUNT = ABSTRACT_REPRESENTATION_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl <em>Graphical Element Library</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getGraphicalElementLibrary()
- * @generated
- */
- int GRAPHICAL_ELEMENT_LIBRARY = 4;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GRAPHICAL_ELEMENT_LIBRARY__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Representationkinds</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS = 1;
-
- /**
- * The feature id for the '<em><b>Representations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS = 2;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION = 3;
-
- /**
- * The number of structural features of the '<em>Graphical Element Library</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GRAPHICAL_ELEMENT_LIBRARY_FEATURE_COUNT = 4;
-
- /**
- * The number of operations of the '<em>Graphical Element Library</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GRAPHICAL_ELEMENT_LIBRARY_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl <em>Use Context</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getUseContext()
- * @generated
- */
- int USE_CONTEXT = 5;
-
- /**
- * The feature id for the '<em><b>Diagram Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_CONTEXT__DIAGRAM_TYPE = 0;
-
- /**
- * The feature id for the '<em><b>Representations</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_CONTEXT__REPRESENTATIONS = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_CONTEXT__NAME = 2;
-
- /**
- * The feature id for the '<em><b>Gmft Representations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_CONTEXT__GMFT_REPRESENTATIONS = 3;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_CONTEXT__DESCRIPTION = 4;
-
- /**
- * The number of structural features of the '<em>Use Context</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_CONTEXT_FEATURE_COUNT = 5;
-
- /**
- * The number of operations of the '<em>Use Context</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_CONTEXT_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRepresentationImpl <em>GMFT Based Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getGMFT_BasedRepresentation()
- * @generated
- */
- int GMFT_BASED_REPRESENTATION = 6;
-
- /**
- * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = REPRESENTATION__EDIT_PART_QUALIFIED_NAME;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__KIND = REPRESENTATION__KIND;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__NAME = REPRESENTATION__NAME;
-
- /**
- * The feature id for the '<em><b>View Factory</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__VIEW_FACTORY = REPRESENTATION__VIEW_FACTORY;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__DESCRIPTION = REPRESENTATION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Graphical Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__GRAPHICAL_ELEMENT_TYPE = REPRESENTATION__GRAPHICAL_ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Induced Representations</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__INDUCED_REPRESENTATIONS = REPRESENTATION__INDUCED_REPRESENTATIONS;
-
- /**
- * The feature id for the '<em><b>Sub Representations</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__SUB_REPRESENTATIONS = REPRESENTATION__SUB_REPRESENTATIONS;
-
- /**
- * The feature id for the '<em><b>Reused ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION__REUSED_ID = REPRESENTATION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>GMFT Based Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION_FEATURE_COUNT = REPRESENTATION_FEATURE_COUNT + 1;
-
- /**
- * The operation id for the '<em>Validate</em>' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP;
-
- /**
- * The number of operations of the '<em>GMFT Based Representation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GMFT_BASED_REPRESENTATION_OPERATION_COUNT = REPRESENTATION_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl <em>Diagram Expansion</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getDiagramExpansion()
- * @generated
- */
- int DIAGRAM_EXPANSION = 7;
-
- /**
- * The feature id for the '<em><b>Usages</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIAGRAM_EXPANSION__USAGES = 0;
-
- /**
- * The feature id for the '<em><b>Libraries</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIAGRAM_EXPANSION__LIBRARIES = 1;
-
- /**
- * The feature id for the '<em><b>ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIAGRAM_EXPANSION__ID = 2;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIAGRAM_EXPANSION__DESCRIPTION = 3;
-
- /**
- * The number of structural features of the '<em>Diagram Expansion</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIAGRAM_EXPANSION_FEATURE_COUNT = 4;
-
- /**
- * The number of operations of the '<em>Diagram Expansion</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIAGRAM_EXPANSION_OPERATION_COUNT = 0;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation <em>Representation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Representation</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation
- * @generated
- */
- EClass getRepresentation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getGraphicalElementType <em>Graphical Element Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Graphical Element Type</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getGraphicalElementType()
- * @see #getRepresentation()
- * @generated
- */
- EAttribute getRepresentation_GraphicalElementType();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getInducedRepresentations <em>Induced Representations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Induced Representations</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getInducedRepresentations()
- * @see #getRepresentation()
- * @generated
- */
- EReference getRepresentation_InducedRepresentations();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getSubRepresentations <em>Sub Representations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Sub Representations</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getSubRepresentations()
- * @see #getRepresentation()
- * @generated
- */
- EReference getRepresentation_SubRepresentations();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation <em>Abstract Representation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Abstract Representation</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation
- * @generated
- */
- EClass getAbstractRepresentation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Edit Part Qualified Name</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getEditPartQualifiedName()
- * @see #getAbstractRepresentation()
- * @generated
- */
- EAttribute getAbstractRepresentation_EditPartQualifiedName();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getKind <em>Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Kind</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getKind()
- * @see #getAbstractRepresentation()
- * @generated
- */
- EReference getAbstractRepresentation_Kind();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getName()
- * @see #getAbstractRepresentation()
- * @generated
- */
- EAttribute getAbstractRepresentation_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getViewFactory <em>View Factory</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>View Factory</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getViewFactory()
- * @see #getAbstractRepresentation()
- * @generated
- */
- EAttribute getAbstractRepresentation_ViewFactory();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#getDescription()
- * @see #getAbstractRepresentation()
- * @generated
- */
- EAttribute getAbstractRepresentation_Description();
-
- /**
- * Returns the meta object for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Validate</em>}' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the '<em>Validate</em>' operation.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * @generated
- */
- EOperation getAbstractRepresentation__Validate__DiagnosticChain_Map();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind <em>Representation Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Representation Kind</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind
- * @generated
- */
- EClass getRepresentationKind();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Edit Part Qualified Name</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getEditPartQualifiedName()
- * @see #getRepresentationKind()
- * @generated
- */
- EAttribute getRepresentationKind_EditPartQualifiedName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getName()
- * @see #getRepresentationKind()
- * @generated
- */
- EAttribute getRepresentationKind_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getViewFactory <em>View Factory</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>View Factory</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getViewFactory()
- * @see #getRepresentationKind()
- * @generated
- */
- EAttribute getRepresentationKind_ViewFactory();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation <em>Induced Representation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Induced Representation</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation
- * @generated
- */
- EClass getInducedRepresentation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation#getHint <em>Hint</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Hint</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation#getHint()
- * @see #getInducedRepresentation()
- * @generated
- */
- EAttribute getInducedRepresentation_Hint();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation#getChildren <em>Children</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Children</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation#getChildren()
- * @see #getInducedRepresentation()
- * @generated
- */
- EReference getInducedRepresentation_Children();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary <em>Graphical Element Library</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Graphical Element Library</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary
- * @generated
- */
- EClass getGraphicalElementLibrary();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getName()
- * @see #getGraphicalElementLibrary()
- * @generated
- */
- EAttribute getGraphicalElementLibrary_Name();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getRepresentationkinds <em>Representationkinds</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Representationkinds</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getRepresentationkinds()
- * @see #getGraphicalElementLibrary()
- * @generated
- */
- EReference getGraphicalElementLibrary_Representationkinds();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getRepresentations <em>Representations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Representations</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getRepresentations()
- * @see #getGraphicalElementLibrary()
- * @generated
- */
- EReference getGraphicalElementLibrary_Representations();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getDescription()
- * @see #getGraphicalElementLibrary()
- * @generated
- */
- EAttribute getGraphicalElementLibrary_Description();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext <em>Use Context</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Use Context</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext
- * @generated
- */
- EClass getUseContext();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDiagramType <em>Diagram Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Diagram Type</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDiagramType()
- * @see #getUseContext()
- * @generated
- */
- EAttribute getUseContext_DiagramType();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getRepresentations <em>Representations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Representations</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getRepresentations()
- * @see #getUseContext()
- * @generated
- */
- EReference getUseContext_Representations();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getName()
- * @see #getUseContext()
- * @generated
- */
- EAttribute getUseContext_Name();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getGmftRepresentations <em>Gmft Representations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Gmft Representations</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getGmftRepresentations()
- * @see #getUseContext()
- * @generated
- */
- EReference getUseContext_GmftRepresentations();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDescription()
- * @see #getUseContext()
- * @generated
- */
- EAttribute getUseContext_Description();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation <em>GMFT Based Representation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>GMFT Based Representation</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation
- * @generated
- */
- EClass getGMFT_BasedRepresentation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation#getReusedID <em>Reused ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Reused ID</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation#getReusedID()
- * @see #getGMFT_BasedRepresentation()
- * @generated
- */
- EAttribute getGMFT_BasedRepresentation_ReusedID();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion <em>Diagram Expansion</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Diagram Expansion</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion
- * @generated
- */
- EClass getDiagramExpansion();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getUsages <em>Usages</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Usages</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getUsages()
- * @see #getDiagramExpansion()
- * @generated
- */
- EReference getDiagramExpansion_Usages();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getLibraries <em>Libraries</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Libraries</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getLibraries()
- * @see #getDiagramExpansion()
- * @generated
- */
- EReference getDiagramExpansion_Libraries();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getID <em>ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>ID</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getID()
- * @see #getDiagramExpansion()
- * @generated
- */
- EAttribute getDiagramExpansion_ID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion#getDescription()
- * @see #getDiagramExpansion()
- * @generated
- */
- EAttribute getDiagramExpansion_Description();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- ExpansionmodelFactory getExpansionmodelFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- *
- * @noimplement This interface is not intended to be implemented by clients.
- * @noextend This interface is not intended to be extended by clients.
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl <em>Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentation()
- * @generated
- */
- EClass REPRESENTATION = eINSTANCE.getRepresentation();
-
- /**
- * The meta object literal for the '<em><b>Graphical Element Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute REPRESENTATION__GRAPHICAL_ELEMENT_TYPE = eINSTANCE.getRepresentation_GraphicalElementType();
-
- /**
- * The meta object literal for the '<em><b>Induced Representations</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference REPRESENTATION__INDUCED_REPRESENTATIONS = eINSTANCE.getRepresentation_InducedRepresentations();
-
- /**
- * The meta object literal for the '<em><b>Sub Representations</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference REPRESENTATION__SUB_REPRESENTATIONS = eINSTANCE.getRepresentation_SubRepresentations();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl <em>Abstract Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getAbstractRepresentation()
- * @generated
- */
- EClass ABSTRACT_REPRESENTATION = eINSTANCE.getAbstractRepresentation();
-
- /**
- * The meta object literal for the '<em><b>Edit Part Qualified Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = eINSTANCE.getAbstractRepresentation_EditPartQualifiedName();
-
- /**
- * The meta object literal for the '<em><b>Kind</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ABSTRACT_REPRESENTATION__KIND = eINSTANCE.getAbstractRepresentation_Kind();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ABSTRACT_REPRESENTATION__NAME = eINSTANCE.getAbstractRepresentation_Name();
-
- /**
- * The meta object literal for the '<em><b>View Factory</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ABSTRACT_REPRESENTATION__VIEW_FACTORY = eINSTANCE.getAbstractRepresentation_ViewFactory();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ABSTRACT_REPRESENTATION__DESCRIPTION = eINSTANCE.getAbstractRepresentation_Description();
-
- /**
- * The meta object literal for the '<em><b>Validate</b></em>' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EOperation ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getAbstractRepresentation__Validate__DiagnosticChain_Map();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl <em>Representation Kind</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentationKind()
- * @generated
- */
- EClass REPRESENTATION_KIND = eINSTANCE.getRepresentationKind();
-
- /**
- * The meta object literal for the '<em><b>Edit Part Qualified Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME = eINSTANCE.getRepresentationKind_EditPartQualifiedName();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute REPRESENTATION_KIND__NAME = eINSTANCE.getRepresentationKind_Name();
-
- /**
- * The meta object literal for the '<em><b>View Factory</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute REPRESENTATION_KIND__VIEW_FACTORY = eINSTANCE.getRepresentationKind_ViewFactory();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl <em>Induced Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getInducedRepresentation()
- * @generated
- */
- EClass INDUCED_REPRESENTATION = eINSTANCE.getInducedRepresentation();
-
- /**
- * The meta object literal for the '<em><b>Hint</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INDUCED_REPRESENTATION__HINT = eINSTANCE.getInducedRepresentation_Hint();
-
- /**
- * The meta object literal for the '<em><b>Children</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INDUCED_REPRESENTATION__CHILDREN = eINSTANCE.getInducedRepresentation_Children();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl <em>Graphical Element Library</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getGraphicalElementLibrary()
- * @generated
- */
- EClass GRAPHICAL_ELEMENT_LIBRARY = eINSTANCE.getGraphicalElementLibrary();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute GRAPHICAL_ELEMENT_LIBRARY__NAME = eINSTANCE.getGraphicalElementLibrary_Name();
-
- /**
- * The meta object literal for the '<em><b>Representationkinds</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS = eINSTANCE.getGraphicalElementLibrary_Representationkinds();
-
- /**
- * The meta object literal for the '<em><b>Representations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS = eINSTANCE.getGraphicalElementLibrary_Representations();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION = eINSTANCE.getGraphicalElementLibrary_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl <em>Use Context</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getUseContext()
- * @generated
- */
- EClass USE_CONTEXT = eINSTANCE.getUseContext();
-
- /**
- * The meta object literal for the '<em><b>Diagram Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute USE_CONTEXT__DIAGRAM_TYPE = eINSTANCE.getUseContext_DiagramType();
-
- /**
- * The meta object literal for the '<em><b>Representations</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference USE_CONTEXT__REPRESENTATIONS = eINSTANCE.getUseContext_Representations();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute USE_CONTEXT__NAME = eINSTANCE.getUseContext_Name();
-
- /**
- * The meta object literal for the '<em><b>Gmft Representations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference USE_CONTEXT__GMFT_REPRESENTATIONS = eINSTANCE.getUseContext_GmftRepresentations();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute USE_CONTEXT__DESCRIPTION = eINSTANCE.getUseContext_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRepresentationImpl <em>GMFT Based Representation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRepresentationImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getGMFT_BasedRepresentation()
- * @generated
- */
- EClass GMFT_BASED_REPRESENTATION = eINSTANCE.getGMFT_BasedRepresentation();
-
- /**
- * The meta object literal for the '<em><b>Reused ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute GMFT_BASED_REPRESENTATION__REUSED_ID = eINSTANCE.getGMFT_BasedRepresentation_ReusedID();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl <em>Diagram Expansion</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelPackageImpl#getDiagramExpansion()
- * @generated
- */
- EClass DIAGRAM_EXPANSION = eINSTANCE.getDiagramExpansion();
-
- /**
- * The meta object literal for the '<em><b>Usages</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DIAGRAM_EXPANSION__USAGES = eINSTANCE.getDiagramExpansion_Usages();
-
- /**
- * The meta object literal for the '<em><b>Libraries</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DIAGRAM_EXPANSION__LIBRARIES = eINSTANCE.getDiagramExpansion_Libraries();
-
- /**
- * The meta object literal for the '<em><b>ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DIAGRAM_EXPANSION__ID = eINSTANCE.getDiagramExpansion_ID();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DIAGRAM_EXPANSION__DESCRIPTION = eINSTANCE.getDiagramExpansion_Description();
-
- }
-
-} //ExpansionmodelPackage
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelFactory + * @model kind="package" + * @generated + */ +public interface ExpansionmodelPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "expansionmodel"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http:///expansionmodel.ecore"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "expansionmodel"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ExpansionmodelPackage eINSTANCE = org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl <em>Abstract Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getAbstractRepresentation() + * @generated + */ + int ABSTRACT_REPRESENTATION = 1; + + /** + * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = 0; + + /** + * The feature id for the '<em><b>Kind</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION__KIND = 1; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION__NAME = 2; + + /** + * The feature id for the '<em><b>View Factory</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION__VIEW_FACTORY = 3; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION__DESCRIPTION = 4; + + /** + * The number of structural features of the '<em>Abstract Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION_FEATURE_COUNT = 5; + + /** + * The operation id for the '<em>Validate</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = 0; + + /** + * The number of operations of the '<em>Abstract Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REPRESENTATION_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl <em>Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentation() + * @generated + */ + int REPRESENTATION = 0; + + /** + * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__EDIT_PART_QUALIFIED_NAME = ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME; + + /** + * The feature id for the '<em><b>Kind</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__KIND = ABSTRACT_REPRESENTATION__KIND; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__NAME = ABSTRACT_REPRESENTATION__NAME; + + /** + * The feature id for the '<em><b>View Factory</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__VIEW_FACTORY = ABSTRACT_REPRESENTATION__VIEW_FACTORY; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__DESCRIPTION = ABSTRACT_REPRESENTATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Graphical Element Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__GRAPHICAL_ELEMENT_TYPE = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Induced Representations</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__INDUCED_REPRESENTATIONS = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Sub Representations</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION__SUB_REPRESENTATIONS = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION_FEATURE_COUNT = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 3; + + /** + * The operation id for the '<em>Validate</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP; + + /** + * The number of operations of the '<em>Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION_OPERATION_COUNT = ABSTRACT_REPRESENTATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl <em>Representation Kind</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentationKind() + * @generated + */ + int REPRESENTATION_KIND = 2; + + /** + * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME = 0; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION_KIND__NAME = 1; + + /** + * The feature id for the '<em><b>View Factory</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION_KIND__VIEW_FACTORY = 2; + + /** + * The number of structural features of the '<em>Representation Kind</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION_KIND_FEATURE_COUNT = 3; + + /** + * The number of operations of the '<em>Representation Kind</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REPRESENTATION_KIND_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl <em>Induced Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getInducedRepresentation() + * @generated + */ + int INDUCED_REPRESENTATION = 3; + + /** + * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME; + + /** + * The feature id for the '<em><b>Kind</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION__KIND = ABSTRACT_REPRESENTATION__KIND; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION__NAME = ABSTRACT_REPRESENTATION__NAME; + + /** + * The feature id for the '<em><b>View Factory</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION__VIEW_FACTORY = ABSTRACT_REPRESENTATION__VIEW_FACTORY; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION__DESCRIPTION = ABSTRACT_REPRESENTATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Hint</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION__HINT = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Children</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION__CHILDREN = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Induced Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION_FEATURE_COUNT = ABSTRACT_REPRESENTATION_FEATURE_COUNT + 2; + + /** + * The operation id for the '<em>Validate</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP; + + /** + * The number of operations of the '<em>Induced Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INDUCED_REPRESENTATION_OPERATION_COUNT = ABSTRACT_REPRESENTATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl <em>Graphical Element Library</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getGraphicalElementLibrary() + * @generated + */ + int GRAPHICAL_ELEMENT_LIBRARY = 4; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GRAPHICAL_ELEMENT_LIBRARY__NAME = 0; + + /** + * The feature id for the '<em><b>Representationkinds</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS = 1; + + /** + * The feature id for the '<em><b>Representations</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS = 2; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION = 3; + + /** + * The number of structural features of the '<em>Graphical Element Library</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GRAPHICAL_ELEMENT_LIBRARY_FEATURE_COUNT = 4; + + /** + * The number of operations of the '<em>Graphical Element Library</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GRAPHICAL_ELEMENT_LIBRARY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl <em>Use Context</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getUseContext() + * @generated + */ + int USE_CONTEXT = 5; + + /** + * The feature id for the '<em><b>Diagram Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USE_CONTEXT__DIAGRAM_TYPE = 0; + + /** + * The feature id for the '<em><b>Representations</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USE_CONTEXT__REPRESENTATIONS = 1; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USE_CONTEXT__NAME = 2; + + /** + * The feature id for the '<em><b>Gmft Representations</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USE_CONTEXT__GMFT_REPRESENTATIONS = 3; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USE_CONTEXT__DESCRIPTION = 4; + + /** + * The number of structural features of the '<em>Use Context</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USE_CONTEXT_FEATURE_COUNT = 5; + + /** + * The number of operations of the '<em>Use Context</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USE_CONTEXT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GMFT_BasedRepresentationImpl <em>GMFT Based Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GMFT_BasedRepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getGMFT_BasedRepresentation() + * @generated + */ + int GMFT_BASED_REPRESENTATION = 6; + + /** + * The feature id for the '<em><b>Edit Part Qualified Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = REPRESENTATION__EDIT_PART_QUALIFIED_NAME; + + /** + * The feature id for the '<em><b>Kind</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__KIND = REPRESENTATION__KIND; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__NAME = REPRESENTATION__NAME; + + /** + * The feature id for the '<em><b>View Factory</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__VIEW_FACTORY = REPRESENTATION__VIEW_FACTORY; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__DESCRIPTION = REPRESENTATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Graphical Element Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__GRAPHICAL_ELEMENT_TYPE = REPRESENTATION__GRAPHICAL_ELEMENT_TYPE; + + /** + * The feature id for the '<em><b>Induced Representations</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__INDUCED_REPRESENTATIONS = REPRESENTATION__INDUCED_REPRESENTATIONS; + + /** + * The feature id for the '<em><b>Sub Representations</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__SUB_REPRESENTATIONS = REPRESENTATION__SUB_REPRESENTATIONS; + + /** + * The feature id for the '<em><b>Reused ID</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION__REUSED_ID = REPRESENTATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>GMFT Based Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION_FEATURE_COUNT = REPRESENTATION_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>Validate</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP; + + /** + * The number of operations of the '<em>GMFT Based Representation</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GMFT_BASED_REPRESENTATION_OPERATION_COUNT = REPRESENTATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl <em>Diagram Expansion</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getDiagramExpansion() + * @generated + */ + int DIAGRAM_EXPANSION = 7; + + /** + * The feature id for the '<em><b>Usages</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIAGRAM_EXPANSION__USAGES = 0; + + /** + * The feature id for the '<em><b>Libraries</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIAGRAM_EXPANSION__LIBRARIES = 1; + + /** + * The feature id for the '<em><b>ID</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIAGRAM_EXPANSION__ID = 2; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIAGRAM_EXPANSION__DESCRIPTION = 3; + + /** + * The number of structural features of the '<em>Diagram Expansion</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIAGRAM_EXPANSION_FEATURE_COUNT = 4; + + /** + * The number of operations of the '<em>Diagram Expansion</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIAGRAM_EXPANSION_OPERATION_COUNT = 0; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation <em>Representation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Representation</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation + * @generated + */ + EClass getRepresentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getGraphicalElementType <em>Graphical Element Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Graphical Element Type</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getGraphicalElementType() + * @see #getRepresentation() + * @generated + */ + EAttribute getRepresentation_GraphicalElementType(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getInducedRepresentations <em>Induced Representations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Induced Representations</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getInducedRepresentations() + * @see #getRepresentation() + * @generated + */ + EReference getRepresentation_InducedRepresentations(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getSubRepresentations <em>Sub Representations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Sub Representations</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getSubRepresentations() + * @see #getRepresentation() + * @generated + */ + EReference getRepresentation_SubRepresentations(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation <em>Abstract Representation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Abstract Representation</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation + * @generated + */ + EClass getAbstractRepresentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Edit Part Qualified Name</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getEditPartQualifiedName() + * @see #getAbstractRepresentation() + * @generated + */ + EAttribute getAbstractRepresentation_EditPartQualifiedName(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getKind <em>Kind</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Kind</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getKind() + * @see #getAbstractRepresentation() + * @generated + */ + EReference getAbstractRepresentation_Kind(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getName() + * @see #getAbstractRepresentation() + * @generated + */ + EAttribute getAbstractRepresentation_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getViewFactory <em>View Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>View Factory</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getViewFactory() + * @see #getAbstractRepresentation() + * @generated + */ + EAttribute getAbstractRepresentation_ViewFactory(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#getDescription() + * @see #getAbstractRepresentation() + * @generated + */ + EAttribute getAbstractRepresentation_Description(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Validate</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Validate</em>' operation. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getAbstractRepresentation__Validate__DiagnosticChain_Map(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind <em>Representation Kind</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Representation Kind</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind + * @generated + */ + EClass getRepresentationKind(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Edit Part Qualified Name</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getEditPartQualifiedName() + * @see #getRepresentationKind() + * @generated + */ + EAttribute getRepresentationKind_EditPartQualifiedName(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getName() + * @see #getRepresentationKind() + * @generated + */ + EAttribute getRepresentationKind_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getViewFactory <em>View Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>View Factory</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getViewFactory() + * @see #getRepresentationKind() + * @generated + */ + EAttribute getRepresentationKind_ViewFactory(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation <em>Induced Representation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Induced Representation</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation + * @generated + */ + EClass getInducedRepresentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation#getHint <em>Hint</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Hint</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation#getHint() + * @see #getInducedRepresentation() + * @generated + */ + EAttribute getInducedRepresentation_Hint(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation#getChildren <em>Children</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Children</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation#getChildren() + * @see #getInducedRepresentation() + * @generated + */ + EReference getInducedRepresentation_Children(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary <em>Graphical Element Library</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Graphical Element Library</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary + * @generated + */ + EClass getGraphicalElementLibrary(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getName() + * @see #getGraphicalElementLibrary() + * @generated + */ + EAttribute getGraphicalElementLibrary_Name(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getRepresentationkinds <em>Representationkinds</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Representationkinds</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getRepresentationkinds() + * @see #getGraphicalElementLibrary() + * @generated + */ + EReference getGraphicalElementLibrary_Representationkinds(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getRepresentations <em>Representations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Representations</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getRepresentations() + * @see #getGraphicalElementLibrary() + * @generated + */ + EReference getGraphicalElementLibrary_Representations(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getDescription() + * @see #getGraphicalElementLibrary() + * @generated + */ + EAttribute getGraphicalElementLibrary_Description(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext <em>Use Context</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Use Context</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext + * @generated + */ + EClass getUseContext(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDiagramType <em>Diagram Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Diagram Type</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDiagramType() + * @see #getUseContext() + * @generated + */ + EAttribute getUseContext_DiagramType(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getRepresentations <em>Representations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Representations</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getRepresentations() + * @see #getUseContext() + * @generated + */ + EReference getUseContext_Representations(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getName() + * @see #getUseContext() + * @generated + */ + EAttribute getUseContext_Name(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getGmftRepresentations <em>Gmft Representations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Gmft Representations</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getGmftRepresentations() + * @see #getUseContext() + * @generated + */ + EReference getUseContext_GmftRepresentations(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDescription() + * @see #getUseContext() + * @generated + */ + EAttribute getUseContext_Description(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation <em>GMFT Based Representation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>GMFT Based Representation</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation + * @generated + */ + EClass getGMFT_BasedRepresentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation#getReusedID <em>Reused ID</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Reused ID</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation#getReusedID() + * @see #getGMFT_BasedRepresentation() + * @generated + */ + EAttribute getGMFT_BasedRepresentation_ReusedID(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion <em>Diagram Expansion</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Diagram Expansion</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion + * @generated + */ + EClass getDiagramExpansion(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getUsages <em>Usages</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Usages</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getUsages() + * @see #getDiagramExpansion() + * @generated + */ + EReference getDiagramExpansion_Usages(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getLibraries <em>Libraries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Libraries</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getLibraries() + * @see #getDiagramExpansion() + * @generated + */ + EReference getDiagramExpansion_Libraries(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getID <em>ID</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>ID</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getID() + * @see #getDiagramExpansion() + * @generated + */ + EAttribute getDiagramExpansion_ID(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion#getDescription() + * @see #getDiagramExpansion() + * @generated + */ + EAttribute getDiagramExpansion_Description(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + ExpansionmodelFactory getExpansionmodelFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl <em>Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentation() + * @generated + */ + EClass REPRESENTATION = eINSTANCE.getRepresentation(); + + /** + * The meta object literal for the '<em><b>Graphical Element Type</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute REPRESENTATION__GRAPHICAL_ELEMENT_TYPE = eINSTANCE.getRepresentation_GraphicalElementType(); + + /** + * The meta object literal for the '<em><b>Induced Representations</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REPRESENTATION__INDUCED_REPRESENTATIONS = eINSTANCE.getRepresentation_InducedRepresentations(); + + /** + * The meta object literal for the '<em><b>Sub Representations</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REPRESENTATION__SUB_REPRESENTATIONS = eINSTANCE.getRepresentation_SubRepresentations(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl <em>Abstract Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getAbstractRepresentation() + * @generated + */ + EClass ABSTRACT_REPRESENTATION = eINSTANCE.getAbstractRepresentation(); + + /** + * The meta object literal for the '<em><b>Edit Part Qualified Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME = eINSTANCE.getAbstractRepresentation_EditPartQualifiedName(); + + /** + * The meta object literal for the '<em><b>Kind</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REPRESENTATION__KIND = eINSTANCE.getAbstractRepresentation_Kind(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ABSTRACT_REPRESENTATION__NAME = eINSTANCE.getAbstractRepresentation_Name(); + + /** + * The meta object literal for the '<em><b>View Factory</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ABSTRACT_REPRESENTATION__VIEW_FACTORY = eINSTANCE.getAbstractRepresentation_ViewFactory(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ABSTRACT_REPRESENTATION__DESCRIPTION = eINSTANCE.getAbstractRepresentation_Description(); + + /** + * The meta object literal for the '<em><b>Validate</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getAbstractRepresentation__Validate__DiagnosticChain_Map(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl <em>Representation Kind</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getRepresentationKind() + * @generated + */ + EClass REPRESENTATION_KIND = eINSTANCE.getRepresentationKind(); + + /** + * The meta object literal for the '<em><b>Edit Part Qualified Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME = eINSTANCE.getRepresentationKind_EditPartQualifiedName(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute REPRESENTATION_KIND__NAME = eINSTANCE.getRepresentationKind_Name(); + + /** + * The meta object literal for the '<em><b>View Factory</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute REPRESENTATION_KIND__VIEW_FACTORY = eINSTANCE.getRepresentationKind_ViewFactory(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl <em>Induced Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getInducedRepresentation() + * @generated + */ + EClass INDUCED_REPRESENTATION = eINSTANCE.getInducedRepresentation(); + + /** + * The meta object literal for the '<em><b>Hint</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute INDUCED_REPRESENTATION__HINT = eINSTANCE.getInducedRepresentation_Hint(); + + /** + * The meta object literal for the '<em><b>Children</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference INDUCED_REPRESENTATION__CHILDREN = eINSTANCE.getInducedRepresentation_Children(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl <em>Graphical Element Library</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getGraphicalElementLibrary() + * @generated + */ + EClass GRAPHICAL_ELEMENT_LIBRARY = eINSTANCE.getGraphicalElementLibrary(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute GRAPHICAL_ELEMENT_LIBRARY__NAME = eINSTANCE.getGraphicalElementLibrary_Name(); + + /** + * The meta object literal for the '<em><b>Representationkinds</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS = eINSTANCE.getGraphicalElementLibrary_Representationkinds(); + + /** + * The meta object literal for the '<em><b>Representations</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS = eINSTANCE.getGraphicalElementLibrary_Representations(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION = eINSTANCE.getGraphicalElementLibrary_Description(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl <em>Use Context</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getUseContext() + * @generated + */ + EClass USE_CONTEXT = eINSTANCE.getUseContext(); + + /** + * The meta object literal for the '<em><b>Diagram Type</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute USE_CONTEXT__DIAGRAM_TYPE = eINSTANCE.getUseContext_DiagramType(); + + /** + * The meta object literal for the '<em><b>Representations</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference USE_CONTEXT__REPRESENTATIONS = eINSTANCE.getUseContext_Representations(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute USE_CONTEXT__NAME = eINSTANCE.getUseContext_Name(); + + /** + * The meta object literal for the '<em><b>Gmft Representations</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference USE_CONTEXT__GMFT_REPRESENTATIONS = eINSTANCE.getUseContext_GmftRepresentations(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute USE_CONTEXT__DESCRIPTION = eINSTANCE.getUseContext_Description(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GMFT_BasedRepresentationImpl <em>GMFT Based Representation</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GMFT_BasedRepresentationImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getGMFT_BasedRepresentation() + * @generated + */ + EClass GMFT_BASED_REPRESENTATION = eINSTANCE.getGMFT_BasedRepresentation(); + + /** + * The meta object literal for the '<em><b>Reused ID</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute GMFT_BASED_REPRESENTATION__REUSED_ID = eINSTANCE.getGMFT_BasedRepresentation_ReusedID(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl <em>Diagram Expansion</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelPackageImpl#getDiagramExpansion() + * @generated + */ + EClass DIAGRAM_EXPANSION = eINSTANCE.getDiagramExpansion(); + + /** + * The meta object literal for the '<em><b>Usages</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIAGRAM_EXPANSION__USAGES = eINSTANCE.getDiagramExpansion_Usages(); + + /** + * The meta object literal for the '<em><b>Libraries</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIAGRAM_EXPANSION__LIBRARIES = eINSTANCE.getDiagramExpansion_Libraries(); + + /** + * The meta object literal for the '<em><b>ID</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIAGRAM_EXPANSION__ID = eINSTANCE.getDiagramExpansion_ID(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIAGRAM_EXPANSION__DESCRIPTION = eINSTANCE.getDiagramExpansion_Description(); + + } + +} //ExpansionmodelPackage diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/GMFT_BasedRepresentation.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/GMFT_BasedRepresentation.java index f6d53357e7b..b5668d39f1c 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/GMFT_BasedRepresentation.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/GMFT_BasedRepresentation.java @@ -1,66 +1,62 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>GMFT Based Representation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * Usecase is for a specific diagram. In case of class diagram, the goal is to be able to extend existing diagrams based on gmf.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation#getReusedID <em>Reused ID</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getGMFT_BasedRepresentation()
- * @model
- * @generated
- */
-public interface GMFT_BasedRepresentation extends Representation {
- /**
- * Returns the value of the '<em><b>Reused ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Reused ID</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * In this case this is the visualID defined in gmf diagram
- * <!-- end-model-doc -->
- * @return the value of the '<em>Reused ID</em>' attribute.
- * @see #setReusedID(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getGMFT_BasedRepresentation_ReusedID()
- * @model ordered="false"
- * @generated
- */
- String getReusedID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation#getReusedID <em>Reused ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Reused ID</em>' attribute.
- * @see #getReusedID()
- * @generated
- */
- void setReusedID(String value);
-
-} // GMFT_BasedRepresentation
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>GMFT Based Representation</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * Usecase is for a specific diagram. In case of class diagram, the goal is to be able to extend existing diagrams based on gmf. + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation#getReusedID <em>Reused ID</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getGMFT_BasedRepresentation() + * @model + * @generated + */ +public interface GMFT_BasedRepresentation extends Representation { + /** + * Returns the value of the '<em><b>Reused ID</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * In this case this is the visualID defined in gmf diagram + * <!-- end-model-doc --> + * @return the value of the '<em>Reused ID</em>' attribute. + * @see #setReusedID(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getGMFT_BasedRepresentation_ReusedID() + * @model ordered="false" + * @generated + */ + String getReusedID(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation#getReusedID <em>Reused ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Reused ID</em>' attribute. + * @see #getReusedID() + * @generated + */ + void setReusedID(String value); + +} // GMFT_BasedRepresentation diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/GraphicalElementLibrary.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/GraphicalElementLibrary.java index f7c3a48685e..49054b64e86 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/GraphicalElementLibrary.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/GraphicalElementLibrary.java @@ -1,126 +1,122 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Graphical Element Library</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getRepresentationkinds <em>Representationkinds</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getRepresentations <em>Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary()
- * @model
- * @generated
- */
-public interface GraphicalElementLibrary extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * It is more like a comment, it is no used by interpretors.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Name()
- * @model required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Representationkinds</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Representationkinds</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Representationkinds</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Representationkinds()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<RepresentationKind> getRepresentationkinds();
-
- /**
- * Returns the value of the '<em><b>Representations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Representations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Representations</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Representations()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<AbstractRepresentation> getRepresentations();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Description()
- * @model ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
-} // GraphicalElementLibrary
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Graphical Element Library</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getRepresentationkinds <em>Representationkinds</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getRepresentations <em>Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getDescription <em>Description</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary() + * @model + * @generated + */ +public interface GraphicalElementLibrary extends EObject { + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * It is more like a comment, it is no used by interpretors. + * <!-- end-model-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Name() + * @model required="true" ordered="false" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Representationkinds</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Representationkinds</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Representationkinds</em>' containment reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Representationkinds() + * @model containment="true" ordered="false" + * @generated + */ + EList<RepresentationKind> getRepresentationkinds(); + + /** + * Returns the value of the '<em><b>Representations</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Representations</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Representations</em>' containment reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Representations() + * @model containment="true" ordered="false" + * @generated + */ + EList<AbstractRepresentation> getRepresentations(); + + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getGraphicalElementLibrary_Description() + * @model ordered="false" + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary#getDescription <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' attribute. + * @see #getDescription() + * @generated + */ + void setDescription(String value); + +} // GraphicalElementLibrary diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/InducedRepresentation.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/InducedRepresentation.java index 96b42156081..b7288d4e22f 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/InducedRepresentation.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/InducedRepresentation.java @@ -1,90 +1,82 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Induced Representation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * An Induced Representation is a representation that is automatically created by its parent representation (compartment, label of a shape, label of link, label or border item)
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation#getHint <em>Hint</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation#getChildren <em>Children</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getInducedRepresentation()
- * @model
- * @generated
- */
-public interface InducedRepresentation extends AbstractRepresentation {
- /**
- * Returns the value of the '<em><b>Hint</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Hint</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * This a id for a compartment of label for example:
- * "flow ports" for the name of flow port compartment,
- * "Operation BorderItem Label" to identifier the labler around a border item that is a operation.
- * If is used, the graphical element is null.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Hint</em>' attribute.
- * @see #setHint(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getInducedRepresentation_Hint()
- * @model required="true" ordered="false"
- * @generated
- */
- String getHint();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation#getHint <em>Hint</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Hint</em>' attribute.
- * @see #getHint()
- * @generated
- */
- void setHint(String value);
-
- /**
- * Returns the value of the '<em><b>Children</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Children</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * There are representations that can be contained by this induced representation like attribtutes inside attribute compartment.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Children</em>' reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getInducedRepresentation_Children()
- * @model ordered="false"
- * @generated
- */
- EList<Representation> getChildren();
-
-} // InducedRepresentation
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Induced Representation</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * An Induced Representation is a representation that is automatically created by its parent representation (compartment, label of a shape, label of link, label or border item) + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation#getHint <em>Hint</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation#getChildren <em>Children</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getInducedRepresentation() + * @model + * @generated + */ +public interface InducedRepresentation extends AbstractRepresentation { + /** + * Returns the value of the '<em><b>Hint</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * This a id for a compartment of label for example: + * "flow ports" for the name of flow port compartment, + * "Operation BorderItem Label" to identifier the labler around a border item that is a operation. + * If is used, the graphical element is null. + * <!-- end-model-doc --> + * @return the value of the '<em>Hint</em>' attribute. + * @see #setHint(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getInducedRepresentation_Hint() + * @model required="true" ordered="false" + * @generated + */ + String getHint(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation#getHint <em>Hint</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Hint</em>' attribute. + * @see #getHint() + * @generated + */ + void setHint(String value); + + /** + * Returns the value of the '<em><b>Children</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * There are representations that can be contained by this induced representation like attribtutes inside attribute compartment. + * <!-- end-model-doc --> + * @return the value of the '<em>Children</em>' reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getInducedRepresentation_Children() + * @model ordered="false" + * @generated + */ + EList<Representation> getChildren(); + +} // InducedRepresentation diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/Representation.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/Representation.java index cc1ae3b019a..4612a95c669 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/Representation.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/Representation.java @@ -1,109 +1,97 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Representation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * A representation is en element that is displyed on a diagram it is attached to a controler (see editpart) and to a notation structure( build bt the viewFactory)
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getGraphicalElementType <em>Graphical Element Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getInducedRepresentations <em>Induced Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getSubRepresentations <em>Sub Representations</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentation()
- * @model
- * @generated
- */
-public interface Representation extends AbstractRepresentation {
- /**
- * Returns the value of the '<em><b>Graphical Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Graphical Element Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * This the reference of a graphical element type, it can be null.
- * It is used to defined a Flow_port_as_label for example.
- * If it is used the hint has to be null
- * <!-- end-model-doc -->
- * @return the value of the '<em>Graphical Element Type</em>' attribute.
- * @see #setGraphicalElementType(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentation_GraphicalElementType()
- * @model ordered="false"
- * @generated
- */
- String getGraphicalElementType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation#getGraphicalElementType <em>Graphical Element Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Graphical Element Type</em>' attribute.
- * @see #getGraphicalElementType()
- * @generated
- */
- void setGraphicalElementType(String value);
-
- /**
- * Returns the value of the '<em><b>Induced Representations</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Induced Representations</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * This reperesentation that musr be automatically created with this representation, for example compartment, labels
- * <!-- end-model-doc -->
- * @return the value of the '<em>Induced Representations</em>' reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentation_InducedRepresentations()
- * @model ordered="false"
- * @generated
- */
- EList<InducedRepresentation> getInducedRepresentations();
-
- /**
- * Returns the value of the '<em><b>Sub Representations</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Sub Representations</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * this is representation that can be directly create inside this representation for example borderItems like ports
- * <!-- end-model-doc -->
- * @return the value of the '<em>Sub Representations</em>' reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentation_SubRepresentations()
- * @model ordered="false"
- * @generated
- */
- EList<Representation> getSubRepresentations();
-
-} // Representation
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Representation</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * A representation is en element that is displayed on a diagram it is attached to a controler (see editpart) and to a notation structure( build bt the viewFactory) + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getGraphicalElementType <em>Graphical Element Type</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getInducedRepresentations <em>Induced Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getSubRepresentations <em>Sub Representations</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentation() + * @model + * @generated + */ +public interface Representation extends AbstractRepresentation { + /** + * Returns the value of the '<em><b>Graphical Element Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * This the reference of a graphical element type, it can be null. + * It is used to defined a Flow_port_as_label for example. + * If it is used the hint has to be null + * <!-- end-model-doc --> + * @return the value of the '<em>Graphical Element Type</em>' attribute. + * @see #setGraphicalElementType(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentation_GraphicalElementType() + * @model ordered="false" + * @generated + */ + String getGraphicalElementType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation#getGraphicalElementType <em>Graphical Element Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Graphical Element Type</em>' attribute. + * @see #getGraphicalElementType() + * @generated + */ + void setGraphicalElementType(String value); + + /** + * Returns the value of the '<em><b>Induced Representations</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * This reperesentation that musr be automatically created with this representation, for example compartment, labels + * <!-- end-model-doc --> + * @return the value of the '<em>Induced Representations</em>' reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentation_InducedRepresentations() + * @model ordered="false" + * @generated + */ + EList<InducedRepresentation> getInducedRepresentations(); + + /** + * Returns the value of the '<em><b>Sub Representations</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * this is representation that can be directly create inside this representation for example borderItems like ports + * <!-- end-model-doc --> + * @return the value of the '<em>Sub Representations</em>' reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentation_SubRepresentations() + * @model ordered="false" + * @generated + */ + EList<Representation> getSubRepresentations(); + +} // Representation diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/RepresentationKind.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/RepresentationKind.java index ff84d7bca67..48d2903f54e 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/RepresentationKind.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/RepresentationKind.java @@ -1,123 +1,111 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Representation Kind</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getViewFactory <em>View Factory</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentationKind()
- * @model
- * @generated
- */
-public interface RepresentationKind extends EObject {
- /**
- * Returns the value of the '<em><b>Edit Part Qualified Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Edit Part Qualified Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * It references the controler see GEF framework
- * <!-- end-model-doc -->
- * @return the value of the '<em>Edit Part Qualified Name</em>' attribute.
- * @see #setEditPartQualifiedName(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentationKind_EditPartQualifiedName()
- * @model required="true" ordered="false"
- * @generated
- */
- String getEditPartQualifiedName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Edit Part Qualified Name</em>' attribute.
- * @see #getEditPartQualifiedName()
- * @generated
- */
- void setEditPartQualifiedName(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * It is more like a comment, it is no used by interpretors.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentationKind_Name()
- * @model required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>View Factory</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>View Factory</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * It references the factory of notation element see (model inside GEF framework)
- * <!-- end-model-doc -->
- * @return the value of the '<em>View Factory</em>' attribute.
- * @see #setViewFactory(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getRepresentationKind_ViewFactory()
- * @model required="true" ordered="false"
- * @generated
- */
- String getViewFactory();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind#getViewFactory <em>View Factory</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>View Factory</em>' attribute.
- * @see #getViewFactory()
- * @generated
- */
- void setViewFactory(String value);
-
-} // RepresentationKind
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Representation Kind</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getViewFactory <em>View Factory</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentationKind() + * @model + * @generated + */ +public interface RepresentationKind extends EObject { + /** + * Returns the value of the '<em><b>Edit Part Qualified Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * It references the controler see GEF framework + * <!-- end-model-doc --> + * @return the value of the '<em>Edit Part Qualified Name</em>' attribute. + * @see #setEditPartQualifiedName(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentationKind_EditPartQualifiedName() + * @model required="true" ordered="false" + * @generated + */ + String getEditPartQualifiedName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Edit Part Qualified Name</em>' attribute. + * @see #getEditPartQualifiedName() + * @generated + */ + void setEditPartQualifiedName(String value); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * It is more like a comment, it is no used by interpretors. + * <!-- end-model-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentationKind_Name() + * @model required="true" ordered="false" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>View Factory</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * It references the factory of notation element see (model inside GEF framework) + * <!-- end-model-doc --> + * @return the value of the '<em>View Factory</em>' attribute. + * @see #setViewFactory(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getRepresentationKind_ViewFactory() + * @model required="true" ordered="false" + * @generated + */ + String getViewFactory(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind#getViewFactory <em>View Factory</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>View Factory</em>' attribute. + * @see #getViewFactory() + * @generated + */ + void setViewFactory(String value); + +} // RepresentationKind diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/UseContext.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/UseContext.java index d433e95d237..34381a44be8 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/UseContext.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/UseContext.java @@ -1,159 +1,147 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Use Context</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDiagramType <em>Diagram Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getRepresentations <em>Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getGmftRepresentations <em>Gmft Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext()
- * @model
- * @generated
- */
-public interface UseContext extends EObject {
- /**
- * Returns the value of the '<em><b>Diagram Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Diagram Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * DT is a key that repreferences an existing diagram (such as class diagram) or a reference to a ViewPoint (view prototype identifier)
- * <!-- end-model-doc -->
- * @return the value of the '<em>Diagram Type</em>' attribute.
- * @see #setDiagramType(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_DiagramType()
- * @model required="true" ordered="false"
- * @generated
- */
- String getDiagramType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDiagramType <em>Diagram Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Diagram Type</em>' attribute.
- * @see #getDiagramType()
- * @generated
- */
- void setDiagramType(String value);
-
- /**
- * Returns the value of the '<em><b>Representations</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Representations</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * This is all representation that the framework must have to extend or add.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Representations</em>' reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_Representations()
- * @model required="true" ordered="false"
- * @generated
- */
- EList<Representation> getRepresentations();
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * It is more like a comment, it is no used by interpretors.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_Name()
- * @model required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Gmft Representations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Gmft Representations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Gmft Representations</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_GmftRepresentations()
- * @model containment="true" ordered="false"
- * @generated
- */
- EList<GMFT_BasedRepresentation> getGmftRepresentations();
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_Description()
- * @model ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
-} // UseContext
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Use Context</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDiagramType <em>Diagram Type</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getRepresentations <em>Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getGmftRepresentations <em>Gmft Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDescription <em>Description</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getUseContext() + * @model + * @generated + */ +public interface UseContext extends EObject { + /** + * Returns the value of the '<em><b>Diagram Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * DT is a key that repreferences an existing diagram (such as class diagram) or a reference to a ViewPoint (view prototype identifier) + * <!-- end-model-doc --> + * @return the value of the '<em>Diagram Type</em>' attribute. + * @see #setDiagramType(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getUseContext_DiagramType() + * @model required="true" ordered="false" + * @generated + */ + String getDiagramType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDiagramType <em>Diagram Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Diagram Type</em>' attribute. + * @see #getDiagramType() + * @generated + */ + void setDiagramType(String value); + + /** + * Returns the value of the '<em><b>Representations</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * This is all representation that the framework must have to extend or add. + * <!-- end-model-doc --> + * @return the value of the '<em>Representations</em>' reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getUseContext_Representations() + * @model required="true" ordered="false" + * @generated + */ + EList<Representation> getRepresentations(); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * It is more like a comment, it is no used by interpretors. + * <!-- end-model-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getUseContext_Name() + * @model required="true" ordered="false" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Gmft Representations</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Gmft Representations</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Gmft Representations</em>' containment reference list. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getUseContext_GmftRepresentations() + * @model containment="true" ordered="false" + * @generated + */ + EList<GMFT_BasedRepresentation> getGmftRepresentations(); + + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(String) + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#getUseContext_Description() + * @model ordered="false" + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext#getDescription <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' attribute. + * @see #getDescription() + * @generated + */ + void setDescription(String value); + +} // UseContext diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/AbstractRepresentationImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/AbstractRepresentationImpl.java index f38ee7fefc4..060d60b3d46 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/AbstractRepresentationImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/AbstractRepresentationImpl.java @@ -1,451 +1,451 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import java.lang.reflect.InvocationTargetException;
-
-import java.util.Map;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.BasicDiagnostic;
-import org.eclipse.emf.common.util.Diagnostic;
-import org.eclipse.emf.common.util.DiagnosticChain;
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.emf.ecore.util.EObjectValidator;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelValidator;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Abstract Representation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#getViewFactory <em>View Factory</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @generated
- */
-public abstract class AbstractRepresentationImpl extends MinimalEObjectImpl.Container implements AbstractRepresentation {
- /**
- * The default value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditPartQualifiedName()
- * @generated
- * @ordered
- */
- protected static final String EDIT_PART_QUALIFIED_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditPartQualifiedName()
- * @generated
- * @ordered
- */
- protected String editPartQualifiedName = EDIT_PART_QUALIFIED_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getKind() <em>Kind</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected RepresentationKind kind;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getViewFactory()
- * @generated
- * @ordered
- */
- protected static final String VIEW_FACTORY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getViewFactory()
- * @generated
- * @ordered
- */
- protected String viewFactory = VIEW_FACTORY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AbstractRepresentationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.ABSTRACT_REPRESENTATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEditPartQualifiedName() {
- return editPartQualifiedName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEditPartQualifiedName(String newEditPartQualifiedName) {
- String oldEditPartQualifiedName = editPartQualifiedName;
- editPartQualifiedName = newEditPartQualifiedName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME, oldEditPartQualifiedName, editPartQualifiedName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RepresentationKind getKind() {
- if (kind != null && kind.eIsProxy()) {
- InternalEObject oldKind = (InternalEObject)kind;
- kind = (RepresentationKind)eResolveProxy(oldKind);
- if (kind != oldKind) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND, oldKind, kind));
- }
- }
- return kind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RepresentationKind basicGetKind() {
- return kind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setKind(RepresentationKind newKind) {
- RepresentationKind oldKind = kind;
- kind = newKind;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND, oldKind, kind));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getViewFactory() {
- return viewFactory;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setViewFactory(String newViewFactory) {
- String oldViewFactory = viewFactory;
- viewFactory = newViewFactory;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY, oldViewFactory, viewFactory));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validate(DiagnosticChain diagnostic, Map context) {
- // TODO: implement this method
- // -> specify the condition that violates the invariant
- // -> verify the details of the diagnostic, including severity and message
- // Ensure that you remove @generated or mark it @generated NOT
- if (false) {
- if (diagnostic != null) {
- diagnostic.add
- (new BasicDiagnostic
- (Diagnostic.ERROR,
- ExpansionmodelValidator.DIAGNOSTIC_SOURCE,
- ExpansionmodelValidator.ABSTRACT_REPRESENTATION__VALIDATE,
- EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "validate", EObjectValidator.getObjectLabel(this, context) }),
- new Object [] { this }));
- }
- return false;
- }
- return true;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME:
- return getEditPartQualifiedName();
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND:
- if (resolve) return getKind();
- return basicGetKind();
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME:
- return getName();
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY:
- return getViewFactory();
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME:
- setEditPartQualifiedName((String)newValue);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND:
- setKind((RepresentationKind)newValue);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME:
- setName((String)newValue);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY:
- setViewFactory((String)newValue);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION:
- setDescription((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME:
- setEditPartQualifiedName(EDIT_PART_QUALIFIED_NAME_EDEFAULT);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND:
- setKind((RepresentationKind)null);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY:
- setViewFactory(VIEW_FACTORY_EDEFAULT);
- return;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME:
- return EDIT_PART_QUALIFIED_NAME_EDEFAULT == null ? editPartQualifiedName != null : !EDIT_PART_QUALIFIED_NAME_EDEFAULT.equals(editPartQualifiedName);
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND:
- return kind != null;
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY:
- return VIEW_FACTORY_EDEFAULT == null ? viewFactory != null : !VIEW_FACTORY_EDEFAULT.equals(viewFactory);
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
- switch (operationID) {
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP:
- return validate((DiagnosticChain)arguments.get(0), (Map)arguments.get(1));
- }
- return super.eInvoke(operationID, arguments);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (editPartQualifiedName: ");
- result.append(editPartQualifiedName);
- result.append(", name: ");
- result.append(name);
- result.append(", viewFactory: ");
- result.append(viewFactory);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} //AbstractRepresentationImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Map; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelValidator; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Abstract Representation</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl#getKind <em>Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl#getViewFactory <em>View Factory</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.AbstractRepresentationImpl#getDescription <em>Description</em>}</li> + * </ul> + * + * @generated + */ +public abstract class AbstractRepresentationImpl extends MinimalEObjectImpl.Container implements AbstractRepresentation { + /** + * The default value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditPartQualifiedName() + * @generated + * @ordered + */ + protected static final String EDIT_PART_QUALIFIED_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditPartQualifiedName() + * @generated + * @ordered + */ + protected String editPartQualifiedName = EDIT_PART_QUALIFIED_NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getKind() <em>Kind</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getKind() + * @generated + * @ordered + */ + protected RepresentationKind kind; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getViewFactory() + * @generated + * @ordered + */ + protected static final String VIEW_FACTORY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getViewFactory() + * @generated + * @ordered + */ + protected String viewFactory = VIEW_FACTORY_EDEFAULT; + + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AbstractRepresentationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.ABSTRACT_REPRESENTATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEditPartQualifiedName() { + return editPartQualifiedName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEditPartQualifiedName(String newEditPartQualifiedName) { + String oldEditPartQualifiedName = editPartQualifiedName; + editPartQualifiedName = newEditPartQualifiedName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME, oldEditPartQualifiedName, editPartQualifiedName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RepresentationKind getKind() { + if (kind != null && kind.eIsProxy()) { + InternalEObject oldKind = (InternalEObject)kind; + kind = (RepresentationKind)eResolveProxy(oldKind); + if (kind != oldKind) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND, oldKind, kind)); + } + } + return kind; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RepresentationKind basicGetKind() { + return kind; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKind(RepresentationKind newKind) { + RepresentationKind oldKind = kind; + kind = newKind; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND, oldKind, kind)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getViewFactory() { + return viewFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setViewFactory(String newViewFactory) { + String oldViewFactory = viewFactory; + viewFactory = newViewFactory; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY, oldViewFactory, viewFactory)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(String newDescription) { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validate(DiagnosticChain diagnostic, Map context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostic != null) { + diagnostic.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ExpansionmodelValidator.DIAGNOSTIC_SOURCE, + ExpansionmodelValidator.ABSTRACT_REPRESENTATION__VALIDATE, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "validate", EObjectValidator.getObjectLabel(this, context) }), + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME: + return getEditPartQualifiedName(); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND: + if (resolve) return getKind(); + return basicGetKind(); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME: + return getName(); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY: + return getViewFactory(); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION: + return getDescription(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME: + setEditPartQualifiedName((String)newValue); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND: + setKind((RepresentationKind)newValue); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME: + setName((String)newValue); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY: + setViewFactory((String)newValue); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION: + setDescription((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME: + setEditPartQualifiedName(EDIT_PART_QUALIFIED_NAME_EDEFAULT); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND: + setKind((RepresentationKind)null); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME: + setName(NAME_EDEFAULT); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY: + setViewFactory(VIEW_FACTORY_EDEFAULT); + return; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME: + return EDIT_PART_QUALIFIED_NAME_EDEFAULT == null ? editPartQualifiedName != null : !EDIT_PART_QUALIFIED_NAME_EDEFAULT.equals(editPartQualifiedName); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__KIND: + return kind != null; + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__VIEW_FACTORY: + return VIEW_FACTORY_EDEFAULT == null ? viewFactory != null : !VIEW_FACTORY_EDEFAULT.equals(viewFactory); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP: + return validate((DiagnosticChain)arguments.get(0), (Map)arguments.get(1)); + } + return super.eInvoke(operationID, arguments); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (editPartQualifiedName: "); + result.append(editPartQualifiedName); + result.append(", name: "); + result.append(name); + result.append(", viewFactory: "); + result.append(viewFactory); + result.append(", description: "); + result.append(description); + result.append(')'); + return result.toString(); + } + +} //AbstractRepresentationImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/DiagramExpansionImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/DiagramExpansionImpl.java index 727f19a865f..c19a27c8a0f 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/DiagramExpansionImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/DiagramExpansionImpl.java @@ -1,323 +1,323 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Diagram Expansion</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl#getUsages <em>Usages</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl#getLibraries <em>Libraries</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl#getID <em>ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.DiagramExpansionImpl#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class DiagramExpansionImpl extends MinimalEObjectImpl.Container implements DiagramExpansion {
- /**
- * The cached value of the '{@link #getUsages() <em>Usages</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUsages()
- * @generated
- * @ordered
- */
- protected EList<UseContext> usages;
-
- /**
- * The cached value of the '{@link #getLibraries() <em>Libraries</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLibraries()
- * @generated
- * @ordered
- */
- protected EList<GraphicalElementLibrary> libraries;
-
- /**
- * The default value of the '{@link #getID() <em>ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getID()
- * @generated
- * @ordered
- */
- protected static final String ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getID() <em>ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getID()
- * @generated
- * @ordered
- */
- protected String id = ID_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DiagramExpansionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.DIAGRAM_EXPANSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<UseContext> getUsages() {
- if (usages == null) {
- usages = new EObjectContainmentEList<UseContext>(UseContext.class, this, ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES);
- }
- return usages;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<GraphicalElementLibrary> getLibraries() {
- if (libraries == null) {
- libraries = new EObjectContainmentEList<GraphicalElementLibrary>(GraphicalElementLibrary.class, this, ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES);
- }
- return libraries;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getID() {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setID(String newID) {
- String oldID = id;
- id = newID;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.DIAGRAM_EXPANSION__ID, oldID, id));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES:
- return ((InternalEList<?>)getUsages()).basicRemove(otherEnd, msgs);
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES:
- return ((InternalEList<?>)getLibraries()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES:
- return getUsages();
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES:
- return getLibraries();
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID:
- return getID();
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES:
- getUsages().clear();
- getUsages().addAll((Collection<? extends UseContext>)newValue);
- return;
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES:
- getLibraries().clear();
- getLibraries().addAll((Collection<? extends GraphicalElementLibrary>)newValue);
- return;
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID:
- setID((String)newValue);
- return;
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION:
- setDescription((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES:
- getUsages().clear();
- return;
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES:
- getLibraries().clear();
- return;
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID:
- setID(ID_EDEFAULT);
- return;
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES:
- return usages != null && !usages.isEmpty();
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES:
- return libraries != null && !libraries.isEmpty();
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
- case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (ID: ");
- result.append(id);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} //DiagramExpansionImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Diagram Expansion</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl#getUsages <em>Usages</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl#getLibraries <em>Libraries</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl#getID <em>ID</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.DiagramExpansionImpl#getDescription <em>Description</em>}</li> + * </ul> + * + * @generated + */ +public class DiagramExpansionImpl extends MinimalEObjectImpl.Container implements DiagramExpansion { + /** + * The cached value of the '{@link #getUsages() <em>Usages</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUsages() + * @generated + * @ordered + */ + protected EList<UseContext> usages; + + /** + * The cached value of the '{@link #getLibraries() <em>Libraries</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLibraries() + * @generated + * @ordered + */ + protected EList<GraphicalElementLibrary> libraries; + + /** + * The default value of the '{@link #getID() <em>ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getID() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getID() <em>ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getID() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DiagramExpansionImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.DIAGRAM_EXPANSION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<UseContext> getUsages() { + if (usages == null) { + usages = new EObjectContainmentEList<UseContext>(UseContext.class, this, ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES); + } + return usages; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<GraphicalElementLibrary> getLibraries() { + if (libraries == null) { + libraries = new EObjectContainmentEList<GraphicalElementLibrary>(GraphicalElementLibrary.class, this, ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES); + } + return libraries; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getID() { + return id; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setID(String newID) { + String oldID = id; + id = newID; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.DIAGRAM_EXPANSION__ID, oldID, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(String newDescription) { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES: + return ((InternalEList<?>)getUsages()).basicRemove(otherEnd, msgs); + case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES: + return ((InternalEList<?>)getLibraries()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES: + return getUsages(); + case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES: + return getLibraries(); + case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID: + return getID(); + case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION: + return getDescription(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES: + getUsages().clear(); + getUsages().addAll((Collection<? extends UseContext>)newValue); + return; + case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES: + getLibraries().clear(); + getLibraries().addAll((Collection<? extends GraphicalElementLibrary>)newValue); + return; + case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID: + setID((String)newValue); + return; + case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION: + setDescription((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES: + getUsages().clear(); + return; + case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES: + getLibraries().clear(); + return; + case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID: + setID(ID_EDEFAULT); + return; + case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.DIAGRAM_EXPANSION__USAGES: + return usages != null && !usages.isEmpty(); + case ExpansionmodelPackage.DIAGRAM_EXPANSION__LIBRARIES: + return libraries != null && !libraries.isEmpty(); + case ExpansionmodelPackage.DIAGRAM_EXPANSION__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + case ExpansionmodelPackage.DIAGRAM_EXPANSION__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (ID: "); + result.append(id); + result.append(", description: "); + result.append(description); + result.append(')'); + return result.toString(); + } + +} //DiagramExpansionImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/ExpansionmodelFactoryImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/ExpansionmodelFactoryImpl.java index e7a47dd1751..aca5cd11b70 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/ExpansionmodelFactoryImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/ExpansionmodelFactoryImpl.java @@ -1,171 +1,171 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ExpansionmodelFactoryImpl extends EFactoryImpl implements ExpansionmodelFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ExpansionmodelFactory init() {
- try {
- ExpansionmodelFactory theExpansionmodelFactory = (ExpansionmodelFactory)EPackage.Registry.INSTANCE.getEFactory(ExpansionmodelPackage.eNS_URI);
- if (theExpansionmodelFactory != null) {
- return theExpansionmodelFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ExpansionmodelFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExpansionmodelFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ExpansionmodelPackage.REPRESENTATION: return createRepresentation();
- case ExpansionmodelPackage.REPRESENTATION_KIND: return createRepresentationKind();
- case ExpansionmodelPackage.INDUCED_REPRESENTATION: return createInducedRepresentation();
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY: return createGraphicalElementLibrary();
- case ExpansionmodelPackage.USE_CONTEXT: return createUseContext();
- case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION: return createGMFT_BasedRepresentation();
- case ExpansionmodelPackage.DIAGRAM_EXPANSION: return createDiagramExpansion();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Representation createRepresentation() {
- RepresentationImpl representation = new RepresentationImpl();
- return representation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RepresentationKind createRepresentationKind() {
- RepresentationKindImpl representationKind = new RepresentationKindImpl();
- return representationKind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InducedRepresentation createInducedRepresentation() {
- InducedRepresentationImpl inducedRepresentation = new InducedRepresentationImpl();
- return inducedRepresentation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public GraphicalElementLibrary createGraphicalElementLibrary() {
- GraphicalElementLibraryImpl graphicalElementLibrary = new GraphicalElementLibraryImpl();
- return graphicalElementLibrary;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UseContext createUseContext() {
- UseContextImpl useContext = new UseContextImpl();
- return useContext;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public GMFT_BasedRepresentation createGMFT_BasedRepresentation() {
- GMFT_BasedRepresentationImpl gmfT_BasedRepresentation = new GMFT_BasedRepresentationImpl();
- return gmfT_BasedRepresentation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DiagramExpansion createDiagramExpansion() {
- DiagramExpansionImpl diagramExpansion = new DiagramExpansionImpl();
- return diagramExpansion;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExpansionmodelPackage getExpansionmodelPackage() {
- return (ExpansionmodelPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ExpansionmodelPackage getPackage() {
- return ExpansionmodelPackage.eINSTANCE;
- }
-
-} //ExpansionmodelFactoryImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ExpansionmodelFactoryImpl extends EFactoryImpl implements ExpansionmodelFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ExpansionmodelFactory init() { + try { + ExpansionmodelFactory theExpansionmodelFactory = (ExpansionmodelFactory)EPackage.Registry.INSTANCE.getEFactory(ExpansionmodelPackage.eNS_URI); + if (theExpansionmodelFactory != null) { + return theExpansionmodelFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ExpansionmodelFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpansionmodelFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ExpansionmodelPackage.REPRESENTATION: return createRepresentation(); + case ExpansionmodelPackage.REPRESENTATION_KIND: return createRepresentationKind(); + case ExpansionmodelPackage.INDUCED_REPRESENTATION: return createInducedRepresentation(); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY: return createGraphicalElementLibrary(); + case ExpansionmodelPackage.USE_CONTEXT: return createUseContext(); + case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION: return createGMFT_BasedRepresentation(); + case ExpansionmodelPackage.DIAGRAM_EXPANSION: return createDiagramExpansion(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Representation createRepresentation() { + RepresentationImpl representation = new RepresentationImpl(); + return representation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RepresentationKind createRepresentationKind() { + RepresentationKindImpl representationKind = new RepresentationKindImpl(); + return representationKind; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InducedRepresentation createInducedRepresentation() { + InducedRepresentationImpl inducedRepresentation = new InducedRepresentationImpl(); + return inducedRepresentation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GraphicalElementLibrary createGraphicalElementLibrary() { + GraphicalElementLibraryImpl graphicalElementLibrary = new GraphicalElementLibraryImpl(); + return graphicalElementLibrary; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UseContext createUseContext() { + UseContextImpl useContext = new UseContextImpl(); + return useContext; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GMFT_BasedRepresentation createGMFT_BasedRepresentation() { + GMFT_BasedRepresentationImpl gmfT_BasedRepresentation = new GMFT_BasedRepresentationImpl(); + return gmfT_BasedRepresentation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DiagramExpansion createDiagramExpansion() { + DiagramExpansionImpl diagramExpansion = new DiagramExpansionImpl(); + return diagramExpansion; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpansionmodelPackage getExpansionmodelPackage() { + return (ExpansionmodelPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static ExpansionmodelPackage getPackage() { + return ExpansionmodelPackage.eINSTANCE; + } + +} //ExpansionmodelFactoryImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/ExpansionmodelPackageImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/ExpansionmodelPackageImpl.java index 586188cfaa0..754a9920f36 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/ExpansionmodelPackageImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/ExpansionmodelPackageImpl.java @@ -1,651 +1,651 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EValidator;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelFactory;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelValidator;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ExpansionmodelPackageImpl extends EPackageImpl implements ExpansionmodelPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass representationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass abstractRepresentationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass representationKindEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass inducedRepresentationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass graphicalElementLibraryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass useContextEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass gmfT_BasedRepresentationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass diagramExpansionEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ExpansionmodelPackageImpl() {
- super(eNS_URI, ExpansionmodelFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link ExpansionmodelPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static ExpansionmodelPackage init() {
- if (isInited) return (ExpansionmodelPackage)EPackage.Registry.INSTANCE.getEPackage(ExpansionmodelPackage.eNS_URI);
-
- // Obtain or create and register package
- ExpansionmodelPackageImpl theExpansionmodelPackage = (ExpansionmodelPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpansionmodelPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpansionmodelPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theExpansionmodelPackage.createPackageContents();
-
- // Initialize created meta-data
- theExpansionmodelPackage.initializePackageContents();
-
- // Register package validator
- EValidator.Registry.INSTANCE.put
- (theExpansionmodelPackage,
- new EValidator.Descriptor() {
- public EValidator getEValidator() {
- return ExpansionmodelValidator.INSTANCE;
- }
- });
-
- // Mark meta-data to indicate it can't be changed
- theExpansionmodelPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ExpansionmodelPackage.eNS_URI, theExpansionmodelPackage);
- return theExpansionmodelPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRepresentation() {
- return representationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRepresentation_GraphicalElementType() {
- return (EAttribute)representationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRepresentation_InducedRepresentations() {
- return (EReference)representationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRepresentation_SubRepresentations() {
- return (EReference)representationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAbstractRepresentation() {
- return abstractRepresentationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAbstractRepresentation_EditPartQualifiedName() {
- return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAbstractRepresentation_Kind() {
- return (EReference)abstractRepresentationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAbstractRepresentation_Name() {
- return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAbstractRepresentation_ViewFactory() {
- return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAbstractRepresentation_Description() {
- return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getAbstractRepresentation__Validate__DiagnosticChain_Map() {
- return abstractRepresentationEClass.getEOperations().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRepresentationKind() {
- return representationKindEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRepresentationKind_EditPartQualifiedName() {
- return (EAttribute)representationKindEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRepresentationKind_Name() {
- return (EAttribute)representationKindEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRepresentationKind_ViewFactory() {
- return (EAttribute)representationKindEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInducedRepresentation() {
- return inducedRepresentationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getInducedRepresentation_Hint() {
- return (EAttribute)inducedRepresentationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInducedRepresentation_Children() {
- return (EReference)inducedRepresentationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getGraphicalElementLibrary() {
- return graphicalElementLibraryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getGraphicalElementLibrary_Name() {
- return (EAttribute)graphicalElementLibraryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getGraphicalElementLibrary_Representationkinds() {
- return (EReference)graphicalElementLibraryEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getGraphicalElementLibrary_Representations() {
- return (EReference)graphicalElementLibraryEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getGraphicalElementLibrary_Description() {
- return (EAttribute)graphicalElementLibraryEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUseContext() {
- return useContextEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUseContext_DiagramType() {
- return (EAttribute)useContextEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUseContext_Representations() {
- return (EReference)useContextEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUseContext_Name() {
- return (EAttribute)useContextEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUseContext_GmftRepresentations() {
- return (EReference)useContextEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUseContext_Description() {
- return (EAttribute)useContextEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getGMFT_BasedRepresentation() {
- return gmfT_BasedRepresentationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getGMFT_BasedRepresentation_ReusedID() {
- return (EAttribute)gmfT_BasedRepresentationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDiagramExpansion() {
- return diagramExpansionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDiagramExpansion_Usages() {
- return (EReference)diagramExpansionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDiagramExpansion_Libraries() {
- return (EReference)diagramExpansionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDiagramExpansion_ID() {
- return (EAttribute)diagramExpansionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDiagramExpansion_Description() {
- return (EAttribute)diagramExpansionEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExpansionmodelFactory getExpansionmodelFactory() {
- return (ExpansionmodelFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- representationEClass = createEClass(REPRESENTATION);
- createEAttribute(representationEClass, REPRESENTATION__GRAPHICAL_ELEMENT_TYPE);
- createEReference(representationEClass, REPRESENTATION__INDUCED_REPRESENTATIONS);
- createEReference(representationEClass, REPRESENTATION__SUB_REPRESENTATIONS);
-
- abstractRepresentationEClass = createEClass(ABSTRACT_REPRESENTATION);
- createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME);
- createEReference(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__KIND);
- createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__NAME);
- createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__VIEW_FACTORY);
- createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__DESCRIPTION);
- createEOperation(abstractRepresentationEClass, ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP);
-
- representationKindEClass = createEClass(REPRESENTATION_KIND);
- createEAttribute(representationKindEClass, REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME);
- createEAttribute(representationKindEClass, REPRESENTATION_KIND__NAME);
- createEAttribute(representationKindEClass, REPRESENTATION_KIND__VIEW_FACTORY);
-
- inducedRepresentationEClass = createEClass(INDUCED_REPRESENTATION);
- createEAttribute(inducedRepresentationEClass, INDUCED_REPRESENTATION__HINT);
- createEReference(inducedRepresentationEClass, INDUCED_REPRESENTATION__CHILDREN);
-
- graphicalElementLibraryEClass = createEClass(GRAPHICAL_ELEMENT_LIBRARY);
- createEAttribute(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__NAME);
- createEReference(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS);
- createEReference(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS);
- createEAttribute(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION);
-
- useContextEClass = createEClass(USE_CONTEXT);
- createEAttribute(useContextEClass, USE_CONTEXT__DIAGRAM_TYPE);
- createEReference(useContextEClass, USE_CONTEXT__REPRESENTATIONS);
- createEAttribute(useContextEClass, USE_CONTEXT__NAME);
- createEReference(useContextEClass, USE_CONTEXT__GMFT_REPRESENTATIONS);
- createEAttribute(useContextEClass, USE_CONTEXT__DESCRIPTION);
-
- gmfT_BasedRepresentationEClass = createEClass(GMFT_BASED_REPRESENTATION);
- createEAttribute(gmfT_BasedRepresentationEClass, GMFT_BASED_REPRESENTATION__REUSED_ID);
-
- diagramExpansionEClass = createEClass(DIAGRAM_EXPANSION);
- createEReference(diagramExpansionEClass, DIAGRAM_EXPANSION__USAGES);
- createEReference(diagramExpansionEClass, DIAGRAM_EXPANSION__LIBRARIES);
- createEAttribute(diagramExpansionEClass, DIAGRAM_EXPANSION__ID);
- createEAttribute(diagramExpansionEClass, DIAGRAM_EXPANSION__DESCRIPTION);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- representationEClass.getESuperTypes().add(this.getAbstractRepresentation());
- inducedRepresentationEClass.getESuperTypes().add(this.getAbstractRepresentation());
- gmfT_BasedRepresentationEClass.getESuperTypes().add(this.getRepresentation());
-
- // Initialize classes, features, and operations; add parameters
- initEClass(representationEClass, Representation.class, "Representation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRepresentation_GraphicalElementType(), ecorePackage.getEString(), "graphicalElementType", null, 0, 1, Representation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRepresentation_InducedRepresentations(), this.getInducedRepresentation(), null, "inducedRepresentations", null, 0, -1, Representation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRepresentation_SubRepresentations(), this.getRepresentation(), null, "subRepresentations", null, 0, -1, Representation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(abstractRepresentationEClass, AbstractRepresentation.class, "AbstractRepresentation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAbstractRepresentation_EditPartQualifiedName(), ecorePackage.getEString(), "editPartQualifiedName", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getAbstractRepresentation_Kind(), this.getRepresentationKind(), null, "kind", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractRepresentation_Name(), ecorePackage.getEString(), "name", null, 1, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractRepresentation_ViewFactory(), ecorePackage.getEString(), "viewFactory", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getAbstractRepresentation_Description(), ecorePackage.getEString(), "description", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- EOperation op = initEOperation(getAbstractRepresentation__Validate__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validate", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostic", 1, 1, IS_UNIQUE, !IS_ORDERED);
- addEParameter(op, ecorePackage.getEMap(), "context", 1, 1, IS_UNIQUE, !IS_ORDERED);
-
- initEClass(representationKindEClass, RepresentationKind.class, "RepresentationKind", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRepresentationKind_EditPartQualifiedName(), ecorePackage.getEString(), "editPartQualifiedName", null, 1, 1, RepresentationKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRepresentationKind_Name(), ecorePackage.getEString(), "name", null, 1, 1, RepresentationKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRepresentationKind_ViewFactory(), ecorePackage.getEString(), "viewFactory", null, 1, 1, RepresentationKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(inducedRepresentationEClass, InducedRepresentation.class, "InducedRepresentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInducedRepresentation_Hint(), ecorePackage.getEString(), "hint", null, 1, 1, InducedRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getInducedRepresentation_Children(), this.getRepresentation(), null, "children", null, 0, -1, InducedRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(graphicalElementLibraryEClass, GraphicalElementLibrary.class, "GraphicalElementLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getGraphicalElementLibrary_Name(), ecorePackage.getEString(), "name", null, 1, 1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getGraphicalElementLibrary_Representationkinds(), this.getRepresentationKind(), null, "representationkinds", null, 0, -1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getGraphicalElementLibrary_Representations(), this.getAbstractRepresentation(), null, "representations", null, 0, -1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getGraphicalElementLibrary_Description(), ecorePackage.getEString(), "description", null, 0, 1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(useContextEClass, UseContext.class, "UseContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUseContext_DiagramType(), ecorePackage.getEString(), "diagramType", null, 1, 1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getUseContext_Representations(), this.getRepresentation(), null, "representations", null, 1, -1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getUseContext_Name(), ecorePackage.getEString(), "name", null, 1, 1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getUseContext_GmftRepresentations(), this.getGMFT_BasedRepresentation(), null, "gmftRepresentations", null, 0, -1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getUseContext_Description(), ecorePackage.getEString(), "description", null, 0, 1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(gmfT_BasedRepresentationEClass, GMFT_BasedRepresentation.class, "GMFT_BasedRepresentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getGMFT_BasedRepresentation_ReusedID(), ecorePackage.getEString(), "reusedID", null, 0, 1, GMFT_BasedRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(diagramExpansionEClass, DiagramExpansion.class, "DiagramExpansion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDiagramExpansion_Usages(), this.getUseContext(), null, "usages", null, 0, -1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getDiagramExpansion_Libraries(), this.getGraphicalElementLibrary(), null, "libraries", null, 0, -1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDiagramExpansion_ID(), ecorePackage.getEString(), "ID", null, 1, 1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDiagramExpansion_Description(), ecorePackage.getEString(), "description", null, 0, 1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //ExpansionmodelPackageImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EValidator; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelFactory; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelValidator; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ExpansionmodelPackageImpl extends EPackageImpl implements ExpansionmodelPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass representationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass abstractRepresentationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass representationKindEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass inducedRepresentationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass graphicalElementLibraryEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass useContextEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass gmfT_BasedRepresentationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass diagramExpansionEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage#eNS_URI + * @see #init() + * @generated + */ + private ExpansionmodelPackageImpl() { + super(eNS_URI, ExpansionmodelFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link ExpansionmodelPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ExpansionmodelPackage init() { + if (isInited) return (ExpansionmodelPackage)EPackage.Registry.INSTANCE.getEPackage(ExpansionmodelPackage.eNS_URI); + + // Obtain or create and register package + ExpansionmodelPackageImpl theExpansionmodelPackage = (ExpansionmodelPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpansionmodelPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpansionmodelPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theExpansionmodelPackage.createPackageContents(); + + // Initialize created meta-data + theExpansionmodelPackage.initializePackageContents(); + + // Register package validator + EValidator.Registry.INSTANCE.put + (theExpansionmodelPackage, + new EValidator.Descriptor() { + public EValidator getEValidator() { + return ExpansionmodelValidator.INSTANCE; + } + }); + + // Mark meta-data to indicate it can't be changed + theExpansionmodelPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ExpansionmodelPackage.eNS_URI, theExpansionmodelPackage); + return theExpansionmodelPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRepresentation() { + return representationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRepresentation_GraphicalElementType() { + return (EAttribute)representationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRepresentation_InducedRepresentations() { + return (EReference)representationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRepresentation_SubRepresentations() { + return (EReference)representationEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAbstractRepresentation() { + return abstractRepresentationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAbstractRepresentation_EditPartQualifiedName() { + return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRepresentation_Kind() { + return (EReference)abstractRepresentationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAbstractRepresentation_Name() { + return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAbstractRepresentation_ViewFactory() { + return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAbstractRepresentation_Description() { + return (EAttribute)abstractRepresentationEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getAbstractRepresentation__Validate__DiagnosticChain_Map() { + return abstractRepresentationEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRepresentationKind() { + return representationKindEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRepresentationKind_EditPartQualifiedName() { + return (EAttribute)representationKindEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRepresentationKind_Name() { + return (EAttribute)representationKindEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRepresentationKind_ViewFactory() { + return (EAttribute)representationKindEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getInducedRepresentation() { + return inducedRepresentationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getInducedRepresentation_Hint() { + return (EAttribute)inducedRepresentationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getInducedRepresentation_Children() { + return (EReference)inducedRepresentationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGraphicalElementLibrary() { + return graphicalElementLibraryEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getGraphicalElementLibrary_Name() { + return (EAttribute)graphicalElementLibraryEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGraphicalElementLibrary_Representationkinds() { + return (EReference)graphicalElementLibraryEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGraphicalElementLibrary_Representations() { + return (EReference)graphicalElementLibraryEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getGraphicalElementLibrary_Description() { + return (EAttribute)graphicalElementLibraryEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getUseContext() { + return useContextEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUseContext_DiagramType() { + return (EAttribute)useContextEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getUseContext_Representations() { + return (EReference)useContextEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUseContext_Name() { + return (EAttribute)useContextEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getUseContext_GmftRepresentations() { + return (EReference)useContextEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUseContext_Description() { + return (EAttribute)useContextEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGMFT_BasedRepresentation() { + return gmfT_BasedRepresentationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getGMFT_BasedRepresentation_ReusedID() { + return (EAttribute)gmfT_BasedRepresentationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDiagramExpansion() { + return diagramExpansionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDiagramExpansion_Usages() { + return (EReference)diagramExpansionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDiagramExpansion_Libraries() { + return (EReference)diagramExpansionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDiagramExpansion_ID() { + return (EAttribute)diagramExpansionEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDiagramExpansion_Description() { + return (EAttribute)diagramExpansionEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpansionmodelFactory getExpansionmodelFactory() { + return (ExpansionmodelFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + representationEClass = createEClass(REPRESENTATION); + createEAttribute(representationEClass, REPRESENTATION__GRAPHICAL_ELEMENT_TYPE); + createEReference(representationEClass, REPRESENTATION__INDUCED_REPRESENTATIONS); + createEReference(representationEClass, REPRESENTATION__SUB_REPRESENTATIONS); + + abstractRepresentationEClass = createEClass(ABSTRACT_REPRESENTATION); + createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__EDIT_PART_QUALIFIED_NAME); + createEReference(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__KIND); + createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__NAME); + createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__VIEW_FACTORY); + createEAttribute(abstractRepresentationEClass, ABSTRACT_REPRESENTATION__DESCRIPTION); + createEOperation(abstractRepresentationEClass, ABSTRACT_REPRESENTATION___VALIDATE__DIAGNOSTICCHAIN_MAP); + + representationKindEClass = createEClass(REPRESENTATION_KIND); + createEAttribute(representationKindEClass, REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME); + createEAttribute(representationKindEClass, REPRESENTATION_KIND__NAME); + createEAttribute(representationKindEClass, REPRESENTATION_KIND__VIEW_FACTORY); + + inducedRepresentationEClass = createEClass(INDUCED_REPRESENTATION); + createEAttribute(inducedRepresentationEClass, INDUCED_REPRESENTATION__HINT); + createEReference(inducedRepresentationEClass, INDUCED_REPRESENTATION__CHILDREN); + + graphicalElementLibraryEClass = createEClass(GRAPHICAL_ELEMENT_LIBRARY); + createEAttribute(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__NAME); + createEReference(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS); + createEReference(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS); + createEAttribute(graphicalElementLibraryEClass, GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION); + + useContextEClass = createEClass(USE_CONTEXT); + createEAttribute(useContextEClass, USE_CONTEXT__DIAGRAM_TYPE); + createEReference(useContextEClass, USE_CONTEXT__REPRESENTATIONS); + createEAttribute(useContextEClass, USE_CONTEXT__NAME); + createEReference(useContextEClass, USE_CONTEXT__GMFT_REPRESENTATIONS); + createEAttribute(useContextEClass, USE_CONTEXT__DESCRIPTION); + + gmfT_BasedRepresentationEClass = createEClass(GMFT_BASED_REPRESENTATION); + createEAttribute(gmfT_BasedRepresentationEClass, GMFT_BASED_REPRESENTATION__REUSED_ID); + + diagramExpansionEClass = createEClass(DIAGRAM_EXPANSION); + createEReference(diagramExpansionEClass, DIAGRAM_EXPANSION__USAGES); + createEReference(diagramExpansionEClass, DIAGRAM_EXPANSION__LIBRARIES); + createEAttribute(diagramExpansionEClass, DIAGRAM_EXPANSION__ID); + createEAttribute(diagramExpansionEClass, DIAGRAM_EXPANSION__DESCRIPTION); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + representationEClass.getESuperTypes().add(this.getAbstractRepresentation()); + inducedRepresentationEClass.getESuperTypes().add(this.getAbstractRepresentation()); + gmfT_BasedRepresentationEClass.getESuperTypes().add(this.getRepresentation()); + + // Initialize classes, features, and operations; add parameters + initEClass(representationEClass, Representation.class, "Representation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRepresentation_GraphicalElementType(), ecorePackage.getEString(), "graphicalElementType", null, 0, 1, Representation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRepresentation_InducedRepresentations(), this.getInducedRepresentation(), null, "inducedRepresentations", null, 0, -1, Representation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getRepresentation_SubRepresentations(), this.getRepresentation(), null, "subRepresentations", null, 0, -1, Representation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(abstractRepresentationEClass, AbstractRepresentation.class, "AbstractRepresentation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAbstractRepresentation_EditPartQualifiedName(), ecorePackage.getEString(), "editPartQualifiedName", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getAbstractRepresentation_Kind(), this.getRepresentationKind(), null, "kind", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getAbstractRepresentation_Name(), ecorePackage.getEString(), "name", null, 1, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getAbstractRepresentation_ViewFactory(), ecorePackage.getEString(), "viewFactory", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getAbstractRepresentation_Description(), ecorePackage.getEString(), "description", null, 0, 1, AbstractRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + EOperation op = initEOperation(getAbstractRepresentation__Validate__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validate", 1, 1, IS_UNIQUE, !IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostic", 1, 1, IS_UNIQUE, !IS_ORDERED); + addEParameter(op, ecorePackage.getEMap(), "context", 1, 1, IS_UNIQUE, !IS_ORDERED); + + initEClass(representationKindEClass, RepresentationKind.class, "RepresentationKind", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRepresentationKind_EditPartQualifiedName(), ecorePackage.getEString(), "editPartQualifiedName", null, 1, 1, RepresentationKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRepresentationKind_Name(), ecorePackage.getEString(), "name", null, 1, 1, RepresentationKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRepresentationKind_ViewFactory(), ecorePackage.getEString(), "viewFactory", null, 1, 1, RepresentationKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(inducedRepresentationEClass, InducedRepresentation.class, "InducedRepresentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getInducedRepresentation_Hint(), ecorePackage.getEString(), "hint", null, 1, 1, InducedRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getInducedRepresentation_Children(), this.getRepresentation(), null, "children", null, 0, -1, InducedRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(graphicalElementLibraryEClass, GraphicalElementLibrary.class, "GraphicalElementLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGraphicalElementLibrary_Name(), ecorePackage.getEString(), "name", null, 1, 1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGraphicalElementLibrary_Representationkinds(), this.getRepresentationKind(), null, "representationkinds", null, 0, -1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getGraphicalElementLibrary_Representations(), this.getAbstractRepresentation(), null, "representations", null, 0, -1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getGraphicalElementLibrary_Description(), ecorePackage.getEString(), "description", null, 0, 1, GraphicalElementLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(useContextEClass, UseContext.class, "UseContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getUseContext_DiagramType(), ecorePackage.getEString(), "diagramType", null, 1, 1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getUseContext_Representations(), this.getRepresentation(), null, "representations", null, 1, -1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getUseContext_Name(), ecorePackage.getEString(), "name", null, 1, 1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getUseContext_GmftRepresentations(), this.getGMFT_BasedRepresentation(), null, "gmftRepresentations", null, 0, -1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getUseContext_Description(), ecorePackage.getEString(), "description", null, 0, 1, UseContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(gmfT_BasedRepresentationEClass, GMFT_BasedRepresentation.class, "GMFT_BasedRepresentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGMFT_BasedRepresentation_ReusedID(), ecorePackage.getEString(), "reusedID", null, 0, 1, GMFT_BasedRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(diagramExpansionEClass, DiagramExpansion.class, "DiagramExpansion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDiagramExpansion_Usages(), this.getUseContext(), null, "usages", null, 0, -1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDiagramExpansion_Libraries(), this.getGraphicalElementLibrary(), null, "libraries", null, 0, -1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getDiagramExpansion_ID(), ecorePackage.getEString(), "ID", null, 1, 1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getDiagramExpansion_Description(), ecorePackage.getEString(), "description", null, 0, 1, DiagramExpansion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //ExpansionmodelPackageImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/GMFT_BasedRepresentationImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/GMFT_BasedRepresentationImpl.java index a952ba92192..62fd8061f38 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/GMFT_BasedRepresentationImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/GMFT_BasedRepresentationImpl.java @@ -1,172 +1,172 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>GMFT Based Representation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRepresentationImpl#getReusedID <em>Reused ID</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class GMFT_BasedRepresentationImpl extends RepresentationImpl implements GMFT_BasedRepresentation {
- /**
- * The default value of the '{@link #getReusedID() <em>Reused ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getReusedID()
- * @generated
- * @ordered
- */
- protected static final String REUSED_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getReusedID() <em>Reused ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getReusedID()
- * @generated
- * @ordered
- */
- protected String reusedID = REUSED_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected GMFT_BasedRepresentationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.GMFT_BASED_REPRESENTATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getReusedID() {
- return reusedID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setReusedID(String newReusedID) {
- String oldReusedID = reusedID;
- reusedID = newReusedID;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID, oldReusedID, reusedID));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID:
- return getReusedID();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID:
- setReusedID((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID:
- setReusedID(REUSED_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID:
- return REUSED_ID_EDEFAULT == null ? reusedID != null : !REUSED_ID_EDEFAULT.equals(reusedID);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (reusedID: ");
- result.append(reusedID);
- result.append(')');
- return result.toString();
- }
-
-} //GMFT_BasedRepresentationImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>GMFT Based Representation</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GMFT_BasedRepresentationImpl#getReusedID <em>Reused ID</em>}</li> + * </ul> + * + * @generated + */ +public class GMFT_BasedRepresentationImpl extends RepresentationImpl implements GMFT_BasedRepresentation { + /** + * The default value of the '{@link #getReusedID() <em>Reused ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReusedID() + * @generated + * @ordered + */ + protected static final String REUSED_ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReusedID() <em>Reused ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReusedID() + * @generated + * @ordered + */ + protected String reusedID = REUSED_ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GMFT_BasedRepresentationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.GMFT_BASED_REPRESENTATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getReusedID() { + return reusedID; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReusedID(String newReusedID) { + String oldReusedID = reusedID; + reusedID = newReusedID; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID, oldReusedID, reusedID)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID: + return getReusedID(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID: + setReusedID((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID: + setReusedID(REUSED_ID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION__REUSED_ID: + return REUSED_ID_EDEFAULT == null ? reusedID != null : !REUSED_ID_EDEFAULT.equals(reusedID); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (reusedID: "); + result.append(reusedID); + result.append(')'); + return result.toString(); + } + +} //GMFT_BasedRepresentationImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/GraphicalElementLibraryImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/GraphicalElementLibraryImpl.java index 1fef97f5ac1..792f5ac2b51 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/GraphicalElementLibraryImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/GraphicalElementLibraryImpl.java @@ -1,323 +1,323 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Graphical Element Library</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl#getRepresentationkinds <em>Representationkinds</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl#getRepresentations <em>Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GraphicalElementLibraryImpl#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class GraphicalElementLibraryImpl extends MinimalEObjectImpl.Container implements GraphicalElementLibrary {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getRepresentationkinds() <em>Representationkinds</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRepresentationkinds()
- * @generated
- * @ordered
- */
- protected EList<RepresentationKind> representationkinds;
-
- /**
- * The cached value of the '{@link #getRepresentations() <em>Representations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRepresentations()
- * @generated
- * @ordered
- */
- protected EList<AbstractRepresentation> representations;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected GraphicalElementLibraryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.GRAPHICAL_ELEMENT_LIBRARY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<RepresentationKind> getRepresentationkinds() {
- if (representationkinds == null) {
- representationkinds = new EObjectContainmentEList<RepresentationKind>(RepresentationKind.class, this, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS);
- }
- return representationkinds;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<AbstractRepresentation> getRepresentations() {
- if (representations == null) {
- representations = new EObjectContainmentEList<AbstractRepresentation>(AbstractRepresentation.class, this, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS);
- }
- return representations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS:
- return ((InternalEList<?>)getRepresentationkinds()).basicRemove(otherEnd, msgs);
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS:
- return ((InternalEList<?>)getRepresentations()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME:
- return getName();
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS:
- return getRepresentationkinds();
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS:
- return getRepresentations();
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME:
- setName((String)newValue);
- return;
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS:
- getRepresentationkinds().clear();
- getRepresentationkinds().addAll((Collection<? extends RepresentationKind>)newValue);
- return;
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS:
- getRepresentations().clear();
- getRepresentations().addAll((Collection<? extends AbstractRepresentation>)newValue);
- return;
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION:
- setDescription((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS:
- getRepresentationkinds().clear();
- return;
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS:
- getRepresentations().clear();
- return;
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS:
- return representationkinds != null && !representationkinds.isEmpty();
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS:
- return representations != null && !representations.isEmpty();
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} //GraphicalElementLibraryImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Graphical Element Library</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl#getRepresentationkinds <em>Representationkinds</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl#getRepresentations <em>Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GraphicalElementLibraryImpl#getDescription <em>Description</em>}</li> + * </ul> + * + * @generated + */ +public class GraphicalElementLibraryImpl extends MinimalEObjectImpl.Container implements GraphicalElementLibrary { + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getRepresentationkinds() <em>Representationkinds</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRepresentationkinds() + * @generated + * @ordered + */ + protected EList<RepresentationKind> representationkinds; + + /** + * The cached value of the '{@link #getRepresentations() <em>Representations</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRepresentations() + * @generated + * @ordered + */ + protected EList<AbstractRepresentation> representations; + + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GraphicalElementLibraryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.GRAPHICAL_ELEMENT_LIBRARY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<RepresentationKind> getRepresentationkinds() { + if (representationkinds == null) { + representationkinds = new EObjectContainmentEList<RepresentationKind>(RepresentationKind.class, this, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS); + } + return representationkinds; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRepresentation> getRepresentations() { + if (representations == null) { + representations = new EObjectContainmentEList<AbstractRepresentation>(AbstractRepresentation.class, this, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS); + } + return representations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(String newDescription) { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS: + return ((InternalEList<?>)getRepresentationkinds()).basicRemove(otherEnd, msgs); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS: + return ((InternalEList<?>)getRepresentations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME: + return getName(); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS: + return getRepresentationkinds(); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS: + return getRepresentations(); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION: + return getDescription(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME: + setName((String)newValue); + return; + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS: + getRepresentationkinds().clear(); + getRepresentationkinds().addAll((Collection<? extends RepresentationKind>)newValue); + return; + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS: + getRepresentations().clear(); + getRepresentations().addAll((Collection<? extends AbstractRepresentation>)newValue); + return; + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION: + setDescription((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME: + setName(NAME_EDEFAULT); + return; + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS: + getRepresentationkinds().clear(); + return; + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS: + getRepresentations().clear(); + return; + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONKINDS: + return representationkinds != null && !representationkinds.isEmpty(); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__REPRESENTATIONS: + return representations != null && !representations.isEmpty(); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", description: "); + result.append(description); + result.append(')'); + return result.toString(); + } + +} //GraphicalElementLibraryImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/InducedRepresentationImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/InducedRepresentationImpl.java index 0da701960f9..24426cfa079 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/InducedRepresentationImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/InducedRepresentationImpl.java @@ -1,214 +1,214 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Induced Representation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl#getHint <em>Hint</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl#getChildren <em>Children</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class InducedRepresentationImpl extends AbstractRepresentationImpl implements InducedRepresentation {
- /**
- * The default value of the '{@link #getHint() <em>Hint</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHint()
- * @generated
- * @ordered
- */
- protected static final String HINT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getHint() <em>Hint</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHint()
- * @generated
- * @ordered
- */
- protected String hint = HINT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getChildren() <em>Children</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getChildren()
- * @generated
- * @ordered
- */
- protected EList<Representation> children;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected InducedRepresentationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.INDUCED_REPRESENTATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getHint() {
- return hint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setHint(String newHint) {
- String oldHint = hint;
- hint = newHint;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT, oldHint, hint));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Representation> getChildren() {
- if (children == null) {
- children = new EObjectResolvingEList<Representation>(Representation.class, this, ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN);
- }
- return children;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT:
- return getHint();
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN:
- return getChildren();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT:
- setHint((String)newValue);
- return;
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN:
- getChildren().clear();
- getChildren().addAll((Collection<? extends Representation>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT:
- setHint(HINT_EDEFAULT);
- return;
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN:
- getChildren().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT:
- return HINT_EDEFAULT == null ? hint != null : !HINT_EDEFAULT.equals(hint);
- case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN:
- return children != null && !children.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (hint: ");
- result.append(hint);
- result.append(')');
- return result.toString();
- }
-
-} //InducedRepresentationImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Induced Representation</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl#getHint <em>Hint</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl#getChildren <em>Children</em>}</li> + * </ul> + * + * @generated + */ +public class InducedRepresentationImpl extends AbstractRepresentationImpl implements InducedRepresentation { + /** + * The default value of the '{@link #getHint() <em>Hint</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getHint() + * @generated + * @ordered + */ + protected static final String HINT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHint() <em>Hint</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getHint() + * @generated + * @ordered + */ + protected String hint = HINT_EDEFAULT; + + /** + * The cached value of the '{@link #getChildren() <em>Children</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getChildren() + * @generated + * @ordered + */ + protected EList<Representation> children; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected InducedRepresentationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.INDUCED_REPRESENTATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getHint() { + return hint; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setHint(String newHint) { + String oldHint = hint; + hint = newHint; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT, oldHint, hint)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Representation> getChildren() { + if (children == null) { + children = new EObjectResolvingEList<Representation>(Representation.class, this, ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN); + } + return children; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT: + return getHint(); + case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN: + return getChildren(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT: + setHint((String)newValue); + return; + case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN: + getChildren().clear(); + getChildren().addAll((Collection<? extends Representation>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT: + setHint(HINT_EDEFAULT); + return; + case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN: + getChildren().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.INDUCED_REPRESENTATION__HINT: + return HINT_EDEFAULT == null ? hint != null : !HINT_EDEFAULT.equals(hint); + case ExpansionmodelPackage.INDUCED_REPRESENTATION__CHILDREN: + return children != null && !children.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (hint: "); + result.append(hint); + result.append(')'); + return result.toString(); + } + +} //InducedRepresentationImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/RepresentationImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/RepresentationImpl.java index 6f84d42ce5f..300b810200c 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/RepresentationImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/RepresentationImpl.java @@ -1,248 +1,248 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Representation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl#getGraphicalElementType <em>Graphical Element Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl#getInducedRepresentations <em>Induced Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl#getSubRepresentations <em>Sub Representations</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class RepresentationImpl extends AbstractRepresentationImpl implements Representation {
- /**
- * The default value of the '{@link #getGraphicalElementType() <em>Graphical Element Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGraphicalElementType()
- * @generated
- * @ordered
- */
- protected static final String GRAPHICAL_ELEMENT_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getGraphicalElementType() <em>Graphical Element Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGraphicalElementType()
- * @generated
- * @ordered
- */
- protected String graphicalElementType = GRAPHICAL_ELEMENT_TYPE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getInducedRepresentations() <em>Induced Representations</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInducedRepresentations()
- * @generated
- * @ordered
- */
- protected EList<InducedRepresentation> inducedRepresentations;
-
- /**
- * The cached value of the '{@link #getSubRepresentations() <em>Sub Representations</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSubRepresentations()
- * @generated
- * @ordered
- */
- protected EList<Representation> subRepresentations;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RepresentationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.REPRESENTATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getGraphicalElementType() {
- return graphicalElementType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGraphicalElementType(String newGraphicalElementType) {
- String oldGraphicalElementType = graphicalElementType;
- graphicalElementType = newGraphicalElementType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE, oldGraphicalElementType, graphicalElementType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<InducedRepresentation> getInducedRepresentations() {
- if (inducedRepresentations == null) {
- inducedRepresentations = new EObjectResolvingEList<InducedRepresentation>(InducedRepresentation.class, this, ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS);
- }
- return inducedRepresentations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Representation> getSubRepresentations() {
- if (subRepresentations == null) {
- subRepresentations = new EObjectResolvingEList<Representation>(Representation.class, this, ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS);
- }
- return subRepresentations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE:
- return getGraphicalElementType();
- case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS:
- return getInducedRepresentations();
- case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS:
- return getSubRepresentations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE:
- setGraphicalElementType((String)newValue);
- return;
- case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS:
- getInducedRepresentations().clear();
- getInducedRepresentations().addAll((Collection<? extends InducedRepresentation>)newValue);
- return;
- case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS:
- getSubRepresentations().clear();
- getSubRepresentations().addAll((Collection<? extends Representation>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE:
- setGraphicalElementType(GRAPHICAL_ELEMENT_TYPE_EDEFAULT);
- return;
- case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS:
- getInducedRepresentations().clear();
- return;
- case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS:
- getSubRepresentations().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE:
- return GRAPHICAL_ELEMENT_TYPE_EDEFAULT == null ? graphicalElementType != null : !GRAPHICAL_ELEMENT_TYPE_EDEFAULT.equals(graphicalElementType);
- case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS:
- return inducedRepresentations != null && !inducedRepresentations.isEmpty();
- case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS:
- return subRepresentations != null && !subRepresentations.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (graphicalElementType: ");
- result.append(graphicalElementType);
- result.append(')');
- return result.toString();
- }
-
-} //RepresentationImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Representation</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl#getGraphicalElementType <em>Graphical Element Type</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl#getInducedRepresentations <em>Induced Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl#getSubRepresentations <em>Sub Representations</em>}</li> + * </ul> + * + * @generated + */ +public class RepresentationImpl extends AbstractRepresentationImpl implements Representation { + /** + * The default value of the '{@link #getGraphicalElementType() <em>Graphical Element Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGraphicalElementType() + * @generated + * @ordered + */ + protected static final String GRAPHICAL_ELEMENT_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getGraphicalElementType() <em>Graphical Element Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGraphicalElementType() + * @generated + * @ordered + */ + protected String graphicalElementType = GRAPHICAL_ELEMENT_TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getInducedRepresentations() <em>Induced Representations</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInducedRepresentations() + * @generated + * @ordered + */ + protected EList<InducedRepresentation> inducedRepresentations; + + /** + * The cached value of the '{@link #getSubRepresentations() <em>Sub Representations</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSubRepresentations() + * @generated + * @ordered + */ + protected EList<Representation> subRepresentations; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RepresentationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.REPRESENTATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getGraphicalElementType() { + return graphicalElementType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setGraphicalElementType(String newGraphicalElementType) { + String oldGraphicalElementType = graphicalElementType; + graphicalElementType = newGraphicalElementType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE, oldGraphicalElementType, graphicalElementType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<InducedRepresentation> getInducedRepresentations() { + if (inducedRepresentations == null) { + inducedRepresentations = new EObjectResolvingEList<InducedRepresentation>(InducedRepresentation.class, this, ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS); + } + return inducedRepresentations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Representation> getSubRepresentations() { + if (subRepresentations == null) { + subRepresentations = new EObjectResolvingEList<Representation>(Representation.class, this, ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS); + } + return subRepresentations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE: + return getGraphicalElementType(); + case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS: + return getInducedRepresentations(); + case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS: + return getSubRepresentations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE: + setGraphicalElementType((String)newValue); + return; + case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS: + getInducedRepresentations().clear(); + getInducedRepresentations().addAll((Collection<? extends InducedRepresentation>)newValue); + return; + case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS: + getSubRepresentations().clear(); + getSubRepresentations().addAll((Collection<? extends Representation>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE: + setGraphicalElementType(GRAPHICAL_ELEMENT_TYPE_EDEFAULT); + return; + case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS: + getInducedRepresentations().clear(); + return; + case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS: + getSubRepresentations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION__GRAPHICAL_ELEMENT_TYPE: + return GRAPHICAL_ELEMENT_TYPE_EDEFAULT == null ? graphicalElementType != null : !GRAPHICAL_ELEMENT_TYPE_EDEFAULT.equals(graphicalElementType); + case ExpansionmodelPackage.REPRESENTATION__INDUCED_REPRESENTATIONS: + return inducedRepresentations != null && !inducedRepresentations.isEmpty(); + case ExpansionmodelPackage.REPRESENTATION__SUB_REPRESENTATIONS: + return subRepresentations != null && !subRepresentations.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (graphicalElementType: "); + result.append(graphicalElementType); + result.append(')'); + return result.toString(); + } + +} //RepresentationImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/RepresentationKindImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/RepresentationKindImpl.java index d8b5e8049b8..155b534531d 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/RepresentationKindImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/RepresentationKindImpl.java @@ -1,281 +1,281 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Representation Kind</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl#getViewFactory <em>View Factory</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class RepresentationKindImpl extends MinimalEObjectImpl.Container implements RepresentationKind {
- /**
- * The default value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditPartQualifiedName()
- * @generated
- * @ordered
- */
- protected static final String EDIT_PART_QUALIFIED_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditPartQualifiedName()
- * @generated
- * @ordered
- */
- protected String editPartQualifiedName = EDIT_PART_QUALIFIED_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getViewFactory()
- * @generated
- * @ordered
- */
- protected static final String VIEW_FACTORY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getViewFactory()
- * @generated
- * @ordered
- */
- protected String viewFactory = VIEW_FACTORY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RepresentationKindImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.REPRESENTATION_KIND;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEditPartQualifiedName() {
- return editPartQualifiedName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEditPartQualifiedName(String newEditPartQualifiedName) {
- String oldEditPartQualifiedName = editPartQualifiedName;
- editPartQualifiedName = newEditPartQualifiedName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME, oldEditPartQualifiedName, editPartQualifiedName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION_KIND__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getViewFactory() {
- return viewFactory;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setViewFactory(String newViewFactory) {
- String oldViewFactory = viewFactory;
- viewFactory = newViewFactory;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY, oldViewFactory, viewFactory));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME:
- return getEditPartQualifiedName();
- case ExpansionmodelPackage.REPRESENTATION_KIND__NAME:
- return getName();
- case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY:
- return getViewFactory();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME:
- setEditPartQualifiedName((String)newValue);
- return;
- case ExpansionmodelPackage.REPRESENTATION_KIND__NAME:
- setName((String)newValue);
- return;
- case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY:
- setViewFactory((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME:
- setEditPartQualifiedName(EDIT_PART_QUALIFIED_NAME_EDEFAULT);
- return;
- case ExpansionmodelPackage.REPRESENTATION_KIND__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY:
- setViewFactory(VIEW_FACTORY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME:
- return EDIT_PART_QUALIFIED_NAME_EDEFAULT == null ? editPartQualifiedName != null : !EDIT_PART_QUALIFIED_NAME_EDEFAULT.equals(editPartQualifiedName);
- case ExpansionmodelPackage.REPRESENTATION_KIND__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY:
- return VIEW_FACTORY_EDEFAULT == null ? viewFactory != null : !VIEW_FACTORY_EDEFAULT.equals(viewFactory);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (editPartQualifiedName: ");
- result.append(editPartQualifiedName);
- result.append(", name: ");
- result.append(name);
- result.append(", viewFactory: ");
- result.append(viewFactory);
- result.append(')');
- return result.toString();
- }
-
-} //RepresentationKindImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Representation Kind</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl#getEditPartQualifiedName <em>Edit Part Qualified Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl#getViewFactory <em>View Factory</em>}</li> + * </ul> + * + * @generated + */ +public class RepresentationKindImpl extends MinimalEObjectImpl.Container implements RepresentationKind { + /** + * The default value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditPartQualifiedName() + * @generated + * @ordered + */ + protected static final String EDIT_PART_QUALIFIED_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditPartQualifiedName() <em>Edit Part Qualified Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditPartQualifiedName() + * @generated + * @ordered + */ + protected String editPartQualifiedName = EDIT_PART_QUALIFIED_NAME_EDEFAULT; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getViewFactory() + * @generated + * @ordered + */ + protected static final String VIEW_FACTORY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getViewFactory() <em>View Factory</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getViewFactory() + * @generated + * @ordered + */ + protected String viewFactory = VIEW_FACTORY_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RepresentationKindImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.REPRESENTATION_KIND; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEditPartQualifiedName() { + return editPartQualifiedName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEditPartQualifiedName(String newEditPartQualifiedName) { + String oldEditPartQualifiedName = editPartQualifiedName; + editPartQualifiedName = newEditPartQualifiedName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME, oldEditPartQualifiedName, editPartQualifiedName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION_KIND__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getViewFactory() { + return viewFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setViewFactory(String newViewFactory) { + String oldViewFactory = viewFactory; + viewFactory = newViewFactory; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY, oldViewFactory, viewFactory)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME: + return getEditPartQualifiedName(); + case ExpansionmodelPackage.REPRESENTATION_KIND__NAME: + return getName(); + case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY: + return getViewFactory(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME: + setEditPartQualifiedName((String)newValue); + return; + case ExpansionmodelPackage.REPRESENTATION_KIND__NAME: + setName((String)newValue); + return; + case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY: + setViewFactory((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME: + setEditPartQualifiedName(EDIT_PART_QUALIFIED_NAME_EDEFAULT); + return; + case ExpansionmodelPackage.REPRESENTATION_KIND__NAME: + setName(NAME_EDEFAULT); + return; + case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY: + setViewFactory(VIEW_FACTORY_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.REPRESENTATION_KIND__EDIT_PART_QUALIFIED_NAME: + return EDIT_PART_QUALIFIED_NAME_EDEFAULT == null ? editPartQualifiedName != null : !EDIT_PART_QUALIFIED_NAME_EDEFAULT.equals(editPartQualifiedName); + case ExpansionmodelPackage.REPRESENTATION_KIND__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpansionmodelPackage.REPRESENTATION_KIND__VIEW_FACTORY: + return VIEW_FACTORY_EDEFAULT == null ? viewFactory != null : !VIEW_FACTORY_EDEFAULT.equals(viewFactory); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (editPartQualifiedName: "); + result.append(editPartQualifiedName); + result.append(", name: "); + result.append(name); + result.append(", viewFactory: "); + result.append(viewFactory); + result.append(')'); + return result.toString(); + } + +} //RepresentationKindImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/UseContextImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/UseContextImpl.java index 31a381b6f2d..3efc746c458 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/impl/UseContextImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/UseContextImpl.java @@ -1,376 +1,376 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Use Context</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl#getDiagramType <em>Diagram Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl#getRepresentations <em>Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl#getGmftRepresentations <em>Gmft Representations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.UseContextImpl#getDescription <em>Description</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class UseContextImpl extends MinimalEObjectImpl.Container implements UseContext {
- /**
- * The default value of the '{@link #getDiagramType() <em>Diagram Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDiagramType()
- * @generated
- * @ordered
- */
- protected static final String DIAGRAM_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDiagramType() <em>Diagram Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDiagramType()
- * @generated
- * @ordered
- */
- protected String diagramType = DIAGRAM_TYPE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getRepresentations() <em>Representations</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRepresentations()
- * @generated
- * @ordered
- */
- protected EList<Representation> representations;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getGmftRepresentations() <em>Gmft Representations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGmftRepresentations()
- * @generated
- * @ordered
- */
- protected EList<GMFT_BasedRepresentation> gmftRepresentations;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UseContextImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ExpansionmodelPackage.Literals.USE_CONTEXT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDiagramType() {
- return diagramType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDiagramType(String newDiagramType) {
- String oldDiagramType = diagramType;
- diagramType = newDiagramType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE, oldDiagramType, diagramType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Representation> getRepresentations() {
- if (representations == null) {
- representations = new EObjectResolvingEList<Representation>(Representation.class, this, ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS);
- }
- return representations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.USE_CONTEXT__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<GMFT_BasedRepresentation> getGmftRepresentations() {
- if (gmftRepresentations == null) {
- gmftRepresentations = new EObjectContainmentEList<GMFT_BasedRepresentation>(GMFT_BasedRepresentation.class, this, ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS);
- }
- return gmftRepresentations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS:
- return ((InternalEList<?>)getGmftRepresentations()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE:
- return getDiagramType();
- case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS:
- return getRepresentations();
- case ExpansionmodelPackage.USE_CONTEXT__NAME:
- return getName();
- case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS:
- return getGmftRepresentations();
- case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE:
- setDiagramType((String)newValue);
- return;
- case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS:
- getRepresentations().clear();
- getRepresentations().addAll((Collection<? extends Representation>)newValue);
- return;
- case ExpansionmodelPackage.USE_CONTEXT__NAME:
- setName((String)newValue);
- return;
- case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS:
- getGmftRepresentations().clear();
- getGmftRepresentations().addAll((Collection<? extends GMFT_BasedRepresentation>)newValue);
- return;
- case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION:
- setDescription((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE:
- setDiagramType(DIAGRAM_TYPE_EDEFAULT);
- return;
- case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS:
- getRepresentations().clear();
- return;
- case ExpansionmodelPackage.USE_CONTEXT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS:
- getGmftRepresentations().clear();
- return;
- case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE:
- return DIAGRAM_TYPE_EDEFAULT == null ? diagramType != null : !DIAGRAM_TYPE_EDEFAULT.equals(diagramType);
- case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS:
- return representations != null && !representations.isEmpty();
- case ExpansionmodelPackage.USE_CONTEXT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS:
- return gmftRepresentations != null && !gmftRepresentations.isEmpty();
- case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (diagramType: ");
- result.append(diagramType);
- result.append(", name: ");
- result.append(name);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-} //UseContextImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Use Context</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl#getDiagramType <em>Diagram Type</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl#getRepresentations <em>Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl#getGmftRepresentations <em>Gmft Representations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.UseContextImpl#getDescription <em>Description</em>}</li> + * </ul> + * + * @generated + */ +public class UseContextImpl extends MinimalEObjectImpl.Container implements UseContext { + /** + * The default value of the '{@link #getDiagramType() <em>Diagram Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDiagramType() + * @generated + * @ordered + */ + protected static final String DIAGRAM_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDiagramType() <em>Diagram Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDiagramType() + * @generated + * @ordered + */ + protected String diagramType = DIAGRAM_TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getRepresentations() <em>Representations</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRepresentations() + * @generated + * @ordered + */ + protected EList<Representation> representations; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getGmftRepresentations() <em>Gmft Representations</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGmftRepresentations() + * @generated + * @ordered + */ + protected EList<GMFT_BasedRepresentation> gmftRepresentations; + + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected UseContextImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpansionmodelPackage.Literals.USE_CONTEXT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDiagramType() { + return diagramType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDiagramType(String newDiagramType) { + String oldDiagramType = diagramType; + diagramType = newDiagramType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE, oldDiagramType, diagramType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Representation> getRepresentations() { + if (representations == null) { + representations = new EObjectResolvingEList<Representation>(Representation.class, this, ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS); + } + return representations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.USE_CONTEXT__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<GMFT_BasedRepresentation> getGmftRepresentations() { + if (gmftRepresentations == null) { + gmftRepresentations = new EObjectContainmentEList<GMFT_BasedRepresentation>(GMFT_BasedRepresentation.class, this, ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS); + } + return gmftRepresentations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(String newDescription) { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS: + return ((InternalEList<?>)getGmftRepresentations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE: + return getDiagramType(); + case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS: + return getRepresentations(); + case ExpansionmodelPackage.USE_CONTEXT__NAME: + return getName(); + case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS: + return getGmftRepresentations(); + case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION: + return getDescription(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE: + setDiagramType((String)newValue); + return; + case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS: + getRepresentations().clear(); + getRepresentations().addAll((Collection<? extends Representation>)newValue); + return; + case ExpansionmodelPackage.USE_CONTEXT__NAME: + setName((String)newValue); + return; + case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS: + getGmftRepresentations().clear(); + getGmftRepresentations().addAll((Collection<? extends GMFT_BasedRepresentation>)newValue); + return; + case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION: + setDescription((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE: + setDiagramType(DIAGRAM_TYPE_EDEFAULT); + return; + case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS: + getRepresentations().clear(); + return; + case ExpansionmodelPackage.USE_CONTEXT__NAME: + setName(NAME_EDEFAULT); + return; + case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS: + getGmftRepresentations().clear(); + return; + case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpansionmodelPackage.USE_CONTEXT__DIAGRAM_TYPE: + return DIAGRAM_TYPE_EDEFAULT == null ? diagramType != null : !DIAGRAM_TYPE_EDEFAULT.equals(diagramType); + case ExpansionmodelPackage.USE_CONTEXT__REPRESENTATIONS: + return representations != null && !representations.isEmpty(); + case ExpansionmodelPackage.USE_CONTEXT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpansionmodelPackage.USE_CONTEXT__GMFT_REPRESENTATIONS: + return gmftRepresentations != null && !gmftRepresentations.isEmpty(); + case ExpansionmodelPackage.USE_CONTEXT__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (diagramType: "); + result.append(diagramType); + result.append(", name: "); + result.append(name); + result.append(", description: "); + result.append(description); + result.append(')'); + return result.toString(); + } + +} //UseContextImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelAdapterFactory.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelAdapterFactory.java index 54d71299e54..8d4804dba01 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelAdapterFactory.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelAdapterFactory.java @@ -1,256 +1,256 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage
- * @generated
- */
-public class ExpansionmodelAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ExpansionmodelPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExpansionmodelAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = ExpansionmodelPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExpansionmodelSwitch<Adapter> modelSwitch =
- new ExpansionmodelSwitch<Adapter>() {
- @Override
- public Adapter caseRepresentation(Representation object) {
- return createRepresentationAdapter();
- }
- @Override
- public Adapter caseAbstractRepresentation(AbstractRepresentation object) {
- return createAbstractRepresentationAdapter();
- }
- @Override
- public Adapter caseRepresentationKind(RepresentationKind object) {
- return createRepresentationKindAdapter();
- }
- @Override
- public Adapter caseInducedRepresentation(InducedRepresentation object) {
- return createInducedRepresentationAdapter();
- }
- @Override
- public Adapter caseGraphicalElementLibrary(GraphicalElementLibrary object) {
- return createGraphicalElementLibraryAdapter();
- }
- @Override
- public Adapter caseUseContext(UseContext object) {
- return createUseContextAdapter();
- }
- @Override
- public Adapter caseGMFT_BasedRepresentation(GMFT_BasedRepresentation object) {
- return createGMFT_BasedRepresentationAdapter();
- }
- @Override
- public Adapter caseDiagramExpansion(DiagramExpansion object) {
- return createDiagramExpansionAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation <em>Representation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation
- * @generated
- */
- public Adapter createRepresentationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation <em>Abstract Representation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation
- * @generated
- */
- public Adapter createAbstractRepresentationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind <em>Representation Kind</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind
- * @generated
- */
- public Adapter createRepresentationKindAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation <em>Induced Representation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation
- * @generated
- */
- public Adapter createInducedRepresentationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary <em>Graphical Element Library</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GraphicalElementLibrary
- * @generated
- */
- public Adapter createGraphicalElementLibraryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext <em>Use Context</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext
- * @generated
- */
- public Adapter createUseContextAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation <em>GMFT Based Representation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation
- * @generated
- */
- public Adapter createGMFT_BasedRepresentationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion <em>Diagram Expansion</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion
- * @generated
- */
- public Adapter createDiagramExpansionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //ExpansionmodelAdapterFactory
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage + * @generated + */ +public class ExpansionmodelAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ExpansionmodelPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpansionmodelAdapterFactory() { + if (modelPackage == null) { + modelPackage = ExpansionmodelPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ExpansionmodelSwitch<Adapter> modelSwitch = + new ExpansionmodelSwitch<Adapter>() { + @Override + public Adapter caseRepresentation(Representation object) { + return createRepresentationAdapter(); + } + @Override + public Adapter caseAbstractRepresentation(AbstractRepresentation object) { + return createAbstractRepresentationAdapter(); + } + @Override + public Adapter caseRepresentationKind(RepresentationKind object) { + return createRepresentationKindAdapter(); + } + @Override + public Adapter caseInducedRepresentation(InducedRepresentation object) { + return createInducedRepresentationAdapter(); + } + @Override + public Adapter caseGraphicalElementLibrary(GraphicalElementLibrary object) { + return createGraphicalElementLibraryAdapter(); + } + @Override + public Adapter caseUseContext(UseContext object) { + return createUseContextAdapter(); + } + @Override + public Adapter caseGMFT_BasedRepresentation(GMFT_BasedRepresentation object) { + return createGMFT_BasedRepresentationAdapter(); + } + @Override + public Adapter caseDiagramExpansion(DiagramExpansion object) { + return createDiagramExpansionAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation <em>Representation</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation + * @generated + */ + public Adapter createRepresentationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation <em>Abstract Representation</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation + * @generated + */ + public Adapter createAbstractRepresentationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind <em>Representation Kind</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind + * @generated + */ + public Adapter createRepresentationKindAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation <em>Induced Representation</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation + * @generated + */ + public Adapter createInducedRepresentationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary <em>Graphical Element Library</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GraphicalElementLibrary + * @generated + */ + public Adapter createGraphicalElementLibraryAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext <em>Use Context</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext + * @generated + */ + public Adapter createUseContextAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation <em>GMFT Based Representation</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation + * @generated + */ + public Adapter createGMFT_BasedRepresentationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion <em>Diagram Expansion</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion + * @generated + */ + public Adapter createDiagramExpansionAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ExpansionmodelAdapterFactory diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelResourceFactoryImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelResourceFactoryImpl.java index 26b7a254140..0407d123a39 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelResourceFactoryImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelResourceFactoryImpl.java @@ -1,53 +1,53 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelResourceImpl
- * @generated
- */
-public class ExpansionmodelResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExpansionmodelResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new ExpansionmodelResourceImpl(uri);
- return result;
- }
-
-} //ExpansionmodelResourceFactoryImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util; + +import org.eclipse.emf.common.util.URI; + +import org.eclipse.emf.ecore.resource.Resource; + +import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; + +import org.eclipse.emf.ecore.xmi.XMLResource; + +/** + * <!-- begin-user-doc --> + * The <b>Resource Factory</b> associated with the package. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelResourceImpl + * @generated + */ +public class ExpansionmodelResourceFactoryImpl extends ResourceFactoryImpl { + /** + * Creates an instance of the resource factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpansionmodelResourceFactoryImpl() { + super(); + } + + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Resource createResource(URI uri) { + XMLResource result = new ExpansionmodelResourceImpl(uri); + return result; + } + +} //ExpansionmodelResourceFactoryImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelResourceImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelResourceImpl.java index e278dff3156..71ca285368f 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelResourceImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelResourceImpl.java @@ -1,38 +1,38 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelResourceFactoryImpl
- * @generated
- */
-public class ExpansionmodelResourceImpl extends XMIResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public ExpansionmodelResourceImpl(URI uri) {
- super(uri);
- }
-
-} //ExpansionmodelResourceImpl
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util; + +import org.eclipse.emf.common.util.URI; + +import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl; + +/** + * <!-- begin-user-doc --> + * The <b>Resource </b> associated with the package. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelResourceFactoryImpl + * @generated + */ +public class ExpansionmodelResourceImpl extends XMIResourceImpl { + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param uri the URI of the new resource. + * @generated + */ + public ExpansionmodelResourceImpl(URI uri) { + super(uri); + } + +} //ExpansionmodelResourceImpl diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelSwitch.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelSwitch.java index 4ca5190766b..2ad68cecd04 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelSwitch.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelSwitch.java @@ -1,271 +1,271 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage
- * @generated
- */
-public class ExpansionmodelSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ExpansionmodelPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExpansionmodelSwitch() {
- if (modelPackage == null) {
- modelPackage = ExpansionmodelPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case ExpansionmodelPackage.REPRESENTATION: {
- Representation representation = (Representation)theEObject;
- T result = caseRepresentation(representation);
- if (result == null) result = caseAbstractRepresentation(representation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION: {
- AbstractRepresentation abstractRepresentation = (AbstractRepresentation)theEObject;
- T result = caseAbstractRepresentation(abstractRepresentation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ExpansionmodelPackage.REPRESENTATION_KIND: {
- RepresentationKind representationKind = (RepresentationKind)theEObject;
- T result = caseRepresentationKind(representationKind);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ExpansionmodelPackage.INDUCED_REPRESENTATION: {
- InducedRepresentation inducedRepresentation = (InducedRepresentation)theEObject;
- T result = caseInducedRepresentation(inducedRepresentation);
- if (result == null) result = caseAbstractRepresentation(inducedRepresentation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY: {
- GraphicalElementLibrary graphicalElementLibrary = (GraphicalElementLibrary)theEObject;
- T result = caseGraphicalElementLibrary(graphicalElementLibrary);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ExpansionmodelPackage.USE_CONTEXT: {
- UseContext useContext = (UseContext)theEObject;
- T result = caseUseContext(useContext);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION: {
- GMFT_BasedRepresentation gmfT_BasedRepresentation = (GMFT_BasedRepresentation)theEObject;
- T result = caseGMFT_BasedRepresentation(gmfT_BasedRepresentation);
- if (result == null) result = caseRepresentation(gmfT_BasedRepresentation);
- if (result == null) result = caseAbstractRepresentation(gmfT_BasedRepresentation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ExpansionmodelPackage.DIAGRAM_EXPANSION: {
- DiagramExpansion diagramExpansion = (DiagramExpansion)theEObject;
- T result = caseDiagramExpansion(diagramExpansion);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Representation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Representation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRepresentation(Representation object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Abstract Representation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Abstract Representation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAbstractRepresentation(AbstractRepresentation object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Representation Kind</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Representation Kind</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRepresentationKind(RepresentationKind object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Induced Representation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Induced Representation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInducedRepresentation(InducedRepresentation object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Graphical Element Library</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Graphical Element Library</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseGraphicalElementLibrary(GraphicalElementLibrary object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Use Context</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Use Context</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUseContext(UseContext object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>GMFT Based Representation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>GMFT Based Representation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseGMFT_BasedRepresentation(GMFT_BasedRepresentation object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Diagram Expansion</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Diagram Expansion</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDiagramExpansion(DiagramExpansion object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //ExpansionmodelSwitch
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage + * @generated + */ +public class ExpansionmodelSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ExpansionmodelPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpansionmodelSwitch() { + if (modelPackage == null) { + modelPackage = ExpansionmodelPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ExpansionmodelPackage.REPRESENTATION: { + Representation representation = (Representation)theEObject; + T result = caseRepresentation(representation); + if (result == null) result = caseAbstractRepresentation(representation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION: { + AbstractRepresentation abstractRepresentation = (AbstractRepresentation)theEObject; + T result = caseAbstractRepresentation(abstractRepresentation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpansionmodelPackage.REPRESENTATION_KIND: { + RepresentationKind representationKind = (RepresentationKind)theEObject; + T result = caseRepresentationKind(representationKind); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpansionmodelPackage.INDUCED_REPRESENTATION: { + InducedRepresentation inducedRepresentation = (InducedRepresentation)theEObject; + T result = caseInducedRepresentation(inducedRepresentation); + if (result == null) result = caseAbstractRepresentation(inducedRepresentation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY: { + GraphicalElementLibrary graphicalElementLibrary = (GraphicalElementLibrary)theEObject; + T result = caseGraphicalElementLibrary(graphicalElementLibrary); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpansionmodelPackage.USE_CONTEXT: { + UseContext useContext = (UseContext)theEObject; + T result = caseUseContext(useContext); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION: { + GMFT_BasedRepresentation gmfT_BasedRepresentation = (GMFT_BasedRepresentation)theEObject; + T result = caseGMFT_BasedRepresentation(gmfT_BasedRepresentation); + if (result == null) result = caseRepresentation(gmfT_BasedRepresentation); + if (result == null) result = caseAbstractRepresentation(gmfT_BasedRepresentation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpansionmodelPackage.DIAGRAM_EXPANSION: { + DiagramExpansion diagramExpansion = (DiagramExpansion)theEObject; + T result = caseDiagramExpansion(diagramExpansion); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Representation</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Representation</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRepresentation(Representation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Representation</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Abstract Representation</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractRepresentation(AbstractRepresentation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Representation Kind</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Representation Kind</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRepresentationKind(RepresentationKind object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Induced Representation</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Induced Representation</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInducedRepresentation(InducedRepresentation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Graphical Element Library</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Graphical Element Library</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphicalElementLibrary(GraphicalElementLibrary object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Use Context</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Use Context</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUseContext(UseContext object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>GMFT Based Representation</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>GMFT Based Representation</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGMFT_BasedRepresentation(GMFT_BasedRepresentation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Diagram Expansion</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Diagram Expansion</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDiagramExpansion(DiagramExpansion object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ExpansionmodelSwitch diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelValidator.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelValidator.java index fad9b7f3675..be4db437243 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src-gen/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/util/ExpansionmodelValidator.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionmodelValidator.java @@ -1,263 +1,263 @@ -/**
- * Copyright (c) 2015 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.common.util.DiagnosticChain;
-import org.eclipse.emf.common.util.ResourceLocator;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.EObjectValidator;
-
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Validator</b> for the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage
- * @generated
- */
-public class ExpansionmodelValidator extends EObjectValidator {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final ExpansionmodelValidator INSTANCE = new ExpansionmodelValidator();
-
- /**
- * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.common.util.Diagnostic#getSource()
- * @see org.eclipse.emf.common.util.Diagnostic#getCode()
- * @generated
- */
- public static final String DIAGNOSTIC_SOURCE = "org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel";
-
- /**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Validate' of 'Abstract Representation'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final int ABSTRACT_REPRESENTATION__VALIDATE = 1;
-
- /**
- * A constant with a fixed name that can be used as the base value for additional hand written constants.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 1;
-
- /**
- * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ExpansionmodelValidator() {
- super();
- }
-
- /**
- * Returns the package of this validator switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EPackage getEPackage() {
- return ExpansionmodelPackage.eINSTANCE;
- }
-
- /**
- * Calls <code>validateXXX</code> for the corresponding classifier of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) {
- switch (classifierID) {
- case ExpansionmodelPackage.REPRESENTATION:
- return validateRepresentation((Representation)value, diagnostics, context);
- case ExpansionmodelPackage.ABSTRACT_REPRESENTATION:
- return validateAbstractRepresentation((AbstractRepresentation)value, diagnostics, context);
- case ExpansionmodelPackage.REPRESENTATION_KIND:
- return validateRepresentationKind((RepresentationKind)value, diagnostics, context);
- case ExpansionmodelPackage.INDUCED_REPRESENTATION:
- return validateInducedRepresentation((InducedRepresentation)value, diagnostics, context);
- case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY:
- return validateGraphicalElementLibrary((GraphicalElementLibrary)value, diagnostics, context);
- case ExpansionmodelPackage.USE_CONTEXT:
- return validateUseContext((UseContext)value, diagnostics, context);
- case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION:
- return validateGMFT_BasedRepresentation((GMFT_BasedRepresentation)value, diagnostics, context);
- case ExpansionmodelPackage.DIAGRAM_EXPANSION:
- return validateDiagramExpansion((DiagramExpansion)value, diagnostics, context);
- default:
- return true;
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateRepresentation(Representation representation, DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(representation, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(representation, diagnostics, context);
- if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(representation, diagnostics, context);
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateAbstractRepresentation(AbstractRepresentation abstractRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(abstractRepresentation, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(abstractRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(abstractRepresentation, diagnostics, context);
- return result;
- }
-
- /**
- * Validates the validate constraint of '<em>Abstract Representation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateAbstractRepresentation_validate(AbstractRepresentation abstractRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) {
- return abstractRepresentation.validate(diagnostics, context);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateRepresentationKind(RepresentationKind representationKind, DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(representationKind, diagnostics, context);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateInducedRepresentation(InducedRepresentation inducedRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(inducedRepresentation, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(inducedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(inducedRepresentation, diagnostics, context);
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateGraphicalElementLibrary(GraphicalElementLibrary graphicalElementLibrary, DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(graphicalElementLibrary, diagnostics, context);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateUseContext(UseContext useContext, DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(useContext, diagnostics, context);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateGMFT_BasedRepresentation(GMFT_BasedRepresentation gmfT_BasedRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(gmfT_BasedRepresentation, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(gmfT_BasedRepresentation, diagnostics, context);
- if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(gmfT_BasedRepresentation, diagnostics, context);
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean validateDiagramExpansion(DiagramExpansion diagramExpansion, DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(diagramExpansion, diagnostics, context);
- }
-
- /**
- * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- // TODO
- // Specialize this to return a resource locator for messages specific to this validator.
- // Ensure that you remove @generated or mark it @generated NOT
- return super.getResourceLocator();
- }
-
-} //ExpansionmodelValidator
+/** + * Copyright (c) 2015 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.*; + +/** + * <!-- begin-user-doc --> + * The <b>Validator</b> for the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.ExpansionmodelPackage + * @generated + */ +public class ExpansionmodelValidator extends EObjectValidator { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final ExpansionmodelValidator INSTANCE = new ExpansionmodelValidator(); + + /** + * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.common.util.Diagnostic#getSource() + * @see org.eclipse.emf.common.util.Diagnostic#getCode() + * @generated + */ + public static final String DIAGNOSTIC_SOURCE = "org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel"; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Validate' of 'Abstract Representation'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int ABSTRACT_REPRESENTATION__VALIDATE = 1; + + /** + * A constant with a fixed name that can be used as the base value for additional hand written constants. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 1; + + /** + * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpansionmodelValidator() { + super(); + } + + /** + * Returns the package of this validator switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EPackage getEPackage() { + return ExpansionmodelPackage.eINSTANCE; + } + + /** + * Calls <code>validateXXX</code> for the corresponding classifier of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) { + switch (classifierID) { + case ExpansionmodelPackage.REPRESENTATION: + return validateRepresentation((Representation)value, diagnostics, context); + case ExpansionmodelPackage.ABSTRACT_REPRESENTATION: + return validateAbstractRepresentation((AbstractRepresentation)value, diagnostics, context); + case ExpansionmodelPackage.REPRESENTATION_KIND: + return validateRepresentationKind((RepresentationKind)value, diagnostics, context); + case ExpansionmodelPackage.INDUCED_REPRESENTATION: + return validateInducedRepresentation((InducedRepresentation)value, diagnostics, context); + case ExpansionmodelPackage.GRAPHICAL_ELEMENT_LIBRARY: + return validateGraphicalElementLibrary((GraphicalElementLibrary)value, diagnostics, context); + case ExpansionmodelPackage.USE_CONTEXT: + return validateUseContext((UseContext)value, diagnostics, context); + case ExpansionmodelPackage.GMFT_BASED_REPRESENTATION: + return validateGMFT_BasedRepresentation((GMFT_BasedRepresentation)value, diagnostics, context); + case ExpansionmodelPackage.DIAGRAM_EXPANSION: + return validateDiagramExpansion((DiagramExpansion)value, diagnostics, context); + default: + return true; + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateRepresentation(Representation representation, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(representation, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(representation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(representation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(representation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(representation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(representation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(representation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(representation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(representation, diagnostics, context); + if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(representation, diagnostics, context); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateAbstractRepresentation(AbstractRepresentation abstractRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(abstractRepresentation, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(abstractRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(abstractRepresentation, diagnostics, context); + return result; + } + + /** + * Validates the validate constraint of '<em>Abstract Representation</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateAbstractRepresentation_validate(AbstractRepresentation abstractRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) { + return abstractRepresentation.validate(diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateRepresentationKind(RepresentationKind representationKind, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(representationKind, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateInducedRepresentation(InducedRepresentation inducedRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(inducedRepresentation, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(inducedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(inducedRepresentation, diagnostics, context); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateGraphicalElementLibrary(GraphicalElementLibrary graphicalElementLibrary, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(graphicalElementLibrary, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateUseContext(UseContext useContext, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(useContext, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateGMFT_BasedRepresentation(GMFT_BasedRepresentation gmfT_BasedRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(gmfT_BasedRepresentation, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(gmfT_BasedRepresentation, diagnostics, context); + if (result || diagnostics != null) result &= validateAbstractRepresentation_validate(gmfT_BasedRepresentation, diagnostics, context); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateDiagramExpansion(DiagramExpansion diagramExpansion, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(diagramExpansion, diagnostics, context); + } + + /** + * Returns the resource locator that will be used to fetch messages for this validator's diagnostics. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + // TODO + // Specialize this to return a resource locator for messages specific to this validator. + // Ensure that you remove @generated or mark it @generated NOT + return super.getResourceLocator(); + } + +} //ExpansionmodelValidator diff --git a/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/Activator.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/Activator.java new file mode 100644 index 00000000000..9c744c9d6ac --- /dev/null +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/Activator.java @@ -0,0 +1,71 @@ +/*****************************************************************************
+ * Copyright (c) 2016 CEA LIST.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *
+ * CEA LIST - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.infra.gmfdiag.expansion;
+
+import org.eclipse.papyrus.infra.core.log.LogHelper;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ * @author Francois Le Fevre
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.papyrus.infra.gmfdiag.expansion"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ public static LogHelper log;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /**
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ log = new LogHelper(this);
+ }
+
+ /**
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void stop(BundleContext context) throws Exception {
+ log = null;
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+
+}
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomExpansionmodelFactoryImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomExpansionmodelFactoryImpl.java index 2269308a023..1f52edeee64 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomExpansionmodelFactoryImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomExpansionmodelFactoryImpl.java @@ -11,13 +11,17 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelFactoryImpl;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRepresentationImpl;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.ExpansionmodelFactoryImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GMFT_BasedRepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationKindImpl;
/**
* this class is overloaded in order to add the implementation of the method validate
@@ -27,7 +31,7 @@ import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.Representati public class CustomExpansionmodelFactoryImpl extends ExpansionmodelFactoryImpl {
/**
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelFactoryImpl#createInducedRepresentation()
+ * @see org.eclipse.papyrus.infra.gmfdiag.expansion.impl.ExpansionmodelFactoryImpl#createInducedRepresentation()
*
* @return
*/
@@ -38,7 +42,7 @@ public class CustomExpansionmodelFactoryImpl extends ExpansionmodelFactoryImpl { }
/**
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelFactoryImpl#createRepresentation()
+ * @see org.eclipse.papyrus.infra.gmfdiag.expansion.impl.ExpansionmodelFactoryImpl#createRepresentation()
*
* @return
*/
@@ -48,7 +52,7 @@ public class CustomExpansionmodelFactoryImpl extends ExpansionmodelFactoryImpl { return representation;
}
/**
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelFactoryImpl#createGMFT_Based_Representation()
+ * @see org.eclipse.papyrus.infra.gmfdiag.expansion.impl.ExpansionmodelFactoryImpl#createGMFT_Based_Representation()
*
* @return
*/
@@ -58,7 +62,7 @@ public class CustomExpansionmodelFactoryImpl extends ExpansionmodelFactoryImpl { return gmfT_Based_Representation;
}
/**
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.ExpansionmodelFactoryImpl#createRepresentationKind()
+ * @see org.eclipse.papyrus.infra.gmfdiag.expansion.impl.ExpansionmodelFactoryImpl#createRepresentationKind()
*
* @return
*/
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomGMFT_BasedRepresentationImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomGMFT_BasedRepresentationImpl.java index 2a5ce1f196e..33d5476b93c 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomGMFT_BasedRepresentationImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomGMFT_BasedRepresentationImpl.java @@ -11,12 +11,13 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.GMFT_BasedRepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionModelValidationUtil;
/**
* this class is overloaded in order to add the implementation of the method validate
@@ -26,7 +27,7 @@ import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.GMFT_BasedRe public class CustomGMFT_BasedRepresentationImpl extends GMFT_BasedRepresentationImpl {
/**
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * @see org.eclipse.papyrus.infra.gmfdiag.expansion.impl.AbstractRepresentationImpl#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
*
* @param diagnostic
* @param context
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomInducedRepresentationImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomInducedRepresentationImpl.java index 844fcb26c0b..015a665ff55 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomInducedRepresentationImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomInducedRepresentationImpl.java @@ -11,12 +11,13 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.InducedRepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionModelValidationUtil;
/**
* this class is overloaded in order to add the implementation of the method validate
@@ -25,7 +26,7 @@ import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.InducedRepre */
public class CustomInducedRepresentationImpl extends InducedRepresentationImpl {
/**
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * @see org.eclipse.papyrus.infra.gmfdiag.expansion.impl.AbstractRepresentationImpl#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
*
* @param diagnostic
* @param context
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomRepresentationImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomRepresentationImpl.java index d6c33e0bfb1..bdc62894ecf 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomRepresentationImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomRepresentationImpl.java @@ -11,12 +11,13 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl.RepresentationImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionModelValidationUtil;
/**
* this class is overloaded in order to add the implementation of the method validate
@@ -25,7 +26,7 @@ import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.Representati */
public class CustomRepresentationImpl extends RepresentationImpl {
/**
- * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.AbstractRepresentationImpl#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * @see org.eclipse.papyrus.infra.gmfdiag.expansion.impl.AbstractRepresentationImpl#validate(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
*
* @param diagnostic
* @param context
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomRepresentationKindImpl.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomRepresentationKindImpl.java index 7b4baadf38c..312022659cb 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomRepresentationKindImpl.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/impl/CustomRepresentationKindImpl.java @@ -11,16 +11,17 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.impl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionModelValidationUtil;
/**
*
*/
-public class CustomRepresentationKindImpl extends org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl.RepresentationKindImpl {
+public class CustomRepresentationKindImpl extends RepresentationKindImpl {
public boolean validate(DiagnosticChain diagnostic, Map context) {
return ExpansionModelValidationUtil.validate_loadclasses(this, diagnostic, context);
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/ExpandEditPartProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/providers/ExpandEditPartProvider.java index b192964b185..469f19af7ca 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/ExpandEditPartProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/providers/ExpandEditPartProvider.java @@ -11,7 +11,7 @@ * CEA LIST - Initial API and implementation * *****************************************************************************/ -package org.eclipse.papyrus.infra.gmfdiag.common.expansion; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers; import java.lang.reflect.Constructor; import java.util.HashMap; @@ -31,8 +31,10 @@ import org.eclipse.gmf.runtime.notation.Diagram; import org.eclipse.gmf.runtime.notation.View; import org.eclipse.osgi.util.NLS; import org.eclipse.papyrus.infra.gmfdiag.common.Activator; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper; import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype; /** diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/ExpandViewProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/providers/ExpandViewProvider.java index c435632896d..ee2abe66333 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/ExpandViewProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/providers/ExpandViewProvider.java @@ -9,7 +9,7 @@ * Contributors: * CEA LIST - Initial API and implementation */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansion; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers; import java.util.HashMap; import java.util.List; @@ -25,9 +25,12 @@ import org.eclipse.gmf.runtime.diagram.core.services.view.CreateViewForKindOpera import org.eclipse.gmf.runtime.notation.Diagram; import org.eclipse.gmf.runtime.notation.View; import org.eclipse.papyrus.infra.gmfdiag.common.Activator; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.RepresentationKind; import org.eclipse.papyrus.infra.gmfdiag.common.providers.CustomAbstractViewProvider; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.IdentityGraphicalElementType; import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper; import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype; diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/InducedRepresentationPolicyProvider.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/providers/InducedRepresentationPolicyProvider.java index 9916c32a847..cf6c4732ce3 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/InducedRepresentationPolicyProvider.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/providers/InducedRepresentationPolicyProvider.java @@ -11,7 +11,7 @@ * CEA LIST - Initial API and implementation
*
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansion;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers;
import org.eclipse.gef.EditPart;
import org.eclipse.gmf.runtime.common.core.service.AbstractProvider;
@@ -21,6 +21,9 @@ import org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.CreateEditPolicies import org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider;
import org.eclipse.gmf.runtime.notation.Diagram;
import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.InducedRepresentationCreationEditPolicy;
import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype;
/**
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/ChildrenListRepresentation.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/ChildrenListRepresentation.java index 6c20cc6bf91..55c7d19c84f 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/ChildrenListRepresentation.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/ChildrenListRepresentation.java @@ -11,7 +11,7 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansion;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering;
import java.util.ArrayList;
import java.util.HashMap;
@@ -20,11 +20,11 @@ import java.util.List; import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.gmf.runtime.emf.type.core.IHintedType;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.GMFT_BasedRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext;
/**
* This class is a structure that is adapted for the code of provider not to describe compartments as the model
@@ -99,7 +99,7 @@ public class ChildrenListRepresentation { //init the structure by go across the the model.
ArrayList<String> childreen= new ArrayList<>();
- for ( org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation currentR : useContext.getRepresentations()) {
+ for ( Representation currentR : useContext.getRepresentations()) {
//Check shapes
createStructure(currentR, childreen);
}
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/CreateInducedRepresentationViewCommand.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/CreateInducedRepresentationViewCommand.java index dcecf1eefbb..5c352730d40 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/CreateInducedRepresentationViewCommand.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/CreateInducedRepresentationViewCommand.java @@ -11,7 +11,7 @@ * CEA LIST - Initial API and implementation
*
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansion;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering;
import org.eclipse.emf.transaction.RecordingCommand;
import org.eclipse.emf.transaction.TransactionalEditingDomain;
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomExpansionmodelResource.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/CustomExpansionmodelResource.java index b84ec46a5ec..74ca55af9c4 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomExpansionmodelResource.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/CustomExpansionmodelResource.java @@ -1,7 +1,7 @@ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering;
import org.eclipse.emf.common.util.URI;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelResourceImpl;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelResourceImpl;
/**
* Overrides default generated resource to use uuids instead of index
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomExpansionmodelResourceFactory.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/CustomExpansionmodelResourceFactory.java index 0e3f127b8e1..01d4656a663 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/CustomExpansionmodelResourceFactory.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/CustomExpansionmodelResourceFactory.java @@ -10,11 +10,11 @@ * CEA LIST - Initial API and implementation * */ -package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelResourceFactoryImpl; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelResourceFactoryImpl; /** * Custom resource factory to create custom resources with usage of uuids instead of index diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/DiagramExpansionSingleton.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/DiagramExpansionSingleton.java index 5f7b0723021..98cfb6de230 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/DiagramExpansionSingleton.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/DiagramExpansionSingleton.java @@ -11,7 +11,7 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansion;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering;
/**
* This factory is used to give an instance of the diagram expansion
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/DiagramExpansionsRegistry.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/DiagramExpansionsRegistry.java index 92a227a8f0f..c463fead97a 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/DiagramExpansionsRegistry.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/DiagramExpansionsRegistry.java @@ -11,7 +11,7 @@ * CEA LIST - Initial API and implementation * *****************************************************************************/ -package org.eclipse.papyrus.infra.gmfdiag.common.expansion; +package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering; import java.net.URL; import java.util.ArrayList; @@ -28,8 +28,8 @@ import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; import org.eclipse.emf.ecore.util.Diagnostician; import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; import org.eclipse.papyrus.infra.gmfdiag.common.Activator; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.DiagramExpansion; -import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.DiagramExpansion; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.UseContext; import org.osgi.framework.Bundle; /** diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/IdentityGraphicalElementType.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/IdentityGraphicalElementType.java index 011d2425c19..898aa7a63e3 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/IdentityGraphicalElementType.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/IdentityGraphicalElementType.java @@ -11,7 +11,7 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansion;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/InducedRepresentationCreationEditPolicy.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/InducedRepresentationCreationEditPolicy.java index 3cfc4c96fef..61db6d87b54 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansion/InducedRepresentationCreationEditPolicy.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/rendering/InducedRepresentationCreationEditPolicy.java @@ -11,7 +11,7 @@ * CEA LIST - Initial API and implementation
*
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansion;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering;
import java.util.HashMap;
import java.util.List;
@@ -24,8 +24,8 @@ import org.eclipse.gmf.runtime.notation.View; import org.eclipse.papyrus.infra.emf.gmf.util.GMFUnsafe;
import org.eclipse.papyrus.infra.gmfdiag.common.Activator;
import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IPapyrusEditPart;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.InducedRepresentation;
import org.eclipse.papyrus.infra.gmfdiag.common.service.shape.NotificationManager;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.InducedRepresentation;
import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype;
/**
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/ExpansionModelValidationUtil.java b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionModelValidationUtil.java index 443988ac5f0..7dc51232f8b 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/expansionmodel/ExpansionModelValidationUtil.java +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/java/org/eclipse/papyrus/infra/gmfdiag/expansion/expansionmodel/util/ExpansionModelValidationUtil.java @@ -11,7 +11,7 @@ *
*****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel;
+package org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util;
import java.util.Map;
@@ -22,7 +22,10 @@ import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util.ExpansionmodelValidator;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.RepresentationKind;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.util.ExpansionmodelValidator;
import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.infra.types.core.registries.ElementTypeConfigurationTypeRegistry;
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.di b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.di index 8634d4c00e0..8634d4c00e0 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.di +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.di diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.genmodel b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.genmodel index 0878e3ca388..5ee150009e8 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.genmodel +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.genmodel @@ -2,15 +2,15 @@ <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/uml2/2.2.0/GenModel"
copyrightText="Copyright (c) 2015 CEA LIST.
 
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
 
Contributors:
	CEA LIST - Initial API and implementation
"
- modelDirectory="/org.eclipse.papyrus.infra.gmfdiag.common/src-gen" editDirectory="/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen"
+ modelDirectory="/org.eclipse.papyrus.infra.gmfdiag.expansion/src-gen/" editDirectory="/org.eclipse.papyrus.infra.gmfdiag.expansion.edit/src-gen"
editorDirectory="/org.eclipse.papyrus.infra.gmfdiag.expansion.editor/src-gen"
- modelPluginID="org.eclipse.papyrus.infra.gmfdiag.common" modelName="ExpansionModel"
- editPluginClass="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.provider.ExpandModelEditPlugin"
- editorPluginClass="org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.presentation.ExpandModelEditorPlugin"
- rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" importerID="org.eclipse.uml2.uml.ecore.importer"
- complianceLevel="6.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.infra.gmfdiag.expansion.edit"
- editorPluginID="org.eclipse.papyrus.infra.gmfdiag.expansion.editor" operationReflection="true"
- importOrganizing="true">
+ modelPluginID="org.eclipse.papyrus.infra.gmfdiag.expansion" modelName="ExpansionModel"
+ editPluginClass="org.eclipse.papyrus.infra.gmfdiag.expansion.provider.ExpandModelEditPlugin"
+ editorPluginClass="org.eclipse.papyrus.infra.gmfdiag.expansion.presentation.ExpandModelEditorPlugin"
+ rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" testSuiteClass="org.eclipse.papyrus.infra.gmfdiag.expansion.tests.ExpansionAllTests"
+ importerID="org.eclipse.uml2.uml.ecore.importer" complianceLevel="6.0" copyrightFields="false"
+ editPluginID="org.eclipse.papyrus.infra.gmfdiag.expansion.edit" editorPluginID="org.eclipse.papyrus.infra.gmfdiag.expansion.editor"
+ operationReflection="true" importOrganizing="true" pluginKey="Expansion">
<genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/importer/org.eclipse.uml2.uml.ecore.importer">
<details key="OPPOSITE_ROLE_NAMES" value="IGNORE"/>
<details key="DUPLICATE_FEATURES" value="DISCARD"/>
@@ -36,7 +36,7 @@ <details key="VALIDATION_DELEGATES" value="IGNORE"/>
</genAnnotations>
<foreignModel>ExpansionModel.uml</foreignModel>
- <genPackages xsi:type="genmodel:GenPackage" prefix="Expansionmodel" basePackage="org.eclipse.papyrus.infra.gmfdiag.common"
+ <genPackages xsi:type="genmodel:GenPackage" prefix="Expansionmodel" basePackage="org.eclipse.papyrus.infra.gmfdiag.expansion"
resource="XMI" disposableProviderFactory="true" ecorePackage="expansionmodel.ecore#/">
<genClasses xsi:type="genmodel:GenClass" ecoreClass="expansionmodel.ecore#//Representation">
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute expansionmodel.ecore#//Representation/graphicalElementType"/>
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.notation b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.notation index 7c8e5ebc0c7..7c8e5ebc0c7 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.notation +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.notation diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.uml b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.uml index 492aa688de3..492aa688de3 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/ExpansionModel.uml +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/ExpansionModel.uml diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/expansionmodel.ecore b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/expansionmodel.ecore index dafcbb6fe44..353aeb2a76a 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/model/expansionmodel.ecore +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/resources/models/expansionmodel.ecore @@ -3,7 +3,7 @@ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="expansionmodel" nsURI="http:///expansionmodel.ecore" nsPrefix="expansionmodel">
<eClassifiers xsi:type="ecore:EClass" name="Representation" eSuperTypes="#//AbstractRepresentation">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="A representation is en element that is displyed on a diagram it is attached to a controler (see editpart) and to a notation structure( build bt the viewFactory)"/>
+ <details key="documentation" value="A representation is en element that is displayed on a diagram it is attached to a controler (see editpart) and to a notation structure( build bt the viewFactory)"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="graphicalElementType" ordered="false"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DeveloperDoc.html b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DeveloperDoc.html index c9be22df262..c9be22df262 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DeveloperDoc.html +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DeveloperDoc.html diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DevelopperModelForExpansion.di b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DevelopperModelForExpansion.di index 8634d4c00e0..8634d4c00e0 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DevelopperModelForExpansion.di +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DevelopperModelForExpansion.di diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DevelopperModelForExpansion.notation b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DevelopperModelForExpansion.notation index 30eb2f57dfb..30eb2f57dfb 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DevelopperModelForExpansion.notation +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DevelopperModelForExpansion.notation diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DevelopperModelForExpansion.uml b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DevelopperModelForExpansion.uml index 3477167e637..3477167e637 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/DevelopperModelForExpansion.uml +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/DevelopperModelForExpansion.uml diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/default.css b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/default.css index 3f6c382563f..3f6c382563f 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/default.css +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/default.css diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/ClassDiagram.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/ClassDiagram.png Binary files differindex 33d684e2204..33d684e2204 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/ClassDiagram.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/ClassDiagram.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/CommentDiagram.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/CommentDiagram.png Binary files differindex 8c89154e7a1..8c89154e7a1 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/CommentDiagram.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/CommentDiagram.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/CreateNewExpansionModel_1.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/CreateNewExpansionModel_1.png Binary files differindex 59d46df74ff..59d46df74ff 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/CreateNewExpansionModel_1.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/CreateNewExpansionModel_1.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/CreateNewExpansionModel_2.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/CreateNewExpansionModel_2.png Binary files differindex ee1067d95cd..ee1067d95cd 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/CreateNewExpansionModel_2.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/CreateNewExpansionModel_2.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/Creation_of_InducedRepresentations.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/Creation_of_InducedRepresentations.png Binary files differindex bda4eec46d8..bda4eec46d8 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/Creation_of_InducedRepresentations.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/Creation_of_InducedRepresentations.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/NewEcoreUMLClassDiagram.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/NewEcoreUMLClassDiagram.png Binary files differindex 3f99fddb965..3f99fddb965 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/NewEcoreUMLClassDiagram.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/NewEcoreUMLClassDiagram.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/ResuseNode.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/ResuseNode.png Binary files differindex d1e1a5edd3f..d1e1a5edd3f 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/ResuseNode.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/ResuseNode.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/Test.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/Test.png Binary files differindex 500ad1814cd..500ad1814cd 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/Test.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/Test.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/Test_expansion_model.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/Test_expansion_model.png Binary files differindex 3486b1e35b2..3486b1e35b2 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/Test_expansion_model.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/Test_expansion_model.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/UseCaseDiagram.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/UseCaseDiagram.png Binary files differindex 9e57f070785..9e57f070785 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/UseCaseDiagram.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/UseCaseDiagram.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/UseContext.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/UseContext.png Binary files differindex 6b6db8228e6..6b6db8228e6 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/UseContext.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/UseContext.png diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/View_Providers.png b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/View_Providers.png Binary files differindex 705db0ebbb6..705db0ebbb6 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/doc/imgDOC/View_Providers.png +++ b/plugins/infra/gmfdiag/expansion/org.eclipse.papyrus.infra.gmfdiag.expansion/src/main/site/pmde/imgDOC/View_Providers.png diff --git a/plugins/infra/gmfdiag/expansion/pom.xml b/plugins/infra/gmfdiag/expansion/pom.xml index d02e193d0a5..a4383a82385 100644 --- a/plugins/infra/gmfdiag/expansion/pom.xml +++ b/plugins/infra/gmfdiag/expansion/pom.xml @@ -13,6 +13,7 @@ <description>Frameworks for GMF-based diagram editors.</description> <modules> + <module>org.eclipse.papyrus.infra.gmfdiag.expansion</module> <module>org.eclipse.papyrus.infra.gmfdiag.expansion.edit</module> <module>org.eclipse.papyrus.infra.gmfdiag.expansion.editor</module> </modules> diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/.classpath b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/.classpath index f0c55498599..eca7bdba8f0 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/.classpath +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/.classpath @@ -3,6 +3,5 @@ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="src" path="src"/> - <classpathentry kind="src" path="src-gen"/> <classpathentry kind="output" path="bin"/> </classpath> diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/META-INF/MANIFEST.MF b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/META-INF/MANIFEST.MF index 501ee1c8008..cd189652141 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/META-INF/MANIFEST.MF +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/META-INF/MANIFEST.MF @@ -9,10 +9,6 @@ Export-Package: org.eclipse.papyrus.infra.gmfdiag.common, org.eclipse.papyrus.infra.gmfdiag.common.decoration, org.eclipse.papyrus.infra.gmfdiag.common.editpart, org.eclipse.papyrus.infra.gmfdiag.common.editpolicies, - org.eclipse.papyrus.infra.gmfdiag.common.expansion, - org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel, - org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.impl, - org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.util, org.eclipse.papyrus.infra.gmfdiag.common.figure, org.eclipse.papyrus.infra.gmfdiag.common.figure.edge, org.eclipse.papyrus.infra.gmfdiag.common.figure.node, diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/build.properties b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/build.properties index 11396e8fa01..0e697937ca5 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/build.properties +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/build.properties @@ -12,6 +12,5 @@ bin.includes = .options,\ output..=bin/ jars.compile.order=. src.includes = about.html -source.. = src/,\ - src-gen/ +source.. = src/ bin..=bin/ diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/plugin.xml b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/plugin.xml index e0381ecdba3..dfd80d6b7ca 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/plugin.xml +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/plugin.xml @@ -455,58 +455,6 @@ </Priority> </IconProvider> </extension> - - <extension - point="org.eclipse.gmf.runtime.diagram.core.viewProviders"> - <viewProvider - class="org.eclipse.papyrus.infra.gmfdiag.common.expansion.ExpandViewProvider"> - <Priority - name="Low"> - </Priority> - </viewProvider> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated ExpandModel --> - <package - uri="http:///expansionmodel.ecore" - class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage" - genModel="model/ExpansionModel.genmodel"/> - </extension> - - - <extension point="org.eclipse.emf.ecore.extension_parser"> - <!-- @generated NOT ExpandModel --> - <parser - type="expansionmodel" - class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.CustomExpansionmodelResourceFactory"/> - </extension> - - <extension - point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders"> - <editpartProvider - class="org.eclipse.papyrus.infra.gmfdiag.common.expansion.ExpandEditPartProvider"> - <Priority - name="Lowest"> - </Priority> - </editpartProvider> - </extension> - <extension - point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders"> - <editpolicyProvider - class="org.eclipse.papyrus.infra.gmfdiag.common.expansion.InducedRepresentationPolicyProvider"> - <Priority - name="Lowest"> - </Priority> - </editpolicyProvider> - </extension> - <extension - point="org.eclipse.emf.ecore.factory_override"> - <factory - class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.CustomExpansionmodelFactoryImpl" - uri="http:///expansionmodel.ecore"> - </factory> - </extension> <extension point="org.eclipse.papyrus.infra.sync.triggers"> diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/META-INF/MANIFEST.MF b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/META-INF/MANIFEST.MF index 2edbd19ba1b..12c936399a6 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/META-INF/MANIFEST.MF +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/META-INF/MANIFEST.MF @@ -2,6 +2,7 @@ Manifest-Version: 1.0 Export-Package: org.eclipse.papyrus.infra.gmfdiag.dnd.policy, org.eclipse.papyrus.infra.gmfdiag.dnd.strategy Require-Bundle: org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.expansion;bundle-version="[2.0.0,3.0.0)", org.eclipse.papyrus.infra.emf;bundle-version="[2.0.0,3.0.0)" Bundle-Vendor: Eclipse Modeling Project Bundle-ActivationPolicy: lazy diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/src/org/eclipse/papyrus/infra/gmfdiag/dnd/strategy/ExpansionElementDropStrategy.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/src/org/eclipse/papyrus/infra/gmfdiag/dnd/strategy/ExpansionElementDropStrategy.java index 9a13f98cfff..3703dbda61e 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/src/org/eclipse/papyrus/infra/gmfdiag/dnd/strategy/ExpansionElementDropStrategy.java +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.dnd/src/org/eclipse/papyrus/infra/gmfdiag/dnd/strategy/ExpansionElementDropStrategy.java @@ -34,12 +34,12 @@ import org.eclipse.gmf.runtime.emf.type.core.IHintedType; import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType;
import org.eclipse.gmf.runtime.notation.Diagram;
import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.AbstractRepresentation;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation;
import org.eclipse.papyrus.infra.gmfdiag.dnd.Activator;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry;
import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype;
import org.eclipse.swt.graphics.Image;
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/.settings/org.eclipse.core.resources.prefs b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0203a..00000000000 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/<project>=UTF-8 diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF index 8dafe015702..aa5768a4870 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF @@ -79,6 +79,7 @@ Require-Bundle: org.eclipse.papyrus.extensionpoints.editors;bundle-version="[2.0 org.eclipse.papyrus.infra.gmfdiag.menu;bundle-version="[1.2.0,2.0.0)";visibility:=reexport, org.eclipse.e4.ui.css.core;bundle-version="[0.11.0,1.0.0)", org.eclipse.papyrus.infra.gmfdiag.canonical;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.papyrus.infra.gmfdiag.expansion;bundle-version="[2.0.0,3.0.0)", org.eclipse.papyrus.uml.appearance;bundle-version="[1.2.0,2.0.0)", org.eclipse.papyrus.infra.hyperlink;bundle-version="[3.0.0,4.0.0)", org.eclipse.nebula.widgets.richtext;bundle-version="[1.0.0,2.0.0)", diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLNodeEditPart.java index 217df2b72bb..f4181a8219e 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLNodeEditPart.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLNodeEditPart.java @@ -39,9 +39,9 @@ import org.eclipse.gmf.runtime.notation.View; import org.eclipse.jface.resource.FontDescriptor; import org.eclipse.papyrus.infra.emf.appearance.helper.VisualInformationPapyrusConstants; import org.eclipse.papyrus.infra.gmfdiag.common.editpart.NodeEditPart; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype; import org.eclipse.papyrus.uml.diagram.common.editpolicies.ApplyStereotypeEditPolicy; import org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeCompartmentFigure; diff --git a/plugins/uml/properties/.project b/plugins/uml/properties/.project new file mode 100644 index 00000000000..7449e7874b1 --- /dev/null +++ b/plugins/uml/properties/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.uml-properties</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/plugins/views/properties/.project b/plugins/views/properties/.project new file mode 100644 index 00000000000..5009810cc43 --- /dev/null +++ b/plugins/views/properties/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.views-properties</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/META-INF/MANIFEST.MF b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/META-INF/MANIFEST.MF new file mode 100644 index 00000000000..1db4c5cb885 --- /dev/null +++ b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/META-INF/MANIFEST.MF @@ -0,0 +1,30 @@ +Manifest-Version: 1.0
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.papyrus.infra.core;bundle-version="1.2.0",
+ org.eclipse.ui.workbench,
+ org.eclipse.ui.ide,
+ org.eclipse.emf.ecore;bundle-version="2.9.1",
+ org.junit;bundle-version="4.10.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="1.2.0",
+ org.eclipse.papyrus.uml.diagram.clazz;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.uml.diagram.activity;bundle-version="1.2.0",
+ org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.uml.diagram.emftree;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.emf.diagram.common;bundle-version="1.2.0",
+ org.eclipse.core.commands;bundle-version="3.6.100",
+ org.eclipse.emf.transaction;bundle-version="1.4.0",
+ org.eclipse.papyrus.infra.ui;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0"
+Export-Package: org.eclipse.papyrus.integrationtests.editor
+Bundle-Vendor: %providerName
+Bundle-ActivationPolicy: lazy
+Bundle-Version: 1.2.0.qualifier
+Bundle-Name: %pluginName
+Bundle-Localization: plugin
+Bundle-ManifestVersion: 2
+Bundle-Activator: org.eclipse.papyrus.integrationtests.editor.Activator
+Bundle-SymbolicName: org.eclipse.papyrus.integrationtests.editor
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.core.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.core.tests/META-INF/MANIFEST.MF index 5608079726f..7360fbbe49a 100644 --- a/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.core.tests/META-INF/MANIFEST.MF +++ b/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.core.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.papyrus.cdo.core;bundle-version="1.2.0";visibility:= org.eclipse.emf.cdo.net4j;bundle-version="[4.1.0,5.0.0)", org.eclipse.net4j.jvm;bundle-version="[4.1.0,5.0.0)", org.eclipse.papyrus.uml.tools;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.core.expressions;bundle-version="3.4.0", org.eclipse.papyrus.infra.services.controlmode;bundle-version="1.2.0", org.eclipse.papyrus.infra.emf;bundle-version="1.2.0", diff --git a/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.tests/META-INF/MANIFEST.MF index 6e56d99de51..52dccc66337 100644 --- a/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.tests/META-INF/MANIFEST.MF +++ b/tests/junit/extraplugins/cdo/org.eclipse.papyrus.cdo.ui.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.ui.workbench,
org.eclipse.papyrus.cdo.core;bundle-version="1.2.0",
org.eclipse.emf.cdo.ui;bundle-version="[4.2.0,5.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.emf.cdo.dawn;bundle-version="[2.0.0,3.0.0)",
org.eclipse.emf.cdo.dawn.gmf;bundle-version="[2.1.0,3.0.0)",
org.eclipse.emf.cdo.dawn.ui;bundle-version="[2.0.0,3.0.0)",
diff --git a/tests/junit/extraplugins/elk/org.eclipse.papyrus.infra.gmfdiag.elk.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/elk/org.eclipse.papyrus.infra.gmfdiag.elk.tests/META-INF/MANIFEST.MF index 12d74dd2c71..ef36e822d3d 100644 --- a/tests/junit/extraplugins/elk/org.eclipse.papyrus.infra.gmfdiag.elk.tests/META-INF/MANIFEST.MF +++ b/tests/junit/extraplugins/elk/org.eclipse.papyrus.infra.gmfdiag.elk.tests/META-INF/MANIFEST.MF @@ -12,7 +12,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0", org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.uml2.uml;bundle-version="4.0.0", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0", org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0", diff --git a/tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/META-INF/MANIFEST.MF index a6597d6b8b7..7aeb4ebd389 100644 --- a/tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/META-INF/MANIFEST.MF +++ b/tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/META-INF/MANIFEST.MF @@ -28,7 +28,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.transaction,
org.eclipse.uml2.uml.resources,
org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.gef,
org.eclipse.papyrus.uml.extensionpoints;bundle-version="1.2.0",
org.eclipse.papyrus.junit.framework;bundle-version="1.2.0",
diff --git a/tests/junit/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.file.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.file.tests/META-INF/MANIFEST.MF index 7aa934b2ff8..1c444c56c67 100644 --- a/tests/junit/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.file.tests/META-INF/MANIFEST.MF +++ b/tests/junit/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.file.tests/META-INF/MANIFEST.MF @@ -10,7 +10,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.emf.compare.ui;bundle-version="1.2.0",
org.eclipse.compare;bundle-version="3.5.300",
org.eclipse.papyrus.uml.tools;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.junit;bundle-version="4.10.0"
Export-Package: org.eclipse.papyrus.uml.compare.file.tests
Bundle-Vendor: %Bundle-Vendor
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.editor.integration.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/core/org.eclipse.papyrus.editor.integration.tests/META-INF/MANIFEST.MF index b6554d65507..b5cfb384cf8 100644 --- a/tests/junit/plugins/core/org.eclipse.papyrus.editor.integration.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/core/org.eclipse.papyrus.editor.integration.tests/META-INF/MANIFEST.MF @@ -5,7 +5,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.uml.diagram.clazz;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.timing;bundle-version="1.2.0",
org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.gmf.runtime.notation;bundle-version="1.5.0",
org.eclipse.papyrus.uml.tools;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.1.0",
diff --git a/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/META-INF/MANIFEST.MF index b8d53cfcf83..41ef08e3281 100644 --- a/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/META-INF/MANIFEST.MF @@ -13,7 +13,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.papyrus.infra.services.edit;bundle-version="1.2.0",
org.eclipse.papyrus.infra.core;bundle-version="1.2.0",
org.eclipse.papyrus.infra.emf;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.junit.utils;bundle-version="1.2.0",
com.google.guava;bundle-version="11.0.0",
diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.canonical.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.canonical.tests/META-INF/MANIFEST.MF index ea840a6b3b5..0b3eb526028 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.canonical.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.canonical.tests/META-INF/MANIFEST.MF @@ -9,7 +9,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.core;bundle-version="1.2.0", org.eclipse.uml2.uml;bundle-version="5.1.0", org.eclipse.papyrus.uml.diagram.clazz;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.emf;bundle-version="1.2.0", com.google.guava;bundle-version="11.0.0", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0", diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/META-INF/MANIFEST.MF index bb2e1a825c0..1b990a3d95c 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/META-INF/MANIFEST.MF @@ -1,13 +1,14 @@ Manifest-Version: 1.0 Require-Bundle: org.junit;bundle-version="4.10.0", - org.eclipse.papyrus.junit.framework;bundle-version="1.1.0", - org.eclipse.papyrus.junit.utils;bundle-version="1.1.0", + org.eclipse.papyrus.junit.framework;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.junit.utils;bundle-version="[2.0.100,3.0.0)", org.eclipse.papyrus.infra.gmfdiag.assistant, org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", org.eclipse.papyrus.infra.gmfdiag.canonical;bundle-version="1.2.0", org.eclipse.uml2.uml;bundle-version="5.1.0", org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="3.0.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.expansion;bundle-version="[2.0.0,3.0.0)", org.eclipse.papyrus.uml.diagram.clazz;bundle-version="2.0.0", org.eclipse.papyrus.uml.service.types;bundle-version="2.0.0" Export-Package: org.eclipse.papyrus.infra.gmfdiag.common.tests, diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/AssistantUsage.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/AssistantUsage.java index 622deab1cd6..bb9aee454fb 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/AssistantUsage.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/AssistantUsage.java @@ -35,11 +35,11 @@ import org.eclipse.papyrus.infra.gmfdiag.assistant.core.IModelingAssistantModelP import org.eclipse.papyrus.infra.gmfdiag.assistant.internal.core.DefaultModelingAssistantModelProvider; import org.eclipse.papyrus.infra.gmfdiag.assistant.internal.core.ModelingAssistantModelRegistry; import org.eclipse.papyrus.infra.gmfdiag.common.SynchronizableGmfDiagramEditor; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor; import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassEditPart; diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddBorderItem.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddBorderItem.java index 6606dc2c5fc..b5672309b3f 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddBorderItem.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddBorderItem.java @@ -23,10 +23,10 @@ import org.eclipse.gmf.runtime.notation.Diagram; import org.eclipse.papyrus.infra.core.resource.ModelSet; import org.eclipse.papyrus.infra.core.sashwindows.di.service.IPageManager; import org.eclipse.papyrus.infra.core.utils.ServiceUtils; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor; import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassEditPart; diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddChildLabel.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddChildLabel.java index d68e1c916c4..2c8848d7c3f 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddChildLabel.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddChildLabel.java @@ -33,11 +33,11 @@ import org.eclipse.papyrus.infra.core.resource.ModelSet; import org.eclipse.papyrus.infra.core.sashwindows.di.service.IPageManager; import org.eclipse.papyrus.infra.core.utils.ServiceUtils; import org.eclipse.papyrus.infra.gmfdiag.common.SynchronizableGmfDiagramEditor; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor; import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassEditPart; diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartment.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartment.java index 8d9216a30ab..31b80497d88 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartment.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartment.java @@ -25,11 +25,11 @@ import org.eclipse.gmf.runtime.notation.View; import org.eclipse.papyrus.infra.core.resource.ModelSet; import org.eclipse.papyrus.infra.core.sashwindows.di.service.IPageManager; import org.eclipse.papyrus.infra.core.utils.ServiceUtils; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor; import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassEditPart; diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartmentWithKind.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartmentWithKind.java index b27eedcb214..ab429825d85 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartmentWithKind.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddCompartmentWithKind.java @@ -25,11 +25,11 @@ import org.eclipse.gmf.runtime.notation.View; import org.eclipse.papyrus.infra.core.resource.ModelSet; import org.eclipse.papyrus.infra.core.sashwindows.di.service.IPageManager; import org.eclipse.papyrus.infra.core.utils.ServiceUtils; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.InducedRepresentationCreationEditPolicy; import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor; import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassEditPart; diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddLink.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddLink.java index 62e9e30f16c..88024316497 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddLink.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionAddLink.java @@ -35,10 +35,10 @@ import org.eclipse.papyrus.infra.core.resource.ModelSet; import org.eclipse.papyrus.infra.core.sashwindows.di.service.IPageManager; import org.eclipse.papyrus.infra.core.utils.ServiceUtils; import org.eclipse.papyrus.infra.gmfdiag.common.SynchronizableGmfDiagramEditor; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.types.core.registries.ElementTypeConfigurationTypeRegistry; import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor; import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionDropElements.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionDropElements.java index 816af6e54ec..ce0dc0d8640 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionDropElements.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/ExpansionDropElements.java @@ -36,10 +36,10 @@ import org.eclipse.papyrus.infra.core.resource.ModelSet; import org.eclipse.papyrus.infra.core.sashwindows.di.service.IPageManager; import org.eclipse.papyrus.infra.core.utils.ServiceUtils; import org.eclipse.papyrus.infra.gmfdiag.common.SynchronizableGmfDiagramEditor; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton; -import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry; import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor; import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; import org.eclipse.uml2.uml.Class; diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/LoadExpansionModel.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/LoadExpansionModel.java index 0f77e10c875..66456f4bdc5 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/LoadExpansionModel.java +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/src/org/eclipse/papyrus/infra/gmfdiag/common/tests/LoadExpansionModel.java @@ -14,8 +14,8 @@ package org.eclipse.papyrus.infra.gmfdiag.common.tests;
import org.eclipse.emf.common.util.URI;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionSingleton;
-import org.eclipse.papyrus.infra.gmfdiag.common.expansion.DiagramExpansionsRegistry;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionSingleton;
+import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.DiagramExpansionsRegistry;
import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
import org.junit.After;
import org.junit.Assert;
diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/META-INF/MANIFEST.MF index 5316f5ad496..6d75ea5a797 100644 --- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/META-INF/MANIFEST.MF @@ -16,7 +16,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.uml2.uml;bundle-version="4.0.0", org.eclipse.papyrus.infra.emf.appearance;bundle-version="1.2.0", org.junit;bundle-version="4.10.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.core.databinding;bundle-version="1.4.1", org.eclipse.papyrus.junit.framework;bundle-version="1.2.0", org.eclipse.papyrus.junit.utils;bundle-version="1.2.0", diff --git a/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.tests/META-INF/MANIFEST.MF index 6fbc5644dbf..b36943a1584 100644 --- a/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.tests/META-INF/MANIFEST.MF @@ -10,7 +10,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.nattable;bundle-version="1.2.0", org.eclipse.nebula.widgets.nattable.core;bundle-version="[1.4.0,2.0.0)", org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.tools;bundle-version="1.2.0", org.eclipse.papyrus.junit.utils;bundle-version="1.2.0", org.eclipse.papyrus.infra.ui;bundle-version="1.2.0" diff --git a/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.views.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.views.tests/META-INF/MANIFEST.MF index a9b706f8f9d..21ff4419fd0 100755 --- a/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.views.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.views.tests/META-INF/MANIFEST.MF @@ -17,7 +17,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.nattable.common;bundle-version="1.2.0", org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.7.0", org.eclipse.papyrus.editor.integration.tests;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.services.edit;bundle-version="1.2.0", org.eclipse.papyrus.junit.framework;bundle-version="1.2.0", org.eclipse.ui.navigator;bundle-version="3.5.500", diff --git a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/META-INF/MANIFEST.MF index 5ff2d6c91db..a39e8365682 100644 --- a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Require-Bundle: org.junit;bundle-version="4.10.0", org.eclipse.papyrus.junit.utils;bundle-version="1.2.0", org.eclipse.papyrus.sysml.diagram.blockdefinition;bundle-version="1.2.0", org.eclipse.papyrus.sysml;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="2.0.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.diagram.common;bundle-version="2.0.0", org.eclipse.papyrus.sysml.service.types;bundle-version="1.2.0", org.eclipse.papyrus.infra.core.sashwindows.di diff --git a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/META-INF/MANIFEST.MF index c8fa0fb2e1a..bb87580db84 100644 --- a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0 com.google.guava;bundle-version="11.0.0", org.eclipse.papyrus.sysml.diagram.internalblock;bundle-version="1.2.0", org.eclipse.papyrus.sysml;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="2.0.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.diagram.common;bundle-version="2.0.0", org.eclipse.papyrus.sysml.service.types;bundle-version="1.2.0" Export-Package: org.eclipse.papyrus.sysml.diagram.internalblock.tests.suites diff --git a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/META-INF/MANIFEST.MF index 84e40c4b03e..e4619f613b7 100644 --- a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0 org.eclipse.papyrus.infra.core.sashwindows.di;bundle-version="1.2.0", org.eclipse.papyrus.sysml.diagram.parametric;bundle-version="1.2.0", org.eclipse.papyrus.sysml;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="2.0.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.diagram.common;bundle-version="2.0.0", org.eclipse.papyrus.sysml.service.types;bundle-version="1.2.0", org.eclipse.papyrus.sysml.diagram.internalblock;bundle-version="2.0.0" diff --git a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/META-INF/MANIFEST.MF index 2576b801854..c22a1902057 100644 --- a/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/META-INF/MANIFEST.MF index c13a9d33122..dc26be08c7f 100644 --- a/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/META-INF/MANIFEST.MF @@ -20,7 +20,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.editor.integration.tests;bundle-version="1.2.0", org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0", org.eclipse.papyrus.infra.core;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.widgets;bundle-version="1.2.0", org.eclipse.nebula.widgets.nattable.core;bundle-version="[1.4.0,2.0.0)", org.eclipse.papyrus.junit.utils;bundle-version="1.2.0", diff --git a/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.modelexplorer.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.modelexplorer.tests/META-INF/MANIFEST.MF index 11237b3f639..7d2d290206b 100644 --- a/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.modelexplorer.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/sysml/org.eclipse.papyrus.sysml.modelexplorer.tests/META-INF/MANIFEST.MF @@ -17,7 +17,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.views.modelexplorer;bundle-version="1.2.0",
org.eclipse.papyrus.sysml.modelexplorer;bundle-version="1.2.0",
org.eclipse.papyrus.sysml.service.types;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.sysml.diagram.common;bundle-version="1.2.0",
org.eclipse.papyrus.junit.utils;bundle-version="1.2.0",
org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/META-INF/MANIFEST.MF index 635fec8e759..4532081932f 100644 --- a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.controlmode.tests/META-INF/MANIFEST.MF @@ -15,7 +15,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.7.0",
org.eclipse.papyrus.junit.utils;bundle-version="1.2.0",
org.eclipse.papyrus.junit.framework;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
com.google.guava;bundle-version="11.0.0",
org.eclipse.core.expressions;bundle-version="3.4.600",
org.eclipse.papyrus.infra.services.controlmode;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/META-INF/MANIFEST.MF index 052cbaa2861..ebe460f98ec 100644 --- a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/META-INF/MANIFEST.MF @@ -15,7 +15,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.7.0",
org.eclipse.papyrus.junit.utils;bundle-version="1.2.0",
org.eclipse.papyrus.junit.framework;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
com.google.guava;bundle-version="11.0.0",
org.eclipse.core.expressions;bundle-version="3.4.600",
org.eclipse.papyrus.uml.modelrepair;bundle-version="1.2.0"
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/META-INF/MANIFEST.MF index b6ea0d411a9..9623c05b5a4 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0", org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0", org.eclipse.papyrus.uml.diagram.activity;bundle-version="1.2.0", org.eclipse.uml2.uml;bundle-version="4.0.0", diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/META-INF/MANIFEST.MF index 07e2902d905..a94929c3644 100755 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF index 8856bcaeb58..99e1d68637f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF @@ -8,7 +8,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.junit.framework;bundle-version="1.2.0", org.eclipse.papyrus.infra.core;bundle-version="1.2.0", org.eclipse.papyrus.uml.tools;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.gmf.runtime.notation.edit, org.eclipse.papyrus.infra.widgets;bundle-version="1.2.0", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0", diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication.tests/META-INF/MANIFEST.MF index aef0bfed773..a32b7db1a0f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication.tests/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/META-INF/MANIFEST.MF index 421ef5ca54c..fca3db6381b 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF index f42117bbde8..cc48f1d4378 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.composite;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment.tests/META-INF/MANIFEST.MF index 0aa417536cd..267085cbd2d 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd.tests/META-INF/MANIFEST.MF index e0cb4d03b31..e0684c85e5e 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd.tests/META-INF/MANIFEST.MF @@ -19,7 +19,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.papyrus.junit.framework;bundle-version="1.2.0",
org.eclipse.papyrus.junit.utils;bundle-version="1.2.0",
org.eclipse.papyrus.infra.services.edit;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
org.eclipse.papyrus.infra.ui;bundle-version="1.2.0"
Export-Package: org.eclipse.papyrus.uml.diagram.dnd.tests.tests
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.interactionoverview.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.interactionoverview.tests/META-INF/MANIFEST.MF index 1f6940cb9e1..f5ec245786f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.interactionoverview.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.interactionoverview.tests/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.activity;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.timing;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/META-INF/MANIFEST.MF index 22ea835ea8d..7f57111b734 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/META-INF/MANIFEST.MF @@ -11,7 +11,7 @@ Require-Bundle: org.eclipse.ui, org.junit;bundle-version="4.11.0",
org.eclipse.papyrus.uml.diagram.clazz;bundle-version="1.1.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.1.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.editor;bundle-version="1.1.0",
org.eclipse.papyrus.infra.core;bundle-version="1.1.0",
org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.1.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.profile.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.profile.tests/META-INF/MANIFEST.MF index ae79d17c867..43c43272f8b 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.profile.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.profile.tests/META-INF/MANIFEST.MF @@ -5,7 +5,7 @@ Require-Bundle: org.eclipse.papyrus.infra.core;bundle-version="1.2.0", org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence.tests/META-INF/MANIFEST.MF index 1dd7808b568..d2582f1ac69 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence.tests/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.papyrus.infra.core;bundle-version="1.2.0", org.eclipse.gmf.runtime.diagram.ui.render;bundle-version="1.7.0", org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0", org.eclipse.papyrus.uml.diagram.sequence;bundle-version="1.2.0", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0", diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/META-INF/MANIFEST.MF index 8329802cc6b..a0a4cb369e2 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotypeproperty.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotypeproperty.tests/META-INF/MANIFEST.MF index 1ed1bb71b0e..1430cfa6771 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotypeproperty.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotypeproperty.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.extensionpoints;bundle-version="1.2.0",
org.eclipse.papyrus.uml.tools;bundle-version="1.2.0",
org.eclipse.uml2.uml;bundle-version="4.0.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.tests/META-INF/MANIFEST.MF index f3c93272383..24db229d443 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.tests/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0", org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0", org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.uml2.uml;bundle-version="4.0.0", org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", org.eclipse.ui.ide;bundle-version="3.8.0", diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF index f741c1582a3..0c84b68ac0a 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.timing.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.uml.diagram.timing;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.4.1",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.6.0",
org.eclipse.ui.ide;bundle-version="3.8.0",
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.usecase.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.usecase.tests/META-INF/MANIFEST.MF index ce61b7634fa..9f624134a59 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.usecase.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.usecase.tests/META-INF/MANIFEST.MF @@ -8,7 +8,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
+ org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
org.eclipse.papyrus.uml.diagram.usecase;bundle-version="1.2.0",
org.eclipse.papyrus.uml.diagram.tests;bundle-version="1.2.0",
org.eclipse.papyrus.uml.service.types;bundle-version="1.2.0",
diff --git a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/META-INF/MANIFEST.MF index 5292671c64e..c53df5f06f0 100644 --- a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.clazz.config.tests/META-INF/MANIFEST.MF @@ -14,7 +14,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.infra.nattable.model;bundle-version="1.2.0", org.eclipse.emf.transaction;bundle-version="1.8.0", org.eclipse.papyrus.infra.nattable.common;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0", ca.odell.glazedlists;bundle-version="1.9.0", org.eclipse.nebula.widgets.nattable.core;bundle-version="[1.4.0,2.0.0)", diff --git a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.generic.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.generic.tests/META-INF/MANIFEST.MF index 368ea66c7d0..9b06a3d49b6 100755 --- a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.generic.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.generic.tests/META-INF/MANIFEST.MF @@ -16,7 +16,7 @@ Require-Bundle: org.junit;bundle-version="4.11.0", org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", org.eclipse.papyrus.junit.framework;bundle-version="1.2.0", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.editor.integration.tests;bundle-version="1.2.0", org.eclipse.papyrus.infra.nattable.common;bundle-version="1.2.0", org.eclipse.papyrus.uml.nattable.generic.config;bundle-version="1.2.0", diff --git a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.stereotype.display.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.stereotype.display.tests/META-INF/MANIFEST.MF index 7e5d8c90890..81047f67942 100644 --- a/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.stereotype.display.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable.stereotype.display.tests/META-INF/MANIFEST.MF @@ -12,7 +12,7 @@ Require-Bundle: org.junit;bundle-version="4.11.0", org.eclipse.papyrus.infra.core;bundle-version="1.2.0", org.eclipse.gef, org.eclipse.emf.transaction, - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0", org.eclipse.papyrus.infra.nattable.common;bundle-version="1.2.0", org.eclipse.papyrus.infra.nattable;bundle-version="1.2.0", diff --git a/tests/junit/plugins/uml/profile/org.eclipse.papyrus.uml.profile.drafter.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/profile/org.eclipse.papyrus.uml.profile.drafter.tests/META-INF/MANIFEST.MF index 770147f80e5..fb25414e2b1 100644 --- a/tests/junit/plugins/uml/profile/org.eclipse.papyrus.uml.profile.drafter.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/profile/org.eclipse.papyrus.uml.profile.drafter.tests/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 1.2.0.qualifier Bundle-Activator: org.eclipse.papyrus.uml.profile.drafter.tests.Activator Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Require-Bundle: org.eclipse.papyrus.uml.profile.drafter;bundle-version="1.2.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", org.eclipse.papyrus.infra.core;bundle-version="1.2.0", org.eclipse.uml2.uml;bundle-version="4.0.0", org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", |