From 2115060f8ce4b907d033a77ccd929420c61ec234 Mon Sep 17 00:00:00 2001 From: James Procter Date: Wed, 20 Sep 2023 14:13:07 +0100 Subject: [PATCH] =?utf8?q?JAL-4265=20back=20out=20redundant=20=E2=80=98saveS?= =?utf8?q?tate=E2=80=99=20and=20=E2=80=98restoreState=E2=80=99=20StructureCo?= =?utf8?q?mmandsI=20methods.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/ext/jmol/JmolCommands.java | 12 ------------ src/jalview/structure/StructureCommandsBase.java | 14 -------------- src/jalview/structure/StructureCommandsI.java | 4 ---- 3 files changed, 30 deletions(-) diff --git a/src/jalview/ext/jmol/JmolCommands.java b/src/jalview/ext/jmol/JmolCommands.java index 01dac9b..19d64f0 100644 --- a/src/jalview/ext/jmol/JmolCommands.java +++ b/src/jalview/ext/jmol/JmolCommands.java @@ -500,16 +500,4 @@ public class JmolCommands extends StructureCommandsBase { return null; // not an external viewer } - - @Override - public StructureCommandI saveState(String label) - { - return new StructureCommand("save STATE " + label); - } - - @Override - public StructureCommandI restoreState(String label) - { - return new StructureCommand("restore STATE " + label); - } } diff --git a/src/jalview/structure/StructureCommandsBase.java b/src/jalview/structure/StructureCommandsBase.java index 24b6539..7f919ce 100644 --- a/src/jalview/structure/StructureCommandsBase.java +++ b/src/jalview/structure/StructureCommandsBase.java @@ -277,18 +277,4 @@ public abstract class StructureCommandsBase implements StructureCommandsI { return null; } - - @Override - public StructureCommandI saveState(String label) - { - Console.debug("saveState not implemented"); - return null; - } - - @Override - public StructureCommandI restoreState(String label) - { - Console.debug("restoreState not implemented"); - return null; - } } diff --git a/src/jalview/structure/StructureCommandsI.java b/src/jalview/structure/StructureCommandsI.java index 2b3502d..575f256 100644 --- a/src/jalview/structure/StructureCommandsI.java +++ b/src/jalview/structure/StructureCommandsI.java @@ -245,8 +245,4 @@ public interface StructureCommandsI StructureCommandI getResidueAttributes(String attName); List centerViewOn(List residues); - - StructureCommandI saveState(String label); - - StructureCommandI restoreState(String label); } -- 1.7.10.2