Interface QuickfixCommandMapper
-
- All Known Implementing Classes:
OpenFlowInSketchMinerCommandMapper,SplitStoryByVerbCommandMapper
public interface QuickfixCommandMapperMaps a quickfix instance to its command (in case the quickfix needs parameters)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.lsp4j.CodeActiongetCodeAction(org.contextmapper.dsl.cml.CMLResource cmlResource, org.eclipse.emf.ecore.EObject selectedObject)Returns the code action that shall be called for a specific quickfix.
-
-
-
Method Detail
-
getCodeAction
org.eclipse.lsp4j.CodeAction getCodeAction(org.contextmapper.dsl.cml.CMLResource cmlResource, org.eclipse.emf.ecore.EObject selectedObject)Returns the code action that shall be called for a specific quickfix.- Parameters:
cmlResource- the current CML resourcesselectedObject- the currently selected object- Returns:
- the command that shall be called to invoke the quickfix
-
-