JAL-2835 spike updated with latest
[jalview.git] / src / jalview / api / FeatureColourI.java
index 3eebf6c..93773cc 100644 (file)
@@ -189,17 +189,18 @@ public interface FeatureColourI
   boolean isColourByAttribute();
 
   /**
-   * Answers the name of the attribute used for colouring if any, or null
+   * Answers the name of the attribute (and optional sub-attribute...) used for
+   * colouring if any, or null
    * 
    * @return
    */
-  String getAttributeName();
+  String[] getAttributeName();
 
   /**
-   * Sets the name of the attribute used for colouring if any, or null to remove
-   * this property
+   * Sets the name of the attribute (and optional sub-attribute...) used for
+   * colouring if any, or null to remove this property
    * 
    * @return
    */
-  void setAttributeName(String name);
+  void setAttributeName(String... name);
 }