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 Summary
Fields Modifier and Type Field Description protected static org.palladiosimulator.pcm.stoex.api.StoExParser
STOEX_PARSER
protected static org.palladiosimulator.pcm.stoex.api.StoExSerialiser
STOEX_SERIALISER
-
Constructor Summary
Constructors Constructor Description StoExParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IContentAssistProcessor
getCompletionProcessor(IAdaptable element)
Deprecated.This method only returns a dummyIContentAssistProcessor
that does not provide any useful information when called.String
getEditString(IAdaptable element, int flags)
Gets the edits the string.org.eclipse.gmf.runtime.common.core.command.ICommand
getParseCommand(IAdaptable element, String newString, int flags)
Gets the parses the command.String
getPrintString(IAdaptable element, int flags)
Gets the prints the string.boolean
isAffectingEvent(Object event, int flags)
Checks if is affecting event.org.eclipse.gmf.runtime.common.ui.services.parser.IParserEditStatus
isValidEditString(IAdaptable element, String editString)
Checks if is valid edit string.
-
-
-
Method Detail
-
getCompletionProcessor
@Deprecated public IContentAssistProcessor getCompletionProcessor(IAdaptable element)
Deprecated.This method only returns a dummyIContentAssistProcessor
that does not provide any useful information when called. Clients should switch to Xtext-based editors.Gets the completion processor.- Specified by:
getCompletionProcessor
in interfaceorg.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 interfaceorg.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Parameters:
element
- the elementflags
- 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 interfaceorg.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Parameters:
element
- the elementnewString
- the new stringflags
- 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 interfaceorg.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Parameters:
element
- the elementflags
- 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 interfaceorg.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Parameters:
event
- the eventflags
- 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 interfaceorg.eclipse.gmf.runtime.common.ui.services.parser.IParser
- Parameters:
element
- the elementeditString
- the edit string- Returns:
- the i parser edit status
- See Also:
IParser.isValidEditString(org.eclipse.core.runtime.IAdaptable, java.lang.String)
-
-