Package org.eclipse.glsp.server.emf
Class EMFOperationActionHandler
- java.lang.Object
-
- org.eclipse.glsp.server.actions.AbstractActionHandler<Operation>
-
- org.eclipse.glsp.server.operations.OperationActionHandler
-
- org.eclipse.glsp.server.emf.EMFOperationActionHandler
-
- All Implemented Interfaces:
ActionHandler
public class EMFOperationActionHandler extends OperationActionHandler
A specialOperationActionHandlerthat executes provided EMF commands ofEMFOperationHandleron an EMF command stack via theEMFModelState.
-
-
Field Summary
-
Fields inherited from class org.eclipse.glsp.server.operations.OperationActionHandler
modelState, modelSubmissionHandler, operationHandlerRegistry
-
Fields inherited from class org.eclipse.glsp.server.actions.AbstractActionHandler
actionType
-
-
Constructor Summary
Constructors Constructor Description EMFOperationActionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Action>executeOperation(Operation operation)protected voidexexcuteCommand(org.eclipse.emf.common.command.Command cmd)protected java.util.List<Action>submitModel()-
Methods inherited from class org.eclipse.glsp.server.operations.OperationActionHandler
executeAction, executeHandler, getOperationHandler, handles
-
Methods inherited from class org.eclipse.glsp.server.actions.AbstractActionHandler
deriveActionType, execute, getActionType, getHandledActionTypes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.glsp.server.actions.ActionHandler
getPriority, listOf, listOf, none
-
-
-
-
Method Detail
-
executeOperation
protected java.util.List<Action> executeOperation(Operation operation)
- Overrides:
executeOperationin classOperationActionHandler
-
exexcuteCommand
protected void exexcuteCommand(org.eclipse.emf.common.command.Command cmd)
-
submitModel
protected java.util.List<Action> submitModel()
-
-