X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.document.server%2Fsrc%2Forg%2Fsimantics%2Fdocument%2Fserver%2FIEventCommand.java;h=c10dafc2dc075ef1e4c5b340d396650878e93811;hp=5e678d1783a4fc98b48c247456005160a4126948;hb=HEAD;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.document.server/src/org/simantics/document/server/IEventCommand.java b/bundles/org.simantics.document.server/src/org/simantics/document/server/IEventCommand.java index 5e678d178..c10dafc2d 100644 --- a/bundles/org.simantics.document.server/src/org/simantics/document/server/IEventCommand.java +++ b/bundles/org.simantics.document.server/src/org/simantics/document/server/IEventCommand.java @@ -1,11 +1,25 @@ -package org.simantics.document.server; - -public interface IEventCommand { - - public void setNext(IEventCommand command); - public IEventCommand getNext(); - public void handleCommand(); - public void commandSuccess(); - public void commandError(String errorMessage); - -} +/******************************************************************************* + * Copyright (c) 2019 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.document.server; + +import org.simantics.document.server.io.CommandContext; +import org.simantics.document.server.io.CommandContextMutable; + +public interface IEventCommand { + + public void setNext(IEventCommand command); + public IEventCommand getNext(); + public CommandContext handleCommand(CommandContextMutable context); + public CommandContext commandSuccess(CommandContextMutable context); + public void commandError(String errorMessage); + +}