Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/editpolicies/NoSemanticParserEditPolicy.java')
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/editpolicies/NoSemanticParserEditPolicy.java37
1 files changed, 4 insertions, 33 deletions
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/editpolicies/NoSemanticParserEditPolicy.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/editpolicies/NoSemanticParserEditPolicy.java
index ef64b2e72c9..74823387a44 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/editpolicies/NoSemanticParserEditPolicy.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/editpolicies/NoSemanticParserEditPolicy.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -24,48 +24,24 @@ import org.eclipse.gef.editpolicies.AbstractEditPolicy;
public class NoSemanticParserEditPolicy extends AbstractEditPolicy implements IMaskManagedLabelEditPolicy {
@Override
- public String getMaskLabel(int value) {
- //Nothing
- return null;
- }
-
- @Override
- public Collection<String> getMaskLabels() {
+ public Map<String, String> getMasks() {
//Nothing
return null;
}
@Override
- public Collection<Integer> getMaskValues() {
+ public Collection<String> getCurrentDisplayValue() {
//Nothing
return null;
}
@Override
- public Map<Integer, String> getMasks() {
- //Nothing
- return null;
- }
-
- @Override
- public int getCurrentDisplayValue() {
- //Nothing
- return 0;
- }
-
- @Override
- public int getDefaultDisplayValue() {
- //Nothing
- return 0;
- }
-
- @Override
public void refreshDisplay() {
//Nothing
}
@Override
- public void updateDisplayValue(int newValue) {
+ public void updateDisplayValue(Collection<String> newValue) {
//Nothing
}
@@ -74,9 +50,4 @@ public class NoSemanticParserEditPolicy extends AbstractEditPolicy implements IM
//Nothing
}
- @Override
- public String getPreferencePageID() {
- //Nothing
- return null;
- }
}

Back to the top