diff options
Diffstat (limited to 'sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_ContextObject.java')
-rw-r--r-- | sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_ContextObject.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_ContextObject.java b/sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_ContextObject.java deleted file mode 100644 index 6660121be20..00000000000 --- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_ContextObject.java +++ /dev/null @@ -1,37 +0,0 @@ -package org.eclipse.papyrus.moka.fuml.presentation;
-
-import org.eclipse.debug.core.DebugException;
-import org.eclipse.debug.core.model.IValue;
-import org.eclipse.papyrus.moka.fuml.FUMLExecutionEngine;
-import org.eclipse.papyrus.moka.fuml.Semantics.Classes.Kernel.Object_;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.uml2.uml.UMLPackage;
-
-public class MokaVariable_from_ContextObject extends MokaVariable_for_fUML {
-
- protected Object_ contextObject ;
-
- public MokaVariable_from_ContextObject(Object_ contextObject) {
- super();
- this.name = "context" ;
- this.contextObject = contextObject ;
- }
-
- //////////////////////////////////
- // Presentation
- //////////////////////////////////
-
- public Image getImage() {
- // not used for variables
- return FUMLExecutionEngine.getImage(UMLPackage.eINSTANCE.getInstanceSpecification()) ;
- }
-
- //////////////////////////////////
- // Debug
- //////////////////////////////////
- @Override
- public IValue getValue() throws DebugException {
- return new MokaValue_from_Value(contextObject) ;
- }
-
-}
|