minor changes
[jalview.git] / src / jalview / bin / Jalview.java
index 74babbb..b8f49a2 100755 (executable)
@@ -807,8 +807,7 @@ public class Jalview implements ApplicationSingletonI, JalviewJSApi
          * 
          */
         {
-          if (aparser.contains(ArgsParser.NOANNOTATION)
-                  || aparser.contains(ArgsParser.NOANNOTATION2))
+          if (noAnnotation)
           {
             af.getViewport().setShowAnnotation(false);
             if (!af.getViewport().isShowAnnotation())
@@ -2094,5 +2093,17 @@ public class Jalview implements ApplicationSingletonI, JalviewJSApi
     // + " " + status);
   }
 
+  private static boolean isInteractive = true;
+
+  public static boolean isInteractive()
+  {
+    return isInteractive;
+  }
+
+  public static void setInteractive(boolean tf)
+  {
+    isInteractive = tf;
+  }
+
 }