Class AbstractParser
- java.lang.Object
-
- de.uka.ipd.sdq.pcm.gmf.resource.parsers.AbstractParser
-
- All Implemented Interfaces:
org.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Direct Known Subclasses:
MessageFormatParser
public abstract class AbstractParser extends Object implements org.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Generated class or method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
AbstractParser.InvalidValue
-
Field Summary
Fields Modifier and Type Field Description protected EAttribute[]
editableFeatures
protected EAttribute[]
features
-
Constructor Summary
Constructors Constructor Description AbstractParser(EAttribute[] features)
AbstractParser(EAttribute[] features, EAttribute[] editableFeatures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IContentAssistProcessor
getCompletionProcessor(IAdaptable element)
protected Object[]
getEditableValues(EObject element)
String
getEditorPattern()
String
getEditPattern()
protected org.eclipse.gmf.runtime.common.core.command.ICommand
getModificationCommand(EObject element, EAttribute feature, Object value)
protected org.eclipse.gmf.runtime.common.core.command.ICommand
getParseCommand(IAdaptable adapter, Object[] values, int flags)
protected Object
getValidNewValue(EAttribute feature, Object value)
protected Object
getValue(EObject element, EAttribute feature)
protected Object[]
getValues(EObject element)
String
getViewPattern()
boolean
isAffectingEvent(Object event, int flags)
protected boolean
isAffectingFeature(Object feature)
void
setEditorPattern(String editorPattern)
void
setEditPattern(String editPattern)
void
setViewPattern(String viewPattern)
protected org.eclipse.gmf.runtime.common.ui.services.parser.IParserEditStatus
validateNewValues(Object[] values)
-
-
-
Field Detail
-
features
protected final EAttribute[] features
- Generated class or method.
-
editableFeatures
protected final EAttribute[] editableFeatures
- Generated class or method.
-
-
Constructor Detail
-
AbstractParser
public AbstractParser(EAttribute[] features)
- Generated class or method.
-
AbstractParser
public AbstractParser(EAttribute[] features, EAttribute[] editableFeatures)
- Generated class or method.
-
-
Method Detail
-
getViewPattern
public String getViewPattern()
- Generated class or method.
-
setViewPattern
public void setViewPattern(String viewPattern)
- Generated class or method.
-
getEditorPattern
public String getEditorPattern()
- Generated class or method.
-
setEditorPattern
public void setEditorPattern(String editorPattern)
- Generated class or method.
-
getEditPattern
public String getEditPattern()
- Generated class or method.
-
setEditPattern
public void setEditPattern(String editPattern)
- Generated class or method.
-
isAffectingEvent
public boolean isAffectingEvent(Object event, int flags)
- Specified by:
isAffectingEvent
in interfaceorg.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Generated class or method.
-
isAffectingFeature
protected boolean isAffectingFeature(Object feature)
- Generated class or method.
-
getCompletionProcessor
public IContentAssistProcessor getCompletionProcessor(IAdaptable element)
- Specified by:
getCompletionProcessor
in interfaceorg.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Generated class or method.
-
getValue
protected Object getValue(EObject element, EAttribute feature)
- Generated class or method.
-
getParseCommand
protected org.eclipse.gmf.runtime.common.core.command.ICommand getParseCommand(IAdaptable adapter, Object[] values, int flags)
- Generated class or method.
-
getModificationCommand
protected org.eclipse.gmf.runtime.common.core.command.ICommand getModificationCommand(EObject element, EAttribute feature, Object value)
- Generated class or method.
-
validateNewValues
protected org.eclipse.gmf.runtime.common.ui.services.parser.IParserEditStatus validateNewValues(Object[] values)
- Generated class or method.
-
getValidNewValue
protected Object getValidNewValue(EAttribute feature, Object value)
- Generated class or method.
-
-