JAL-3400 include sequence name in View | Show Chain menu
[jalview.git] / src / jalview / structures / models / AAStructureBindingModel.java
index 8a7c355..b55885d 100644 (file)
@@ -113,6 +113,8 @@ public abstract class AAStructureBindingModel
 
   private boolean hideHiddenRegions;
 
+  protected List<String> chainNames = new ArrayList<>();
+
   /**
    * Data bean class to simplify parameterisation in superposeStructures
    */
@@ -754,13 +756,6 @@ public abstract class AAStructureBindingModel
   }
 
   /**
-   * Returns a list of chains mapped in this viewer.
-   * 
-   * @return
-   */
-  public abstract List<String> getChainNames();
-
-  /**
    * Returns the Jalview panel hosting the structure viewer (if any)
    * 
    * @return
@@ -1175,4 +1170,15 @@ public abstract class AAStructureBindingModel
     }
     return colourMap;
   }
+
+  /**
+   * Returns a list of chains mapped in this viewer. Note this list is not
+   * currently scoped per structure.
+   * 
+   * @return
+   */
+  public List<String> getChainNames()
+  {
+    return chainNames;
+  }
 }