Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine/src/org/eclipse/papyrus/uml/diagram/statemachine/part/UMLPaletteFactory.java')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine/src/org/eclipse/papyrus/uml/diagram/statemachine/part/UMLPaletteFactory.java738
1 files changed, 378 insertions, 360 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine/src/org/eclipse/papyrus/uml/diagram/statemachine/part/UMLPaletteFactory.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine/src/org/eclipse/papyrus/uml/diagram/statemachine/part/UMLPaletteFactory.java
index 4d2824732d9..e51515d6b4e 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine/src/org/eclipse/papyrus/uml/diagram/statemachine/part/UMLPaletteFactory.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine/src/org/eclipse/papyrus/uml/diagram/statemachine/part/UMLPaletteFactory.java
@@ -1,360 +1,378 @@
-/**
- * Copyright (c) 2014 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.uml.diagram.statemachine.part;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.gef.Tool;
-import org.eclipse.gmf.runtime.diagram.ui.services.palette.PaletteFactory;
-import org.eclipse.gmf.runtime.emf.type.core.IElementType;
-import org.eclipse.papyrus.uml.diagram.common.service.AspectUnspecifiedTypeConnectionTool;
-import org.eclipse.papyrus.uml.diagram.common.service.AspectUnspecifiedTypeCreationTool;
-import org.eclipse.papyrus.uml.diagram.statemachine.providers.UMLElementTypes;
-
-/**
- * @generated
- */
-public class UMLPaletteFactory extends PaletteFactory.Adapter {
- //RS: New Palette generation
- //Generates the ID for the tool elements
- //Generate the tool factory (if(ID) createtool...)
- /**
- * @generated
- */
- private final static String CREATEREGIONCREATIONTOOL = "createRegionCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATESTATECREATIONTOOL = "createStateCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEINITIALCREATIONTOOL = "createInitialCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEFINALSTATECREATIONTOOL = "createFinalStateCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATESHALLOWHISTORYCREATIONTOOL = "createShallowHistoryCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEDEEPHISTORYCREATIONTOOL = "createDeepHistoryCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEFORKCREATIONTOOL = "createForkCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEJOINCREATIONTOOL = "createJoinCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATECHOICECREATIONTOOL = "createChoiceCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEJUNCTIONCREATIONTOOL = "createJunctionCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEENTRYPOINTCREATIONTOOL = "createEntryPointCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATEEXITPOINTCREATIONTOOL = "createExitPointCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATETERMINATECREATIONTOOL = "createTerminateCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATECONNECTIONPOINTREFERENCECREATIONTOOL = "createConnectionPointReferenceCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATESTATEMACHINECOMMENTCREATIONTOOL = "createStateMachineCommentCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATECONSTRAINTCREATIONTOOL = "createConstraintCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATETRANSITIONCREATIONTOOL = "createTransitionCreationTool";//$NON-NLS-1$
- /**
- * @generated
- */
- private final static String CREATECOMMENTLINKCREATIONTOOL = "createCommentlinkCreationTool";//$NON-NLS-1$
-
- /**
- * @generated
- */
- public UMLPaletteFactory() {
- }
-
- /**
- * @generated
- */
- public Tool createTool(String toolId) {
- if (toolId.equals(CREATEREGIONCREATIONTOOL)) {
- return createRegionCreationTool();
- }
- if (toolId.equals(CREATESTATECREATIONTOOL)) {
- return createStateCreationTool();
- }
- if (toolId.equals(CREATEINITIALCREATIONTOOL)) {
- return createInitialCreationTool();
- }
- if (toolId.equals(CREATEFINALSTATECREATIONTOOL)) {
- return createFinalStateCreationTool();
- }
- if (toolId.equals(CREATESHALLOWHISTORYCREATIONTOOL)) {
- return createShallowHistoryCreationTool();
- }
- if (toolId.equals(CREATEDEEPHISTORYCREATIONTOOL)) {
- return createDeepHistoryCreationTool();
- }
- if (toolId.equals(CREATEFORKCREATIONTOOL)) {
- return createForkCreationTool();
- }
- if (toolId.equals(CREATEJOINCREATIONTOOL)) {
- return createJoinCreationTool();
- }
- if (toolId.equals(CREATECHOICECREATIONTOOL)) {
- return createChoiceCreationTool();
- }
- if (toolId.equals(CREATEJUNCTIONCREATIONTOOL)) {
- return createJunctionCreationTool();
- }
- if (toolId.equals(CREATEENTRYPOINTCREATIONTOOL)) {
- return createEntryPointCreationTool();
- }
- if (toolId.equals(CREATEEXITPOINTCREATIONTOOL)) {
- return createExitPointCreationTool();
- }
- if (toolId.equals(CREATETERMINATECREATIONTOOL)) {
- return createTerminateCreationTool();
- }
- if (toolId.equals(CREATECONNECTIONPOINTREFERENCECREATIONTOOL)) {
- return createConnectionPointReferenceCreationTool();
- }
- if (toolId.equals(CREATESTATEMACHINECOMMENTCREATIONTOOL)) {
- return createStateMachineCommentCreationTool();
- }
- if (toolId.equals(CREATECONSTRAINTCREATIONTOOL)) {
- return createConstraintCreationTool();
- }
- if (toolId.equals(CREATETRANSITIONCREATIONTOOL)) {
- return createTransitionCreationTool();
- }
- if (toolId.equals(CREATECOMMENTLINKCREATIONTOOL)) {
- return createCommentlinkCreationTool();
- }
- // default return: null
- return null;
- }
-
- /**
- * @generated
- */
- public Object getTemplate(String templateId) {
- // default return: null
- return null;
- }
-
- /**
- * @generated
- */
- private Tool createRegionCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Region_3000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createStateCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.State_6000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createInitialCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_8000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createFinalStateCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.FinalState_5000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createShallowHistoryCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_13000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createDeepHistoryCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_14000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createForkCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_10000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createJoinCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_9000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createChoiceCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_11000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createJunctionCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_12000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createEntryPointCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_16000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createExitPointCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_17000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createTerminateCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Pseudostate_15000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createConnectionPointReferenceCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.ConnectionPointReference_18000);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createStateMachineCommentCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Comment_666);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createConstraintCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Constraint_668);
- Tool tool = new AspectUnspecifiedTypeCreationTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createTransitionCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(1);
- types.add(UMLElementTypes.Transition_7000);
- Tool tool = new AspectUnspecifiedTypeConnectionTool(types);
- return tool;
- }
-
- /**
- * @generated
- */
- private Tool createCommentlinkCreationTool() {
- List<IElementType> types = new ArrayList<IElementType>(2);
- types.add(UMLElementTypes.CommentAnnotatedElement_667);
- types.add(UMLElementTypes.ConstraintConstrainedElement_670);
- Tool tool = new AspectUnspecifiedTypeConnectionTool(types);
- return tool;
- }
-}
+/**
+ * Copyright (c) 2014 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.uml.diagram.statemachine.part;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.gef.Tool;
+import org.eclipse.gmf.runtime.diagram.ui.services.palette.PaletteFactory;
+import org.eclipse.gmf.runtime.emf.type.core.IElementType;
+import org.eclipse.papyrus.uml.diagram.common.service.AspectUnspecifiedTypeConnectionTool;
+import org.eclipse.papyrus.uml.diagram.common.service.AspectUnspecifiedTypeCreationTool;
+import org.eclipse.papyrus.uml.diagram.statemachine.providers.UMLElementTypes;
+
+/**
+ * @generated
+ */
+public class UMLPaletteFactory extends PaletteFactory.Adapter {
+
+ //RS: New Palette generation
+ //Generates the ID for the tool elements
+ //Generate the tool factory (if(ID) createtool...)
+ /**
+ * @generated
+ */
+ private final static String CREATEREGIONCREATIONTOOL = "createRegionCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATESTATECREATIONTOOL = "createStateCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEINITIALCREATIONTOOL = "createInitialCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEFINALSTATECREATIONTOOL = "createFinalStateCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATESHALLOWHISTORYCREATIONTOOL = "createShallowHistoryCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEDEEPHISTORYCREATIONTOOL = "createDeepHistoryCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEFORKCREATIONTOOL = "createForkCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEJOINCREATIONTOOL = "createJoinCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATECHOICECREATIONTOOL = "createChoiceCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEJUNCTIONCREATIONTOOL = "createJunctionCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEENTRYPOINTCREATIONTOOL = "createEntryPointCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATEEXITPOINTCREATIONTOOL = "createExitPointCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATETERMINATECREATIONTOOL = "createTerminateCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATECONNECTIONPOINTREFERENCECREATIONTOOL = "createConnectionPointReferenceCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATESTATEMACHINECOMMENTCREATIONTOOL = "createStateMachineCommentCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATECONSTRAINTCREATIONTOOL = "createConstraintCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATETRANSITIONCREATIONTOOL = "createTransitionCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ private final static String CREATECOMMENTLINKCREATIONTOOL = "createCommentlinkCreationTool";//$NON-NLS-1$
+
+ /**
+ * @generated
+ */
+ public UMLPaletteFactory() {
+ }
+
+ /**
+ * @generated
+ */
+ public Tool createTool(String toolId) {
+ if(toolId.equals(CREATEREGIONCREATIONTOOL)) {
+ return createRegionCreationTool();
+ }
+ if(toolId.equals(CREATESTATECREATIONTOOL)) {
+ return createStateCreationTool();
+ }
+ if(toolId.equals(CREATEINITIALCREATIONTOOL)) {
+ return createInitialCreationTool();
+ }
+ if(toolId.equals(CREATEFINALSTATECREATIONTOOL)) {
+ return createFinalStateCreationTool();
+ }
+ if(toolId.equals(CREATESHALLOWHISTORYCREATIONTOOL)) {
+ return createShallowHistoryCreationTool();
+ }
+ if(toolId.equals(CREATEDEEPHISTORYCREATIONTOOL)) {
+ return createDeepHistoryCreationTool();
+ }
+ if(toolId.equals(CREATEFORKCREATIONTOOL)) {
+ return createForkCreationTool();
+ }
+ if(toolId.equals(CREATEJOINCREATIONTOOL)) {
+ return createJoinCreationTool();
+ }
+ if(toolId.equals(CREATECHOICECREATIONTOOL)) {
+ return createChoiceCreationTool();
+ }
+ if(toolId.equals(CREATEJUNCTIONCREATIONTOOL)) {
+ return createJunctionCreationTool();
+ }
+ if(toolId.equals(CREATEENTRYPOINTCREATIONTOOL)) {
+ return createEntryPointCreationTool();
+ }
+ if(toolId.equals(CREATEEXITPOINTCREATIONTOOL)) {
+ return createExitPointCreationTool();
+ }
+ if(toolId.equals(CREATETERMINATECREATIONTOOL)) {
+ return createTerminateCreationTool();
+ }
+ if(toolId.equals(CREATECONNECTIONPOINTREFERENCECREATIONTOOL)) {
+ return createConnectionPointReferenceCreationTool();
+ }
+ if(toolId.equals(CREATESTATEMACHINECOMMENTCREATIONTOOL)) {
+ return createStateMachineCommentCreationTool();
+ }
+ if(toolId.equals(CREATECONSTRAINTCREATIONTOOL)) {
+ return createConstraintCreationTool();
+ }
+ if(toolId.equals(CREATETRANSITIONCREATIONTOOL)) {
+ return createTransitionCreationTool();
+ }
+ if(toolId.equals(CREATECOMMENTLINKCREATIONTOOL)) {
+ return createCommentlinkCreationTool();
+ }
+ // default return: null
+ return null;
+ }
+
+ /**
+ * @generated
+ */
+ public Object getTemplate(String templateId) {
+ // default return: null
+ return null;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createRegionCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Region_3000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createStateCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.State_6000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createInitialCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_8000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createFinalStateCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.FinalState_5000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createShallowHistoryCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_13000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createDeepHistoryCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_14000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createForkCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_10000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createJoinCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_9000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createChoiceCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_11000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createJunctionCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_12000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createEntryPointCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_16000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createExitPointCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_17000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createTerminateCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Pseudostate_15000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createConnectionPointReferenceCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.ConnectionPointReference_18000);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createStateMachineCommentCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Comment_666);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createConstraintCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Constraint_668);
+ Tool tool = new AspectUnspecifiedTypeCreationTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createTransitionCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(1);
+ types.add(UMLElementTypes.Transition_7000);
+ Tool tool = new AspectUnspecifiedTypeConnectionTool(types);
+ return tool;
+ }
+
+ /**
+ * @generated
+ */
+ private Tool createCommentlinkCreationTool() {
+ List<IElementType> types = new ArrayList<IElementType>(2);
+ types.add(UMLElementTypes.CommentAnnotatedElement_667);
+ types.add(UMLElementTypes.ConstraintConstrainedElement_670);
+ Tool tool = new AspectUnspecifiedTypeConnectionTool(types);
+ return tool;
+ }
+}

Back to the top