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
Modifier and TypeFieldDescriptionprotected static final org.palladiosimulator.pcm.stoex.api.StoExParser
protected static final org.palladiosimulator.pcm.stoex.api.StoExSerialiser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCompletionProcessor
(IAdaptable element) Deprecated.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.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.
-
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.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
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
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
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)
-
IContentAssistProcessor
that does not provide any useful information when called.