JAL-2738 copy to spikes/mungo
[jalview.git] / src / jalview / javascript / JalviewLiteJsApi.java
index 16ba8cf..b5811aa 100644 (file)
@@ -1,20 +1,23 @@
-/*******************************************************************************
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
- *
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
  * This file is part of Jalview.
- *
+ * 
  * Jalview is free software: you can redistribute it and/or
  * modify it under the terms of the GNU General Public License 
- * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
- *
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
  * Jalview is distributed in the hope that it will be useful, but 
  * WITHOUT ANY WARRANTY; without even the implied warranty 
  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
  * PURPOSE.  See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
- *******************************************************************************/
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
 package jalview.javascript;
 
 import jalview.appletgui.AlignFrame;
@@ -70,7 +73,8 @@ public interface JalviewLiteJsApi
    * @return String list of selected sequence IDs, each terminated by the given
    *         separator
    */
-  public abstract String getSelectedSequencesFrom(AlignFrame alf, String sep);
+  public abstract String getSelectedSequencesFrom(AlignFrame alf,
+          String sep);
 
   /**
    * 
@@ -117,7 +121,8 @@ public interface JalviewLiteJsApi
    * @param sep
    *          separator between toselect fields
    */
-  public abstract void select(String sequenceIds, String columns, String sep);
+  public abstract void select(String sequenceIds, String columns,
+          String sep);
 
   /**
    * select regions of the given alignment frame
@@ -172,8 +177,8 @@ public interface JalviewLiteJsApi
    * @return selected sequences as flat file or empty string if there was no
    *         current selection
    */
-  public abstract String getSelectedSequencesAsAlignmentFrom(
-          AlignFrame alf, String format, String suffix);
+  public abstract String getSelectedSequencesAsAlignmentFrom(AlignFrame alf,
+          String format, String suffix);
 
   /**
    * get a separator separated list of sequence IDs reflecting the order of the
@@ -297,7 +302,8 @@ public interface JalviewLiteJsApi
    * @param alf
    * @param annotation
    */
-  public abstract void loadAnnotationFrom(AlignFrame alf, String annotation);
+  public abstract void loadAnnotationFrom(AlignFrame alf,
+          String annotation);
 
   /**
    * parse the given string as a jalview feature or GFF annotation file and
@@ -451,7 +457,8 @@ public interface JalviewLiteJsApi
    *          Jmol (e.g. first one is frame 1, second is frame 2, etc).
    * @see jalview.javascript.MouseOverStructureListener
    */
-  public abstract void setStructureListener(String listener, String modelSet);
+  public abstract void setStructureListener(String listener,
+          String modelSet);
 
   /**
    * remove any callback using the given listener function and associated with
@@ -564,8 +571,8 @@ public interface JalviewLiteJsApi
    * @see jalview.appletgui.AlignFrame#setFeatureGroupState(java.lang.String[],
    *      boolean)
    */
-  public abstract void setFeatureGroupStateOn(AlignFrame alf,
-          String groups, boolean state);
+  public abstract void setFeatureGroupStateOn(AlignFrame alf, String groups,
+          boolean state);
 
   public abstract void setFeatureGroupState(String groups, boolean state);
 
@@ -593,4 +600,4 @@ public interface JalviewLiteJsApi
    */
   public abstract String getJsMessage(String messageclass, String viewId);
 
-}
\ No newline at end of file
+}