org.eclipse.gmf.tooling.runtime.parsers
Class EnumParser

java.lang.Object
  extended by org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
      extended by org.eclipse.gmf.tooling.runtime.parsers.ChoiceParserBase
          extended by org.eclipse.gmf.tooling.runtime.parsers.EnumParser
All Implemented Interfaces:
org.eclipse.gmf.runtime.common.ui.services.parser.IParser, ComboDirectEditManager.IChoiceParser

public class EnumParser
extends ChoiceParserBase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
AbstractFeatureParser.InvalidValue
 
Constructor Summary
EnumParser(org.eclipse.emf.ecore.EAttribute enumFeature)
           
 
Method Summary
protected  String getEditChoice(org.eclipse.emf.ecore.EObject element, Object item)
           
protected  Collection<Object> getItems(org.eclipse.emf.ecore.EObject element)
           
 
Methods inherited from class org.eclipse.gmf.tooling.runtime.parsers.ChoiceParserBase
getEditChoices, getEditString, getFeature, getParseCommand, getPrintString, isValidEditString
 
Methods inherited from class org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
getCompletionProcessor, getEditableFeatures, getEditableValues, getFeatures, getModificationCommand, getParseCommand, getValidNewValue, getValue, getValues, isAffectingEvent, 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, isAffectingEvent
 

Constructor Detail

EnumParser

public EnumParser(org.eclipse.emf.ecore.EAttribute enumFeature)
Method Detail

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


Copyright © 2012. All Rights Reserved.