From 62908e93f175753769436fd62193773b9f3ad26f Mon Sep 17 00:00:00 2001
From: tcofoegbu
Date: Thu, 21 Jan 2016 12:44:53 +0000
Subject: [PATCH] JAL-1986 JAL-1996 separated out appletDeploment page from
appletParameter page, updated the applet deployment docs,
and updated necessary links. Also, having resolved
JAL-1994, I've updated the json jars in all applet example
pages.
---
examples/appletDeployment.html | 162 ++++++++++++++++++++++++++++++++++++++++
examples/appletParameters.html | 131 +-------------------------------
examples/embedded.html | 2 +-
examples/embeddedWJmol.html | 4 +-
examples/formComplete.html | 2 +-
examples/includes/nav_jv.html | 3 +
examples/javascriptLaunch.html | 2 +-
examples/linkedapplets_ng.html | 4 +-
8 files changed, 173 insertions(+), 137 deletions(-)
create mode 100644 examples/appletDeployment.html
diff --git a/examples/appletDeployment.html b/examples/appletDeployment.html
new file mode 100644
index 0000000..a7653ed
--- /dev/null
+++ b/examples/appletDeployment.html
@@ -0,0 +1,162 @@
+
+
+
+Click here to view decorated page
+
+
+Notes on applet deployment
+
+
+ **NEW FEATURES** in Jalview 2.9
+
+ - Split Views for cDNA and Protein alignments
Specify second alignment with 'file2' parameter, and set cDNA/Protein column scaling with scaleProteinAsCdna
+
+ - Jmol compatibility updated to Jmol 14.2.x series - download the JmolApplet here
+ - The Jmol jar must be updated from 'JmolApplet-12.2.4.jar' to 'JmolApplet-14.2.14_2015.06.11.jar' in the applet archive argument as highlighted in red below:
+ archive="jalviewApplet.jar,JmolApplet-14.2.14_2015.06.11.jar,java-json.jar,json_simple-1.1.jar"
+
+ - BioJson - A Json file format for representing a single multiple sequence alignment.
+ Biojson uses the following external libraries: java-json and json_simple-1.1.
Hence the jar files highlighted in red must be included in the applet archive argument as follows:
+ archive="jalviewApplet.jar,JmolApplet-14.2.14_2015.06.11.jar,java-json.jar,json_simple-1.1.jar"
+
+
+
+ **NEW FEATURES** in Jalview 2.8
+
+ **NEW FEATURES** in Jalview 2.7
+
+ - Javascript callbacks capabilities
- oninit parameter and methods for registering javascript handlers for selections, mouseovers and linking to Jmol applets on the page.
+ - To use javascript callbacks, ensure the applet tag includes the 'mayscript' attribute - either as a parameter (<param name="mayscript" value="true"/;gt;) or as a bare attribute in the applet html tag).
+
+ - New jalviewLite java api methods for selecting, highlighting, scrolling and reordering sequences in an alignment view.
+
+ **NEW FEATURES** in Jalview 2.6
+
+ - Jmol compatibility updated to Jmol 12.1.x series
+ - Jalview 2.6 works only with Jmol version 12.1.13 or later. You can use the JmolApplet.jar from
+ the Jmol binary distribution available at the Jmol Sourceforge site,
+ or download the Jmol applet from here
+ - Minimum recommended version of Java runtime for the applet is now 1.5 (JalviewLite v2.6 without the Jmol viewer may work ok on earlier Java environments but compatibility can no-longer be guaranteed).
+
+
**NEW FEATURES** in Jalview 2.5
+
+ - New parameters to control display of tree annotation, width of alignment columns, and to disable the jalview button and check for Jmol on startup.
+
+
**NEW FEATURES** in Jalview 2.4
+
+ - New applet API methods for feature display control, views, and obtaining current selection via javascript.
+ - Group show and hide parameters:
+ "showfeaturegroups" and
+ "hidefeaturegroups". Both take a list
+ of feature group names (separarated by "|" by default) to hide or show on the displayed
+ alignment.
+
+ - Regular expressions can be used in URL links for sequence IDs.
+ - "debug" parameter to control verbosity of the applet's console output.
+ - "showbutton" parameter to disable launch button and open JalviewLite immediatly.
+ - "nojmol" parameter to disable check for Jmol classes.
+
+ **NEW FEATURES** in Jalview 2.3
+
+ **NEW FEATURES** in Jalview 2.1
+
+ - Jalview Applet can read and display JNet secondary structure annotation
+ directly via the jnetfile parameter.
+
+ - Param "UserDefinedColour" - specify your own colours for each residue using a semi colon
+ separated list. Multiple residues can be assigned the same colour
+ using commas. eg:
+ <param name="userDefinedColour"
+ value="D,E=red; K,R,H=0022FF; C=yellow">
+
+ - Param "showFeatureSettings"
+ - this will display the feature settings window when the applet starts.
+
+ - Param "Application_URL" value="http://www.jalview.org/services/launchApp"
+ This calls a servlet which creates a JNLP file with the alignment
+ file, annotations file and features file of the applet as arguments.
+ If the user has Java installed, the returned JNLP file should start
+ up the full Jalview Application. BUT this does not currently work
+ for alignment files added to the applet in a zip file.
+
Look at the XML comments in the file downloaded from The LaunchApp page for full documentation.
+
+ - Alignment file can be a series of parameters using eg PFAM format
+
+ <param name="sequence1"
+ value="Q93XJ9_SOLTU/11-26 TSFLPRKPVVTSLKAI">
+ <param name="sequence2" value="FER1_PEA/14-29 TSFLRTQPMPMSVTTT">
+
(All the usual Jalview File formats are valid, however each
+ new line in an alignment file must be entered as a parameter)
+
+
diff --git a/examples/appletParameters.html b/examples/appletParameters.html
index 1e45aae..433f5a9 100644
--- a/examples/appletParameters.html
+++ b/examples/appletParameters.html
@@ -357,133 +357,4 @@ the applet can be interacted with via its
Multiple sequences aligment scores file. Currently is supported only the T-Coffee score_ascii file format |
- Notes on applet deployment
-
-
- **NEW FEATURES** in Jalview 2.9
-
- - Split Views for cDNA and Protein alignments
Specify second alignment with 'file2' parameter, and set cDNA/Protein column scaling with scaleProteinAsCdna
-
-
-
- **NEW FEATURES** in Jalview 2.8
-
- **NEW FEATURES** in Jalview 2.7
-
- - Javascript callbacks capabilities
- oninit parameter and methods for registering javascript handlers for selections, mouseovers and linking to Jmol applets on the page.
- - To use javascript callbacks, ensure the applet tag includes the 'mayscript' attribute - either as a parameter (<param name="mayscript" value="true"/;gt;) or as a bare attribute in the applet html tag).
-
- - New jalviewLite java api methods for selecting, highlighting, scrolling and reordering sequences in an alignment view.
-
- **NEW FEATURES** in Jalview 2.6
-
- - Jmol compatibility updated to Jmol 12.1.x series
- - Jalview 2.6 works only with Jmol version 12.1.13 or later. You can use the JmolApplet.jar from
- the Jmol binary distribution available at the Jmol Sourceforge site,
- or download the Jmol applet from here
- - Minimum recommended version of Java runtime for the applet is now 1.5 (JalviewLite v2.6 without the Jmol viewer may work ok on earlier Java environments but compatibility can no-longer be guaranteed).
-
-
**NEW FEATURES** in Jalview 2.5
-
- - New parameters to control display of tree annotation, width of alignment columns, and to disable the jalview button and check for Jmol on startup.
-
-
**NEW FEATURES** in Jalview 2.4
-
- - New applet API methods for feature display control, views, and obtaining current selection via javascript.
- - Group show and hide parameters:
- "showfeaturegroups" and
- "hidefeaturegroups". Both take a list
- of feature group names (separarated by "|" by default) to hide or show on the displayed
- alignment.
-
- - Regular expressions can be used in URL links for sequence IDs.
- - "debug" parameter to control verbosity of the applet's console output.
- - "showbutton" parameter to disable launch button and open JalviewLite immediatly.
- - "nojmol" parameter to disable check for Jmol classes.
-
- **NEW FEATURES** in Jalview 2.3
-
- **NEW FEATURES** in Jalview 2.1
-
- - Jalview Applet can read and display JNet secondary structure annotation
- directly via the jnetfile parameter.
-
- - Param "UserDefinedColour" - specify your own colours for each residue using a semi colon
- separated list. Multiple residues can be assigned the same colour
- using commas. eg:
- <param name="userDefinedColour"
- value="D,E=red; K,R,H=0022FF; C=yellow">
-
- - Param "showFeatureSettings"
- - this will display the feature settings window when the applet starts.
-
- - Param "Application_URL" value="http://www.jalview.org/services/launchApp"
- This calls a servlet which creates a JNLP file with the alignment
- file, annotations file and features file of the applet as arguments.
- If the user has Java installed, the returned JNLP file should start
- up the full Jalview Application. BUT this does not currently work
- for alignment files added to the applet in a zip file.
-
Look at the XML comments in the file downloaded from The LaunchApp page for full documentation.
-
- - Alignment file can be a series of parameters using eg PFAM format
-
- <param name="sequence1"
- value="Q93XJ9_SOLTU/11-26 TSFLPRKPVVTSLKAI">
- <param name="sequence2" value="FER1_PEA/14-29 TSFLRTQPMPMSVTTT">
-
(All the usual Jalview File formats are valid, however each
- new line in an alignment file must be entered as a parameter)
-
-
+
diff --git a/examples/embedded.html b/examples/embedded.html
index 426e275..aa67325 100644
--- a/examples/embedded.html
+++ b/examples/embedded.html
@@ -42,7 +42,7 @@