org.eclipse.gmf.tooling.runtime.parsers
Class OclChoiceParser
java.lang.Object
org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
org.eclipse.gmf.tooling.runtime.parsers.ChoiceParserBase
org.eclipse.gmf.tooling.runtime.parsers.OclChoiceParser
- All Implemented Interfaces:
- org.eclipse.gmf.runtime.common.ui.services.parser.IParser, ComboDirectEditManager.IChoiceParser
- Direct Known Subclasses:
- OclTrackerChoiceParser
public class OclChoiceParser
- extends ChoiceParserBase
Constructor Summary |
OclChoiceParser(org.eclipse.emf.ecore.EStructuralFeature feature,
String itemsExpression,
String showExpression,
org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
|
Methods inherited from class org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser |
getCompletionProcessor, getEditableFeatures, getEditableValues, getFeatures, getModificationCommand, getParseCommand, getValidNewValue, getValue, getValues, isAffectingFeature, validateNewValues |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser |
getCompletionProcessor |
OclChoiceParser
public OclChoiceParser(org.eclipse.emf.ecore.EStructuralFeature feature,
String itemsExpression,
String showExpression,
org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
getItems
protected Collection<Object> getItems(org.eclipse.emf.ecore.EObject element)
- Specified by:
getItems
in class ChoiceParserBase
getEditChoice
protected String getEditChoice(org.eclipse.emf.ecore.EObject element,
Object item)
- Specified by:
getEditChoice
in class ChoiceParserBase
getNullItemEditChoice
protected String getNullItemEditChoice()
isAffectingEvent
public boolean isAffectingEvent(Object event,
int flags)
- Specified by:
isAffectingEvent
in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Overrides:
isAffectingEvent
in class AbstractFeatureParser
installListeners
public void installListeners(org.eclipse.gmf.runtime.diagram.core.listener.NotificationListener listener,
OclTracker.Registrator oclRegistrator)
uninstallListeners
public void uninstallListeners()
Copyright © 2012. All Rights Reserved.