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
FieldsModifier and TypeFieldDescriptionprotected static final org.palladiosimulator.pcm.stoex.api.StoExParserprotected static final org.palladiosimulator.pcm.stoex.api.StoExSerialiser -
Constructor Summary
Constructors -
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.ICommandgetParseCommand(IAdaptable element, String newString, int flags) Gets the parses the command.getPrintString(IAdaptable element, int flags) Gets the prints the string.booleanisAffectingEvent(Object event, int flags) Checks if is affecting event.org.eclipse.gmf.runtime.common.ui.services.parser.IParserEditStatusisValidEditString(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 dummyIContentAssistProcessorthat does not provide any useful information when called. Clients should switch to Xtext-based editors.Gets the completion processor.- Specified by:
getCompletionProcessorin 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:
getEditStringin 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:
getParseCommandin 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:
getPrintStringin 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:
isAffectingEventin 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:
isValidEditStringin 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)
-
IContentAssistProcessorthat does not provide any useful information when called.