Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_FeatureValue.java')
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_FeatureValue.java42
1 files changed, 0 insertions, 42 deletions
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_FeatureValue.java b/sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_FeatureValue.java
deleted file mode 100644
index 063d26b676d..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml/src/org/eclipse/papyrus/moka/fuml/presentation/MokaVariable_from_FeatureValue.java
+++ /dev/null
@@ -1,42 +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.FeatureValue;
-import org.eclipse.swt.graphics.Image;
-
-public class MokaVariable_from_FeatureValue extends MokaVariable_for_fUML {
-
- protected FeatureValue featureValue ;
-
- protected IValue value ;
-
- public MokaVariable_from_FeatureValue(FeatureValue featureValue) {
- super() ;
- this.featureValue = featureValue ;
- this.name = featureValue.feature.getName() ;
- }
-
- ////////////////////////
- // Presentation
- ////////////////////////
-
- @Override
- public Image getImage() {
- return FUMLExecutionEngine.getImage(featureValue.feature);
- }
-
- ////////////////////////
- // Debug
- ////////////////////////
-
- @Override
- public IValue getValue() throws DebugException {
- if (this.value == null) {
- this.value = new MokaValue_from_FeatureValue(featureValue) ;
- }
- return this.value;
- }
-
-}

Back to the top