JAL-3878 Add isInteractive() method to Operation interface.
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Wed, 29 Sep 2021 14:37:47 +0000 (16:37 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Wed, 29 Sep 2021 14:37:47 +0000 (16:37 +0200)
src/jalview/ws2/operations/AlignmentOperation.java
src/jalview/ws2/operations/Operation.java

index e882101..9a65d01 100644 (file)
@@ -113,6 +113,12 @@ public class AlignmentOperation implements Operation
   }
 
   @Override
+  public boolean isInteractive()
+  {
+    return false;
+  }
+
+  @Override
   public MenuEntryProviderI getMenuBuilder()
   {
     return this::buildMenu;
index 88f3ff5..a7b229d 100644 (file)
@@ -18,5 +18,7 @@ public interface Operation
 
   public boolean isNucleotideOperation();
 
+  public boolean isInteractive();
+
   public MenuEntryProviderI getMenuBuilder();
 }