JAL-4265 Added saveState and restoreState to interface with no-op methods in abstract...
[jalview.git] / src / jalview / structure / StructureCommandsBase.java
index 0b5874a..24b6539 100644 (file)
@@ -26,6 +26,8 @@ import java.util.List;
 import java.util.Map;
 import java.util.Map.Entry;
 
+import jalview.bin.Console;
+
 /**
  * A base class holding methods useful to all classes that implement commands
  * for structure viewers
@@ -275,4 +277,18 @@ 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;
+  }
 }