org.eclipse.gmf.tooling.runtime.parsers
Class AbstractFeatureParser
java.lang.Object
org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
- All Implemented Interfaces:
- org.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Direct Known Subclasses:
- AbstractAttributeParser, ChoiceParserBase
public abstract class AbstractFeatureParser
- extends Object
- implements org.eclipse.gmf.runtime.common.ui.services.parser.IParser
Constructor Summary |
AbstractFeatureParser(org.eclipse.emf.ecore.EStructuralFeature[] features)
|
AbstractFeatureParser(org.eclipse.emf.ecore.EStructuralFeature[] features,
org.eclipse.emf.ecore.EStructuralFeature[] editableFeatures)
|
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 |
getEditString, getParseCommand, getPrintString, isValidEditString |
AbstractFeatureParser
public AbstractFeatureParser(org.eclipse.emf.ecore.EStructuralFeature[] features)
AbstractFeatureParser
public AbstractFeatureParser(org.eclipse.emf.ecore.EStructuralFeature[] features,
org.eclipse.emf.ecore.EStructuralFeature[] editableFeatures)
getFeatures
protected org.eclipse.emf.ecore.EStructuralFeature[] getFeatures()
getEditableFeatures
protected org.eclipse.emf.ecore.EStructuralFeature[] getEditableFeatures()
getValues
protected Object[] getValues(org.eclipse.emf.ecore.EObject element)
getEditableValues
protected Object[] getEditableValues(org.eclipse.emf.ecore.EObject element)
getValue
protected Object getValue(org.eclipse.emf.ecore.EObject element,
org.eclipse.emf.ecore.EStructuralFeature feature)
getParseCommand
protected org.eclipse.gmf.runtime.common.core.command.ICommand getParseCommand(org.eclipse.core.runtime.IAdaptable adapter,
Object[] values,
int flags)
validateNewValues
protected org.eclipse.gmf.runtime.common.ui.services.parser.IParserEditStatus validateNewValues(Object[] values)
getValidNewValue
protected Object getValidNewValue(org.eclipse.emf.ecore.EStructuralFeature feature,
Object value)
getModificationCommand
protected org.eclipse.gmf.runtime.common.core.command.ICommand getModificationCommand(org.eclipse.emf.ecore.EObject element,
org.eclipse.emf.ecore.EStructuralFeature feature,
Object value)
isAffectingEvent
public boolean isAffectingEvent(Object event,
int flags)
- Specified by:
isAffectingEvent
in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
isAffectingFeature
protected boolean isAffectingFeature(Object feature)
getCompletionProcessor
public org.eclipse.jface.text.contentassist.IContentAssistProcessor getCompletionProcessor(org.eclipse.core.runtime.IAdaptable element)
- Specified by:
getCompletionProcessor
in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
Copyright © 2012. All Rights Reserved.