Class StoExParser

java.lang.Object
de.uka.ipd.sdq.pcm.gmf.seff.helper.StoExParser
All Implemented Interfaces:
org.eclipse.gmf.runtime.common.ui.services.parser.IParser

public class StoExParser extends Object implements org.eclipse.gmf.runtime.common.ui.services.parser.IParser
The Class StoExParser.
  • Field Details

    • STOEX_PARSER

      protected static final org.palladiosimulator.pcm.stoex.api.StoExParser STOEX_PARSER
    • STOEX_SERIALISER

      protected static final org.palladiosimulator.pcm.stoex.api.StoExSerialiser STOEX_SERIALISER
  • Constructor Details

    • StoExParser

      public StoExParser()
  • Method Details

    • getCompletionProcessor

      @Deprecated public IContentAssistProcessor getCompletionProcessor(IAdaptable element)
      Deprecated.
      This method only returns a dummy IContentAssistProcessor that does not provide any useful information when called. Clients should switch to Xtext-based editors.
      Gets the completion processor.
      Specified by:
      getCompletionProcessor in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
      Parameters:
      element - the element
      Returns:
      the completion processor
      See Also:
      • IParser.getCompletionProcessor(org.eclipse.core.runtime.IAdaptable)
    • getEditString

      public String getEditString(IAdaptable element, int flags)
      Gets the edits the string.
      Specified by:
      getEditString in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
      Parameters:
      element - the element
      flags - the flags
      Returns:
      the edits the string
      See Also:
      • IParser.getEditString(org.eclipse.core.runtime.IAdaptable, int)
    • getParseCommand

      public org.eclipse.gmf.runtime.common.core.command.ICommand getParseCommand(IAdaptable element, String newString, int flags)
      Gets the parses the command.
      Specified by:
      getParseCommand in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
      Parameters:
      element - the element
      newString - the new string
      flags - the flags
      Returns:
      the parses the command
      See Also:
      • IParser.getParseCommand(org.eclipse.core.runtime.IAdaptable, java.lang.String, int)
    • getPrintString

      public String getPrintString(IAdaptable element, int flags)
      Gets the prints the string.
      Specified by:
      getPrintString in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
      Parameters:
      element - the element
      flags - the flags
      Returns:
      the prints the string
      See Also:
      • IParser.getPrintString(org.eclipse.core.runtime.IAdaptable, int)
    • isAffectingEvent

      public boolean isAffectingEvent(Object event, int flags)
      Checks if is affecting event.
      Specified by:
      isAffectingEvent in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
      Parameters:
      event - the event
      flags - the flags
      Returns:
      true, if is affecting event
      See Also:
      • IParser.isAffectingEvent(java.lang.Object, int)
    • isValidEditString

      public org.eclipse.gmf.runtime.common.ui.services.parser.IParserEditStatus isValidEditString(IAdaptable element, String editString)
      Checks if is valid edit string.
      Specified by:
      isValidEditString in interface org.eclipse.gmf.runtime.common.ui.services.parser.IParser
      Parameters:
      element - the element
      editString - the edit string
      Returns:
      the i parser edit status
      See Also:
      • IParser.isValidEditString(org.eclipse.core.runtime.IAdaptable, java.lang.String)