diff options
Diffstat (limited to 'extraplugins/moka/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/Actions/BasicActions/CallBehaviorActionActivation.java')
-rw-r--r-- | extraplugins/moka/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/Actions/BasicActions/CallBehaviorActionActivation.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/extraplugins/moka/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/Actions/BasicActions/CallBehaviorActionActivation.java b/extraplugins/moka/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/Actions/BasicActions/CallBehaviorActionActivation.java deleted file mode 100644 index a9f3aba4d8c..00000000000 --- a/extraplugins/moka/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/Actions/BasicActions/CallBehaviorActionActivation.java +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2012 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.moka.fuml.Semantics.Actions.BasicActions; - -import org.eclipse.papyrus.moka.fuml.Semantics.Classes.Kernel.Object_; -import org.eclipse.papyrus.moka.fuml.Semantics.CommonBehaviors.BasicBehaviors.Execution; -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.CallBehaviorAction; -import org.eclipse.uml2.uml.OpaqueBehavior; - -public class CallBehaviorActionActivation extends CallActionActivation { - - @Override - public Execution getCallExecution() { - // Create and execution for the given behavior at the current locus and - // return the resulting execution object. - // If the given behavior is in the context of a classifier, then pass - // the current context object as the context for the call. - // Otherwise, use a null context. - // [Note that this requires the behavior context to be compatible with - // the type of the current contect object.] - Behavior behavior = ((CallBehaviorAction) (this.node)).getBehavior(); - Object_ context; - if (behavior instanceof OpaqueBehavior) { - context = this.getActivityExecution(); // Enable to find out the execution context of an OpaqueBehavior - } else { - if (behavior.getContext() == null) { - context = null; - } else { - context = this.getExecutionContext(); - } - } - // Debug.println("[getCallExecution] context = " + context); - return this.getExecutionLocus().factory.createExecution(behavior, context); - } -} |