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.StoExParserSTOEX_PARSERprotected static org.palladiosimulator.pcm.stoex.api.StoExSerialiserSTOEX_SERIALISER
-
Constructor Summary
Constructors Constructor Description StoExParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IContentAssistProcessorgetCompletionProcessor(IAdaptable element)Deprecated.This method only returns a dummyIContentAssistProcessorthat does not provide any useful information when called.StringgetEditString(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.StringgetPrintString(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.
-
-
-
Method Detail
-
getCompletionProcessor
@Deprecated public IContentAssistProcessor getCompletionProcessor(IAdaptable element)
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
public String getEditString(IAdaptable element, int flags)
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
public String getPrintString(IAdaptable element, int flags)
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
public boolean isAffectingEvent(Object event, int flags)
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)
-
-