1 package org.simantics.document.server;
3 import org.simantics.document.server.io.CommandContext;
4 import org.simantics.document.server.io.CommandContextMutable;
6 public interface IEventCommand {
8 public void setNext(IEventCommand command);
9 public IEventCommand getNext();
10 public CommandContext handleCommand(CommandContextMutable context);
11 public CommandContext commandSuccess(CommandContextMutable context);
12 public void commandError(String errorMessage);