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

java.lang.Object
  extended by org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
      extended by org.eclipse.gmf.tooling.runtime.parsers.AbstractAttributeParser
All Implemented Interfaces:
org.eclipse.gmf.runtime.common.ui.services.parser.IParser

public abstract class AbstractAttributeParser
extends AbstractFeatureParser


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
AbstractFeatureParser.InvalidValue
 
Field Summary
protected  org.eclipse.emf.ecore.EAttribute[] editableFeatures
           
protected  org.eclipse.emf.ecore.EAttribute[] features
           
 
Constructor Summary
AbstractAttributeParser(org.eclipse.emf.ecore.EAttribute[] features)
           
AbstractAttributeParser(org.eclipse.emf.ecore.EAttribute[] features, org.eclipse.emf.ecore.EAttribute[] editableFeatures)
           
 
Method Summary
 String getEditorPattern()
           
 String getEditPattern()
           
protected  Object getValidNewValue(org.eclipse.emf.ecore.EStructuralFeature feature, Object value)
           
protected  Object getValue(org.eclipse.emf.ecore.EObject element, org.eclipse.emf.ecore.EStructuralFeature feature)
           
 String getViewPattern()
           
 void setEditorPattern(String editorPattern)
           
 void setEditPattern(String editPattern)
           
 void setViewPattern(String viewPattern)
           
 
Methods inherited from class org.eclipse.gmf.tooling.runtime.parsers.AbstractFeatureParser
getCompletionProcessor, getEditableFeatures, getEditableValues, getFeatures, getModificationCommand, getParseCommand, 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
getEditString, getParseCommand, getPrintString, isValidEditString
 

Field Detail

features

protected final org.eclipse.emf.ecore.EAttribute[] features

editableFeatures

protected final org.eclipse.emf.ecore.EAttribute[] editableFeatures
Constructor Detail

AbstractAttributeParser

public AbstractAttributeParser(org.eclipse.emf.ecore.EAttribute[] features)

AbstractAttributeParser

public AbstractAttributeParser(org.eclipse.emf.ecore.EAttribute[] features,
                               org.eclipse.emf.ecore.EAttribute[] editableFeatures)
Method Detail

getValue

protected Object getValue(org.eclipse.emf.ecore.EObject element,
                          org.eclipse.emf.ecore.EStructuralFeature feature)
Overrides:
getValue in class AbstractFeatureParser

getValidNewValue

protected Object getValidNewValue(org.eclipse.emf.ecore.EStructuralFeature feature,
                                  Object value)
Overrides:
getValidNewValue in class AbstractFeatureParser

getViewPattern

public String getViewPattern()

setViewPattern

public void setViewPattern(String viewPattern)

getEditorPattern

public String getEditorPattern()

setEditorPattern

public void setEditorPattern(String editorPattern)

getEditPattern

public String getEditPattern()

setEditPattern

public void setEditPattern(String editPattern)


Copyright © 2012. All Rights Reserved.