Class CMLActionRegistry
- java.lang.Object
-
- org.contextmapper.dsl.ide.actions.CMLActionRegistry
-
public class CMLActionRegistry extends java.lang.ObjectClass to register all code actions (refactoring and transformation commands) and to filter commands that can be applied for a given set of selected EObjects.
-
-
Constructor Summary
Constructors Constructor Description CMLActionRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<? extends org.eclipse.lsp4j.Command>getApplicableActionCommands(org.contextmapper.dsl.cml.CMLResource resource, java.util.List<org.eclipse.emf.ecore.EObject> selectedObjects)java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.Command,org.eclipse.lsp4j.CodeAction>>getApplicableQuickfixes(org.eclipse.lsp4j.Diagnostic diagnostic, org.eclipse.xtext.ide.server.codeActions.ICodeActionService2.Options options)
-
-
-
Method Detail
-
getApplicableActionCommands
public java.util.List<? extends org.eclipse.lsp4j.Command> getApplicableActionCommands(org.contextmapper.dsl.cml.CMLResource resource, java.util.List<org.eclipse.emf.ecore.EObject> selectedObjects)
-
getApplicableQuickfixes
public java.util.List<org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.Command,org.eclipse.lsp4j.CodeAction>> getApplicableQuickfixes(org.eclipse.lsp4j.Diagnostic diagnostic, org.eclipse.xtext.ide.server.codeActions.ICodeActionService2.Options options)
-
-