Class 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.
    • 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 interface org.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 interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
        Generated class or method.
      • getValues

        protected Object[] getValues​(EObject element)
        Generated class or method.
      • getEditableValues

        protected Object[] getEditableValues​(EObject element)
        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.