diff options
Diffstat (limited to 'plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml')
-rw-r--r-- | plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml | 64 |
1 files changed, 27 insertions, 37 deletions
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml index e249da1e89b..e4a8051a692 100644 --- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml +++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml @@ -216,19 +216,9 @@ <!-- Load the ViewProvider on following SemanticHint related to IElementType(s) used in the palette (also used for legacy elements) --> <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="UML::Comment, UML::Constraint"></context> - <!-- - "2109" = COMMENT - "3097" = COMMENT_CN - "2114" = CONSTRAINT - "3120" = CONSTRAINT_CN - --> - <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="2109, 3097, 2114, 3120"></context> + <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="Comment_Shape, Comment_Shape_CN, Constraint_Shape, Constraint_Shape_CN"></context> - <!-- - "4002" = COMMENT_ANNOTATED_ELEMENT - "4003" = CONSTRAINT_CONSTRAINED_ELEMENT - --> - <context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints="4002, 4003"></context> + <context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints="Comment_AnnotatedElementEdge, Constraint_ConstrainedElementEdge"></context> <!-- Additional descriptors provided in case the semantic hint is is not provided --> @@ -288,42 +278,24 @@ <editpartProvider class="org.eclipse.papyrus.sysml.diagram.internalblock.provider.InheritedCompositeDiagramEditPartProvider"> <Priority name="Low"></Priority> - <!-- - The semantic hints given here are used in case the provider is not already loaded. - As soon as the provider is loaded its provides method is used. - "2109" = COMMENT - "5192" = COMMENT_LABEL_BODY_HINT - "3097" = COMMENT_CN - "5150" = COMMENT_CN_LABEL_BODY_HINT - "2114" = CONSTRAINT - "5197" = CONSTRAINT_LABEL_NAME_HINT - "6039" = CONSTRAINT_LABEL_SPECIFICATION_HINT - "3120" = CONSTRAINT_CN - "6048" = CONSTRAINT_CN_LABEL_NAME_HINT - "6049" = CONSTRAINT_CN_LABEL_SPECIFICATION_HINT - --> <object id="COMMENT" class="org.eclipse.gmf.runtime.notation.Node"> - <method name="getType()" value="2109, 5192"></method> + <method name="getType()" value="Comment_Shape, Comment_BodyLabel"></method> </object> <object id="COMMENT_CN" class="org.eclipse.gmf.runtime.notation.Node"> - <method name="getType()" value="3097, 5150"></method> + <method name="getType()" value="Comment_Shape_CN, Comment_BodyLabel_CN"></method> </object> <object id="CONSTRAINT" class="org.eclipse.gmf.runtime.notation.Node"> - <method name="getType()" value="2114, 5197, 6039"></method> + <method name="getType()" value="Constraint_Shape, Constraint_NameLabel, Constraint_BodyLabel"></method> </object> <object id="CONSTRAINT_CN" class="org.eclipse.gmf.runtime.notation.Node"> - <method name="getType()" value="3120, 6048, 6049"></method> + <method name="getType()" value="Constraint_Shape_CN, Constraint_NameLabel_CN, Constraint_BodyLabel_CN"></method> </object> - <!-- - "4002" = COMMENT_ANNOTATED_ELEMENT - "4003" = CONSTRAINT_CONSTRAINED_ELEMENT - --> <object id="COMMENT_ANNOTATED_ELEMENT" class="org.eclipse.gmf.runtime.notation.Edge"> - <method name="getType()" value="4002"></method> + <method name="getType()" value="Comment_AnnotatedElementEdge"></method> </object> <object id="CONSTRAINT_CONSTRAINED_ELEMENT" class="org.eclipse.gmf.runtime.notation.Edge"> - <method name="getType()" value="4003"></method> + <method name="getType()" value="Constraint_ConstrainedElementEdge"></method> </object> <context views="COMMENT, COMMENT_CN, CONSTRAINT, CONSTRAINT_CN"></context> @@ -558,10 +530,28 @@ <extension id="org.eclipse.papyrus.sysml.diagram.internalblock.migration" name="InternalBlockMigration" point="org.eclipse.papyrus.infra.gmfdiag.common.diagramReconciler"> <diagramReconciler diagramType="InternalBlock" - reconcilerClass="org.eclipse.papyrus.sysml.diagram.internalblock.migration.InternalBlockDiagramReconcilierUndefinedTo100" + reconcilerClass="org.eclipse.papyrus.sysml.diagram.internalblock.migration.InternalBlockDiagramReconcilerUndefinedTo100" source="undefined" target="1.1.0"> </diagramReconciler> + <diagramReconciler + diagramType="InternalBlock" + reconcilerClass="org.eclipse.papyrus.uml.diagram.composite.custom.migration.CompositeReconciler" + source="undefined" + target="1.1.0"> + </diagramReconciler> + <diagramReconciler + diagramType="InternalBlock" + reconcilerClass="org.eclipse.papyrus.uml.diagram.composite.custom.migration.CompositeReconcilerForCompartment" + source="undefined" + target="1.2.0"> + </diagramReconciler> + <diagramReconciler + diagramType="InternalBlock" + reconcilerClass="org.eclipse.papyrus.uml.diagram.composite.custom.migration.CompositeReconciler_1_2_0" + source="undefined" + target="1.2.0"> + </diagramReconciler> </extension> <extension |