X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fstructure%2FStructureCommand.java;h=98a060ae2d82f7b7bff86dde228be4501d437528;hb=bc1a3842b31a35a7794f4afec4911ad421c7c3e4;hp=67c944fa8de47491efbb9f71f4cc1c430a217045;hpb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;p=jalview.git diff --git a/src/jalview/structure/StructureCommand.java b/src/jalview/structure/StructureCommand.java index 67c944f..98a060a 100644 --- a/src/jalview/structure/StructureCommand.java +++ b/src/jalview/structure/StructureCommand.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.structure; import java.util.ArrayList; @@ -9,6 +29,8 @@ public class StructureCommand implements StructureCommandI private List parameters; + private boolean waitNeeded = false; + public StructureCommand(String cmd, String... params) { command = cmd; @@ -21,6 +43,17 @@ public class StructureCommand implements StructureCommandI } } + public void setWaitNeeded(boolean wait) + { + waitNeeded = wait; + } + + @Override + public boolean isWaitNeeded() + { + return waitNeeded; + } + @Override public void addParameter(String param) {