Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-gmf/org/eclipse/papyrus/gmf/diagram/common/parser/IMaskManagedSemanticParser.java')
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-gmf/org/eclipse/papyrus/gmf/diagram/common/parser/IMaskManagedSemanticParser.java18
1 files changed, 14 insertions, 4 deletions
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-gmf/org/eclipse/papyrus/gmf/diagram/common/parser/IMaskManagedSemanticParser.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-gmf/org/eclipse/papyrus/gmf/diagram/common/parser/IMaskManagedSemanticParser.java
index f6c49e06b49..d7eb49cc175 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-gmf/org/eclipse/papyrus/gmf/diagram/common/parser/IMaskManagedSemanticParser.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-gmf/org/eclipse/papyrus/gmf/diagram/common/parser/IMaskManagedSemanticParser.java
@@ -7,14 +7,16 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- *
+ *
* CEA LIST - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.gmf.diagram.common.parser;
+import java.util.Collection;
import java.util.Map;
+import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.gmf.runtime.emf.ui.services.parser.ISemanticParser;
/**
@@ -24,11 +26,19 @@ public interface IMaskManagedSemanticParser extends ISemanticParser {
/** The label to show in case ParserOptions.None is passed as flag (avoid a fully masked label) */
public static final String MaskedLabel = "<empty label>";
-
+
/**
* Get the {@link Map} of masks
- *
+ *
* @return the {@link Map} of masks
*/
- public Map<Integer, String> getMasks();
+ public Map<String, String> getMasks();
+
+ /**
+ * Gets the default mask configuration for this parser
+ *
+ * @return
+ * The default mask configuration for this parser
+ */
+ public Collection<String> getDefaultValue(IAdaptable element);
}

Back to the top