diff options
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/parser/custom/InputDecisionParser.java')
-rw-r--r-- | plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/parser/custom/InputDecisionParser.java | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/parser/custom/InputDecisionParser.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/parser/custom/InputDecisionParser.java index 84693a96405..68f1f6bd757 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/parser/custom/InputDecisionParser.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/parser/custom/InputDecisionParser.java @@ -1,49 +1,49 @@ -/*****************************************************************************
- * Copyright (c) 2010 Atos Origin.
- *
- *
- * 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:
- * Atos Origin - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.activity.parser.custom;
-
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * A specific parser for displaying the input decision behavior associated to a
- * decision node.
- */
-public class InputDecisionParser extends AssociatedBehaviorParser {
-
- /** The format for displaying Input decision */
- private static final String DECISION_INPUT_FORMAT = "<<decisionInput>>".concat(System.getProperty("line.separator")).concat("%s");
-
- /**
- * Get the format for displaying Input decision
- *
- * @see org.eclipse.papyrus.uml.diagram.activity.parser.custom.AssociatedBehaviorParser#getFormatString()
- * @return format string
- */
- @Override
- protected String getFormatString() {
- return DECISION_INPUT_FORMAT;
- }
-
- /**
- * Get the feature referencing the decision input
- *
- * @see org.eclipse.papyrus.uml.diagram.activity.parser.custom.AssociatedBehaviorParser#getReferenceFeature()
- * @return feature
- */
- @Override
- protected EStructuralFeature getReferenceFeature() {
- return UMLPackage.eINSTANCE.getDecisionNode_DecisionInput();
- }
-}
+/***************************************************************************** + * Copyright (c) 2010 Atos Origin. + * + * + * 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: + * Atos Origin - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.activity.parser.custom; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * A specific parser for displaying the input decision behavior associated to a + * decision node. + */ +public class InputDecisionParser extends AssociatedBehaviorParser { + + /** The format for displaying Input decision */ + private static final String DECISION_INPUT_FORMAT = "<<decisionInput>>".concat(System.getProperty("line.separator")).concat("%s"); + + /** + * Get the format for displaying Input decision + * + * @see org.eclipse.papyrus.uml.diagram.activity.parser.custom.AssociatedBehaviorParser#getFormatString() + * @return format string + */ + @Override + protected String getFormatString() { + return DECISION_INPUT_FORMAT; + } + + /** + * Get the feature referencing the decision input + * + * @see org.eclipse.papyrus.uml.diagram.activity.parser.custom.AssociatedBehaviorParser#getReferenceFeature() + * @return feature + */ + @Override + protected EStructuralFeature getReferenceFeature() { + return UMLPackage.eINSTANCE.getDecisionNode_DecisionInput(); + } +} |