import jalview.schemes.*;
import jalview.ws.ebi.EBIFetchClient;
-import java.awt.BorderLayout;
-
public class PDBViewer extends JInternalFrame implements Runnable
{
*/
package jalview.analysis;
-import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Annotation;
-import jalview.datamodel.ColumnSelection;
import jalview.datamodel.DBRefEntry;
import jalview.datamodel.FeatureProperties;
import jalview.datamodel.Mapping;
*/
package jalview.analysis;
-import jalview.datamodel.AlignmentI;
-import jalview.datamodel.SequenceFeature;
import jalview.datamodel.SequenceGroup;
import jalview.datamodel.SequenceI;
-import java.util.Enumeration;
import java.util.Hashtable;
import java.util.List;
import java.util.Vector;
package jalview.analysis;
-import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Stack;
import java.util.Vector;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AlignmentI;
-import jalview.datamodel.AnnotatedCollectionI;
import jalview.datamodel.ColumnSelection;
import jalview.datamodel.SequenceCollectionI;
import jalview.datamodel.SequenceI;
import jalview.schemes.ColourSchemeI;
-import jalview.schemes.RNAHelicesColour;
/**
* @author jimp
*/
package jalview.appletgui;
-import jalview.analysis.AAFrequency;
import jalview.analysis.AlignmentSorter;
import jalview.analysis.Conservation;
import jalview.api.SequenceStructureBinding;
import jalview.datamodel.ColumnSelection;
import jalview.datamodel.PDBEntry;
import jalview.datamodel.Sequence;
-import jalview.datamodel.SequenceCollectionI;
import jalview.datamodel.SequenceGroup;
import jalview.datamodel.SequenceI;
import jalview.io.AnnotationFile;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.IOException;
-import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLEncoder;
import java.util.Enumeration;
import java.awt.*;
import jalview.analysis.*;
-import jalview.api.AlignCalcManagerI;
import jalview.api.AlignViewportI;
import jalview.bin.*;
import jalview.datamodel.*;
import jalview.structure.SelectionSource;
import jalview.structure.VamsasSource;
import jalview.viewmodel.AlignmentViewport;
-import jalview.workers.ConservationThread;
-import jalview.workers.ConsensusThread;
public class AlignViewport extends AlignmentViewport implements
AlignViewportI, SelectionSource, VamsasSource
import java.awt.*;
import java.awt.event.*;
-import java.util.Hashtable;
-import java.util.Vector;
import jalview.api.AlignmentViewPanel;
import jalview.datamodel.*;
import jalview.datamodel.*;
import jalview.schemes.*;
-import java.awt.Rectangle;
-
-import javax.swing.BoxLayout;
public class AnnotationColourChooser extends Panel implements
ActionListener, AdjustmentListener, ItemListener, MouseListener
import java.awt.*;
import java.awt.event.*;
-import java.awt.image.BufferedImage;
import jalview.datamodel.*;
import jalview.util.ParseHtmlBodyAndLinks;
import java.awt.*;
import java.awt.event.*;
-import java.awt.image.BufferedImage;
import jalview.datamodel.*;
import jalview.renderer.AnnotationRenderer;
import jalview.structure.*;
import jalview.io.*;
-import org.jmol.api.*;
-
-import org.jmol.popup.*;
-import org.jmol.viewer.JmolConstants;
-
import jalview.schemes.*;
public class AppletJmol extends EmbmenuFrame implements
import java.awt.BorderLayout;
import java.awt.Color;
-import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Frame;
-import java.awt.GraphicsConfiguration;
import java.awt.HeadlessException;
import java.awt.Label;
import java.awt.Menu;
import java.awt.MenuBar;
import java.awt.Panel;
import java.awt.PopupMenu;
-import java.awt.event.ActionListener;
-import java.awt.event.ItemListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.Enumeration;
import jalview.api.AlignmentViewPanel;
import jalview.api.FeatureRenderer;
import jalview.api.SequenceRenderer;
-import jalview.datamodel.AlignmentI;
import jalview.datamodel.PDBEntry;
import jalview.datamodel.SequenceI;
import jalview.ext.jmol.JalviewJmolBinding;
import jalview.datamodel.*;
import jalview.schemes.*;
-import java.awt.Rectangle;
public class FeatureColourChooser extends Panel implements ActionListener,
AdjustmentListener, ItemListener, MouseListener
import java.awt.event.*;
-import jalview.appletgui.FeatureSettings.MyCheckbox;
import jalview.datamodel.*;
import jalview.schemes.AnnotationColourGradient;
import jalview.schemes.GraduatedColor;
*/
package jalview.appletgui;
-import java.util.*;
-
import java.awt.*;
import java.awt.event.*;
-import jalview.analysis.*;
import jalview.datamodel.*;
import jalview.viewmodel.PCAModel;
package jalview.appletgui;
import java.util.*;
-import java.util.List;
import java.awt.*;
import java.awt.event.*;
import java.awt.*;
import java.awt.event.*;
-import java.util.Hashtable;
import jalview.analysis.*;
import jalview.datamodel.*;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.lang.reflect.Constructor;
-import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.net.URLDecoder;
import jalview.io.FileParse;
import java.applet.Applet;
-import java.io.BufferedInputStream;
-import java.io.BufferedReader;
import java.io.InputStream;
-import java.io.InputStreamReader;
public class JalviewLiteURLRetrieve extends Applet
{
import java.util.Enumeration;
import java.util.Hashtable;
-import java.util.Vector;
import jalview.analysis.*;
import jalview.util.*;
*/
package jalview.datamodel.xdb.embl;
-import java.util.Hashtable;
import java.util.Vector;
public class EmblFeature
package jalview.datamodel.xdb.embl;
import java.util.Enumeration;
-import java.util.Iterator;
import java.util.Vector;
public class EmblFeatureLocations
import jalview.structure.StructureMapping;
import jalview.structure.StructureMappingcommandSet;
import jalview.structure.StructureSelectionManager;
-import jalview.util.Comparison;
import java.awt.Color;
import java.util.ArrayList;
* You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
*/
package jalview.ext.varna;
-
-import java.io.File;
-
-import java.net.URL;
-import java.util.*;
-import java.applet.Applet;
-import java.awt.*;
import java.awt.event.*;
-import javax.swing.JPanel;
-
-import jalview.api.AlignmentViewPanel;
-import jalview.api.FeatureRenderer;
-import jalview.api.SequenceRenderer;
import jalview.api.SequenceStructureBinding;
import jalview.api.StructureSelectionManagerProvider;
-import jalview.datamodel.*;
import jalview.structure.*;
-import jalview.io.*;
-
-import org.jmol.api.*;
-import org.jmol.adapter.smarter.SmarterJmolAdapter;
-
-import org.jmol.popup.*;
-import org.jmol.viewer.JmolConstants;
-import org.jmol.viewer.Viewer;
-
-import jalview.schemes.*;
-
-import fr.orsay.lri.varna.applications.*;
public abstract class JalviewVarnaBinding implements StructureListener,
SequenceStructureBinding, ComponentListener,
import jalview.datamodel.SequenceI;
import jalview.structure.StructureMapping;
import jalview.structure.StructureSelectionManager;
-import jalview.util.Comparison;
import java.awt.Color;
import java.util.ArrayList;
import java.beans.*;
import java.io.*;
-import java.util.Hashtable;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import jalview.jbgui.GStructureViewer;
-import jalview.api.AlignmentViewPanel;
import jalview.api.SequenceStructureBinding;
import jalview.bin.Cache;
import jalview.datamodel.*;
import jalview.gui.ViewSelectionMenu.ViewSetProvider;
-import jalview.structure.*;
import jalview.datamodel.PDBEntry;
import jalview.io.*;
import jalview.schemes.*;
package jalview.gui;
import java.awt.Container;
-import java.awt.event.ComponentEvent;
-import java.awt.event.ComponentListener;
-import java.awt.event.ContainerEvent;
-import java.awt.event.ContainerListener;
import java.util.BitSet;
-import javax.swing.JPanel;
-
import jalview.api.AlignmentViewPanel;
import jalview.bin.Cache;
-import jalview.datamodel.AlignmentI;
import jalview.datamodel.PDBEntry;
import jalview.datamodel.SequenceI;
import jalview.structure.StructureSelectionManager;
import java.awt.*;
import javax.swing.*;
-import javax.swing.event.*;
-import java.awt.event.*;
-import java.io.*;
-
-import jalview.api.AlignViewportI;
-import jalview.api.AlignmentViewPanel;
-import jalview.api.SequenceStructureBinding;
import jalview.bin.Cache;
import jalview.datamodel.*;
-import jalview.gui.ViewSelectionMenu.ViewSetProvider;
import jalview.structure.*;
-import jalview.io.*;
-import jalview.schemes.*;
import jalview.util.ShiftList;
import fr.orsay.lri.varna.VARNAPanel;
import fr.orsay.lri.varna.exceptions.ExceptionFileFormatOrSyntax;
-import fr.orsay.lri.varna.exceptions.ExceptionNonEqualLength;
import fr.orsay.lri.varna.exceptions.ExceptionUnmatchedClosingParentheses;
import fr.orsay.lri.varna.interfaces.InterfaceVARNAListener;
import fr.orsay.lri.varna.interfaces.InterfaceVARNASelectionListener;
import fr.orsay.lri.varna.models.VARNAConfig;
import fr.orsay.lri.varna.models.annotations.HighlightRegionAnnotation;
import fr.orsay.lri.varna.models.rna.ModeleBase;
-import fr.orsay.lri.varna.models.rna.ModeleBaseNucleotide;
import fr.orsay.lri.varna.models.rna.RNA;
public class AppVarna extends JInternalFrame implements
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.io.File;
-import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Collection;
-import java.util.Date;
import java.util.List;
import javax.swing.DefaultListModel;
import javax.swing.JOptionPane;
import jalview.datamodel.PDBEntry;
-import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceI;
/**
import javax.swing.event.HyperlinkListener;
import javax.swing.event.HyperlinkEvent.EventType;
-import jalview.datamodel.*;
import jalview.io.*;
import jalview.jbgui.*;
import java.io.File;
import java.io.FileOutputStream;
import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationTargetException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Hashtable;
import javax.swing.JPanel;
import javax.swing.JPopupMenu;
import javax.swing.JProgressBar;
-import javax.swing.JTextArea;
import javax.swing.SwingUtilities;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.MenuEvent;
import java.util.*;
-import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import jalview.schemes.*;
import jalview.util.Platform;
import jalview.util.jarInputStreamProvider;
-import jalview.ws.jws2.AAConClient;
import jalview.ws.jws2.Jws2Discoverer;
import jalview.ws.jws2.dm.AAConSettings;
import jalview.ws.jws2.jabaws2.Jws2Instance;
package jalview.gui;
import java.io.*;
-import java.net.*;
import java.util.*;
import java.util.jar.*;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JPanel;
-import javax.swing.JTextArea;
import javax.swing.SwingConstants;
/**
*/
package jalview.gui;
-import jalview.gui.OptsAndParamsPage.ParamBox;
-import jalview.gui.OptsAndParamsPage.OptionBox;
-
public interface OptsParametersContainerI
{
import java.awt.print.*;
import javax.swing.*;
-import jalview.analysis.*;
import jalview.datamodel.*;
import jalview.jbgui.*;
import jalview.viewmodel.PCAModel;
import javax.swing.*;
-import MCview.*;
import jalview.analysis.*;
import jalview.commands.*;
import jalview.datamodel.*;
import jalview.io.*;
import jalview.jbgui.*;
import jalview.schemes.*;
-import jalview.ws.EnfinEnvision2OneWay;
/**
* DOCUMENT ME!
import jalview.bin.Cache;
import java.awt.Component;
-import java.io.*;
-import java.net.*;
import javax.swing.*;
import jalview.commands.*;
import jalview.datamodel.*;
import jalview.jbgui.*;
-import jalview.util.*;
/**
* DOCUMENT ME!
import java.util.ArrayList;
import java.util.Hashtable;
-import javax.swing.JDialog;
-import javax.swing.JInternalFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.event.ListSelectionEvent;
import net.miginfocom.swing.MigLayout;
import jalview.jbgui.GRestInputParamEditDialog;
-import jalview.ws.params.ArgumentI;
import jalview.ws.params.InvalidArgumentException;
import jalview.ws.params.OptionI;
import jalview.ws.params.ParameterI;
*/
package jalview.gui;
-import java.util.*;
-
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import uk.ac.vamsas.client.IClient;
import uk.ac.vamsas.client.IClientDocument;
import uk.ac.vamsas.client.InvalidSessionDocumentException;
-import uk.ac.vamsas.client.NoDefaultSessionException;
import uk.ac.vamsas.client.UserHandle;
import uk.ac.vamsas.client.VorbaId;
import uk.ac.vamsas.client.picking.IMessageHandler;
import javax.swing.*;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkListener;
-import javax.swing.event.HyperlinkEvent.EventType;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.StyleSheet;
-import jalview.bin.Cache;
import jalview.jbgui.*;
import jalview.ws.WSClientI;
*/
package jalview.io;
-import java.io.IOException;
import java.io.StringWriter;
import java.io.PrintWriter;
import java.util.Enumeration;
package jalview.io;
import java.io.*;
-import java.net.*;
/**
* DOCUMENT ME!
*/
package jalview.io;
-import java.io.IOException;
-
/**
* IO for asymmetric matrix with arbitrary dimension with labels, as displayed
* by PCA viewer. Form is: tab separated entity defs header line TITLE\ttitle
import java.util.*;
import jalview.datamodel.*;
-import jalview.util.*;
/**
* parse a simple blast report. Attempt to cope with query anchored and pairwise
import com.stevesoft.pat.*;
import jalview.datamodel.*;
-import jalview.analysis.Rna;
// import org.apache.log4j.*;
import jalview.datamodel.SequenceI;
import java.awt.Color;
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.FileReader;
import java.io.IOException;
-import java.io.Reader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
*/
package jalview.io.vamsas;
-import jalview.datamodel.AlignmentI;
import jalview.datamodel.DBRefEntry;
import jalview.datamodel.SequenceI;
import jalview.io.VamsasAppDatastore;
package jalview.io.vamsas;
import jalview.bin.Cache;
-import jalview.datamodel.DBRefEntry;
-import jalview.gui.TreePanel;
import jalview.io.VamsasAppDatastore;
import java.util.Enumeration;
import java.util.IdentityHashMap;
import java.util.Vector;
-import org.apache.commons.logging.Log;
-
import uk.ac.vamsas.client.IClientDocument;
import uk.ac.vamsas.client.Vobject;
import uk.ac.vamsas.client.VorbaId;
-import uk.ac.vamsas.objects.core.DbRef;
import uk.ac.vamsas.objects.core.Entry;
import uk.ac.vamsas.objects.core.Provenance;
import uk.ac.vamsas.objects.core.Seg;
*/
package jalview.io.vamsas;
-import java.util.Enumeration;
import java.util.IdentityHashMap;
import java.util.Iterator;
import java.util.Map;
-import uk.ac.vamsas.client.Vobject;
-
public class DatastoreRegistry
{
protected static org.apache.log4j.Logger log = org.apache.log4j.Logger
import uk.ac.vamsas.objects.core.DbRef;
import uk.ac.vamsas.objects.core.Map;
import uk.ac.vamsas.objects.core.Sequence;
-import uk.ac.vamsas.objects.core.SequenceType;
import jalview.io.VamsasAppDatastore;
public class Dbref extends Rangetype
import uk.ac.vamsas.client.Vobject;
import uk.ac.vamsas.objects.core.Local;
-import uk.ac.vamsas.objects.core.Map;
import uk.ac.vamsas.objects.core.MapType;
import uk.ac.vamsas.objects.core.Mapped;
import uk.ac.vamsas.objects.core.RangeType;
import uk.ac.vamsas.objects.core.Seg;
-import jalview.datamodel.DBRefEntry;
-import jalview.datamodel.Mapping;
import jalview.io.VamsasAppDatastore;
/**
import java.util.Enumeration;
import java.util.Vector;
-import uk.ac.vamsas.objects.core.DataSet;
import uk.ac.vamsas.objects.core.DataSetAnnotations;
import uk.ac.vamsas.objects.core.Link;
import uk.ac.vamsas.objects.core.Property;
import uk.ac.vamsas.objects.core.RangeAnnotation;
import uk.ac.vamsas.objects.core.Score;
import uk.ac.vamsas.objects.core.Seg;
-import uk.ac.vamsas.objects.core.Sequence;
import uk.ac.vamsas.objects.utils.Properties;
import jalview.bin.Cache;
import jalview.datamodel.SequenceFeature;
import uk.ac.vamsas.client.Vobject;
import uk.ac.vamsas.objects.core.AlignmentSequence;
import uk.ac.vamsas.objects.core.DataSet;
-import uk.ac.vamsas.objects.core.Local;
-import uk.ac.vamsas.objects.core.RangeType;
-import uk.ac.vamsas.objects.core.Seg;
import uk.ac.vamsas.objects.core.Sequence;
import uk.ac.vamsas.objects.core.SequenceMapping;
import uk.ac.vamsas.objects.core.SequenceType;
import java.net.URL;
import java.util.Vector;
-import netscape.javascript.JSException;
import netscape.javascript.JSObject;
import jalview.bin.JalviewLite;
*/
package jalview.javascript;
-import java.net.URL;
import jalview.appletgui.AlignFrame;
-import jalview.appletgui.AlignViewport;
import jalview.bin.JalviewLite;
import jalview.datamodel.ColumnSelection;
import jalview.datamodel.SequenceGroup;
import jalview.structure.SelectionSource;
-import netscape.javascript.JSObject;
public class JsSelectionSender extends JSFunctionExec implements
jalview.structure.SelectionListener, JsCallBack
*/
package jalview.javascript;
-import java.util.Vector;
-
import jalview.appletgui.AlignFrame;
import jalview.bin.JalviewLite;
import jalview.datamodel.SequenceI;
import jalview.structure.VamsasListener;
import jalview.structure.VamsasSource;
-import netscape.javascript.JSObject;
public class MouseOverListener extends JSFunctionExec implements
VamsasListener, JsCallBack
import jalview.gui.JvSwingUtils;
import java.awt.BorderLayout;
-import java.awt.Dimension;
-import java.awt.FlowLayout;
-import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
-import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
-import javax.swing.JViewport;
import javax.swing.ListSelectionModel;
-import javax.swing.UIManager;
import javax.swing.border.TitledBorder;
-import javax.swing.event.CaretEvent;
-import javax.swing.event.CaretListener;
-import javax.swing.event.DocumentEvent;
-import javax.swing.event.DocumentListener;
-import javax.swing.event.ListSelectionListener;
import net.miginfocom.swing.MigLayout;
package jalview.jbgui;
import javax.swing.*;
-import java.awt.event.ActionListener;
-import java.awt.event.ActionEvent;
public class GRnaStructureViewer extends JInternalFrame
{
import jalview.ws.dbsources.das.api.jalviewSourceI;
import jalview.ws.seqfetcher.DbSourceProxy;
-import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Hashtable;
import java.awt.Component;
import java.awt.Cursor;
import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.awt.event.ItemEvent;
-import java.awt.event.ItemListener;
-import java.io.BufferedOutputStream;
-import java.io.BufferedReader;
-import java.io.InputStreamReader;
-import java.io.OutputStreamWriter;
-import java.io.PrintWriter;
-import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.net.URLEncoder;
-import java.nio.charset.Charset;
-import java.nio.charset.CharsetEncoder;
import java.util.Hashtable;
import java.util.Map;
import java.util.Vector;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
-import org.apache.axis.utils.StringUtils;
-import org.apache.http.client.utils.URLEncodedUtils;
-import org.apache.http.entity.StringEntity;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import jalview.datamodel.DBRefSource;\r
import jalview.datamodel.SequenceI;\r
import jalview.ws.dbsources.das.api.jalviewSourceI;\r
-import jalview.ws.dbsources.das.datamodel.DasSequenceSource;\r
import jalview.ws.seqfetcher.ASequenceFetcher;\r
import jalview.ws.seqfetcher.DbSourceProxy;\r
\r
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
-
-import com.stevesoft.pat.Regex;
-
-import jalview.datamodel.AlignmentI;
import jalview.ws.seqfetcher.DbSourceProxyImpl;
public abstract class EbiFileRetrievedProxy extends DbSourceProxyImpl
*/
package jalview.ws.dbsources;
-import java.util.Hashtable;
-
import com.stevesoft.pat.Regex;
import jalview.datamodel.AlignmentI;
*/
package jalview.ws.dbsources;
-import java.io.File;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.StringTokenizer;
-
import com.stevesoft.pat.Regex;
-import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.DBRefSource;
-import jalview.datamodel.SequenceI;
-import jalview.datamodel.xdb.embl.EmblEntry;
-import jalview.ws.ebi.EBIFetchClient;
import jalview.ws.seqfetcher.DbSourceProxy;
-import jalview.ws.seqfetcher.DbSourceProxyImpl;
/**
* @author JimP
import java.io.File;
import java.util.Iterator;
-import java.util.Vector;
public abstract class EmblXmlSource extends EbiFileRetrievedProxy
{
*/
package jalview.ws.dbsources;
-import java.io.File;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.StringTokenizer;
import com.stevesoft.pat.Regex;
-import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.DBRefSource;
-import jalview.datamodel.SequenceI;
-import jalview.datamodel.xdb.embl.EmblEntry;
-import jalview.ws.ebi.EBIFetchClient;
import jalview.ws.seqfetcher.DbSourceProxy;
-import jalview.ws.seqfetcher.DbSourceProxyImpl;
/**
* Test class for accessing GeneDB - not yet finished.
import jalview.datamodel.DBRefSource;
import jalview.datamodel.SequenceI;
-import java.io.BufferedInputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.util.Hashtable;
import java.util.Vector;
import MCview.PDBChain;
import com.stevesoft.pat.Regex;
import jalview.datamodel.AlignmentI;
-import jalview.io.FileParse;
import jalview.ws.ebi.EBIFetchClient;
import jalview.ws.seqfetcher.DbSourceProxy;
-import jalview.ws.seqfetcher.DbSourceProxyImpl;
/**
* @author JimP
*/
package jalview.ws.dbsources;
-import java.util.Hashtable;
import com.stevesoft.pat.Regex;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.DBRefEntry;
-import jalview.io.AppletFormatAdapter;
-import jalview.io.FastaFile;
-import jalview.io.StockholmFile;
import jalview.ws.seqfetcher.DbSourceProxy;
-import jalview.ws.seqfetcher.DbSourceProxyImpl;
/**
* TODO: later PFAM is a complex datasource - it could return a tree in addition
import java.io.File;
import java.io.FileReader;
-import java.io.IOException;
import java.util.Enumeration;
-import java.util.Hashtable;
import java.util.Vector;
import org.exolab.castor.xml.Unmarshaller;
import jalview.datamodel.SequenceI;
import jalview.datamodel.UniprotEntry;
import jalview.datamodel.UniprotFile;
-import jalview.io.FormatAdapter;
-import jalview.io.IdentifyFile;
-import jalview.ws.DBRefFetcher;
import jalview.ws.ebi.EBIFetchClient;
import jalview.ws.seqfetcher.DbSourceProxy;
import jalview.ws.seqfetcher.DbSourceProxyImpl;
*/
package jalview.ws.dbsources.das.api;
-import java.util.Hashtable;
import java.util.List;
-import java.util.Map;
-import org.biodas.jdas.client.ConnectionPropertyProviderI;
import org.biodas.jdas.client.threads.MultipleConnectionPropertyProviderI;
-import org.biodas.jdas.schema.sources.SOURCE;
/**
* API for a registry that provides datasources that jalview can access
import java.util.StringTokenizer;
import java.util.Vector;
-import org.biodas.jdas.client.ConnectionPropertyProviderI;
import org.biodas.jdas.client.SequenceClient;
import org.biodas.jdas.client.adapters.sequence.DasSequenceAdapter;
import org.biodas.jdas.client.threads.MultipleConnectionPropertyProviderI;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
-import java.util.Collection;
import java.util.Enumeration;
import java.util.HashMap;
-import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
-import java.util.Map;
-import java.util.Set;
import java.util.StringTokenizer;
-import java.util.Vector;
-import javax.swing.JOptionPane;
-
-import org.apache.http.auth.InvalidCredentialsException;
import org.biodas.jdas.client.ConnectionPropertyProviderI;
import org.biodas.jdas.client.SourcesClient;
import org.biodas.jdas.client.threads.MultipleConnectionPropertyProviderI;
import org.biodas.jdas.client.threads.MultipleConnectionPropertyProviderI;
import org.biodas.jdas.dassources.Capabilities;
import org.biodas.jdas.dassources.utils.DasTimeFormat;
-import org.biodas.jdas.dassources.utils.RegistrySourceAdapter;
import org.biodas.jdas.schema.sources.CAPABILITY;
import org.biodas.jdas.schema.sources.COORDINATES;
import org.biodas.jdas.schema.sources.MAINTAINER;
*/
package jalview.ws.jws1;
-import javax.swing.*;
-
-import jalview.bin.*;
import jalview.datamodel.*;
import jalview.gui.*;
import jalview.ws.AWSThread;
package jalview.ws.jws2;
import jalview.datamodel.AlignmentAnnotation;
-import jalview.datamodel.AlignmentI;
import jalview.gui.AlignFrame;
import jalview.gui.AlignmentPanel;
import jalview.ws.jws2.dm.AAConSettings;
package jalview.ws.jws2;
import jalview.api.AlignCalcWorkerI;
-import jalview.bin.Cache;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.GraphLine;
import compbio.data.sequence.Score;
import compbio.data.sequence.ScoreManager.ScoreHolder;
import compbio.metadata.Argument;
-import compbio.ws.client.Services;
public class AADisorderClient extends JabawsAlignCalcWorker implements
AlignCalcWorkerI
*/
package jalview.ws.jws2;
-import java.io.BufferedReader;
import java.io.IOException;
-import java.io.Reader;
-import java.io.Writer;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
-import java.util.ArrayList;
import java.util.List;
import javax.swing.*;
import jalview.gui.*;
import compbio.data.msa.MsaWS;
import compbio.metadata.Argument;
-import compbio.metadata.Option;
-import compbio.metadata.Preset;
-import compbio.metadata.PresetManager;
-import jalview.ws.jws2.dm.JabaWsParamSet;
import jalview.ws.jws2.jabaws2.Jws2Instance;
import jalview.ws.params.WsParamSetI;
import java.util.*;
import compbio.data.msa.MsaWS;
-import compbio.data.sequence.AlignmentMetadata;
-import compbio.data.sequence.Program;
import compbio.metadata.Argument;
import compbio.metadata.ChunkHolder;
import compbio.metadata.JobStatus;
*/
package jalview.ws.jws2;
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.Reader;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import compbio.metadata.Argument;
import compbio.metadata.Option;
-import compbio.metadata.Preset;
import jalview.ws.jws2.JabaParamStore;
import jalview.ws.jws2.JabaPreset;
import jalview.ws.jws2.ParameterUtils;
import jalview.ws.jws2.jabaws2.Jws2Instance;
import jalview.ws.params.ArgumentI;
-import jalview.ws.params.ParamManager;
import jalview.ws.params.WsParamSetI;
/**
import jalview.ws.jws2.ParameterUtils;
import jalview.ws.params.ParameterI;
import jalview.ws.params.ValueConstrainI;
-import compbio.metadata.Argument;
import compbio.metadata.Parameter;
import compbio.metadata.ValueConstrain;
package jalview.ws.jws2.dm;
import compbio.metadata.ValueConstrain;
-import compbio.metadata.ValueConstrain.Type;
import jalview.ws.params.ValueConstrainI;
*/
package jalview.ws.jws2.dm;
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.Reader;
-import java.io.Writer;
import java.util.ArrayList;
import java.util.List;
-import compbio.metadata.Argument;
import compbio.metadata.Option;
import jalview.ws.jws2.JabaParamStore;
-import jalview.ws.jws2.ParameterUtils;
import jalview.ws.params.ArgumentI;
-import jalview.ws.params.ParamDatastoreI;
import jalview.ws.params.WsParamSetI;
public class JabaWsParamSet implements WsParamSetI
*/
package jalview.ws.params;
-import jalview.ws.jws2.dm.JabaWsParamSet;
/**
* Interface implemented by classes for maintaining user's parameters in a
*/
package jalview.ws.params;
-import java.net.URL;
-
-import compbio.metadata.ValueConstrain;
-
public interface ParameterI extends OptionI
{
*/
package jalview.ws.params;
-import compbio.metadata.ValueConstrain.Type;
-
/**
* @author JimP
*
import jalview.ws.params.ParameterI;
import jalview.ws.params.ValueConstrainI;
-import compbio.metadata.ValueConstrain.Type;
-
/**
* @author jimp
*
import org.apache.http.client.methods.HttpRequestBase;
import org.apache.http.entity.mime.MultipartEntity;
import org.apache.james.mime4j.MimeException;
-import org.apache.james.mime4j.parser.ContentHandler;
import org.apache.james.mime4j.parser.MimeStreamParser;
/**
import jalview.ws.params.ParameterI;
import jalview.ws.params.simple.IntegerParameter;
import jalview.ws.params.simple.Option;
-import jalview.ws.rest.params.SeqGroupIndexVector;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.PrintWriter;
-import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
-import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.http.entity.mime.content.ContentBody;
import org.apache.http.entity.mime.content.StringBody;
-import sun.io.CharacterEncoding;
-import sun.misc.CharacterEncoder;
-
/***
* InputType is the abstract model of each input parameter that a rest service
* might take. It enables the engine to validate input by providing { formatter
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
-import java.util.Collection;
import java.util.Hashtable;
import java.util.Vector;
*/
package jalview.ws.rest;
-import java.io.IOException;
-import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Hashtable;
-import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import java.util.Vector;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.AlignmentOrder;
-import jalview.datamodel.AlignmentView;
import jalview.datamodel.SequenceGroup;
import jalview.datamodel.SequenceI;
-import jalview.io.packed.DataProvider;
import jalview.io.packed.JalviewDataset;
-import jalview.io.packed.ParsePackedSet;
-import jalview.io.packed.SimpleDataProvider;
-import jalview.io.packed.DataProvider.JvDataType;
import jalview.ws.AWsJob;
import jalview.ws.rest.params.Alignment;
import jalview.ws.rest.params.SeqGroupIndexVector;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.util.ArrayList;
-import java.util.Enumeration;
import java.util.Hashtable;
import java.util.List;
import java.util.Map.Entry;
-import java.util.Vector;
import org.apache.axis.transport.http.HTTPConstants;
import org.apache.http.Header;
package jalview.ws.rest;
import jalview.datamodel.SequenceI;
-import jalview.io.packed.DataProvider;
-import jalview.io.packed.SimpleDataProvider;
import jalview.io.packed.DataProvider.JvDataType;
-import jalview.util.GroupUrlLink.UrlStringTooLongException;
-import jalview.util.Platform;
import jalview.ws.rest.params.Alignment;
import jalview.ws.rest.params.AnnotationFile;
-import jalview.ws.rest.params.JobConstant;
import jalview.ws.rest.params.SeqGroupIndexVector;
import java.net.URL;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.StringTokenizer;
-import java.util.Vector;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import javax.swing.JViewport;
-
-import com.stevesoft.pat.Regex;
-import com.sun.org.apache.xml.internal.serialize.OutputFormat.DTD;
-
public class RestServiceDescription
{
/**
import jalview.ws.rest.InputType;
import jalview.ws.rest.NoValidInputDataException;
import jalview.ws.rest.RestJob;
-import jalview.ws.rest.InputType.molType;
-import jalview.ws.rest.RestServiceDescription;
import java.io.BufferedOutputStream;
-import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
-import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
-import java.net.URLEncoder;
-import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import jalview.ws.rest.InputType;
import jalview.ws.rest.NoValidInputDataException;
import jalview.ws.rest.RestJob;
-import jalview.ws.rest.RestServiceDescription;
-import jalview.ws.rest.InputType.molType;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import jalview.ws.rest.InputType;
import jalview.ws.rest.NoValidInputDataException;
import jalview.ws.rest.RestJob;
-import jalview.ws.rest.RestServiceDescription;
-import jalview.ws.rest.InputType.molType;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import java.util.Vector;
import org.apache.http.entity.mime.content.ContentBody;
import org.apache.http.entity.mime.content.StringBody;
import jalview.ws.rest.InputType;
import jalview.ws.rest.NoValidInputDataException;
import jalview.ws.rest.RestJob;
-import jalview.ws.rest.RestServiceDescription;
-import jalview.ws.rest.InputType.molType;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
import org.apache.http.entity.mime.content.ContentBody;
import org.apache.http.entity.mime.content.StringBody;
import jalview.ws.rest.InputType;
import jalview.ws.rest.NoValidInputDataException;
import jalview.ws.rest.RestJob;
-import jalview.ws.rest.RestServiceDescription;
-import jalview.ws.rest.InputType.molType;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import org.apache.http.entity.mime.content.ContentBody;
import org.apache.http.entity.mime.content.StringBody;
-import org.jmol.util.ArrayUtil;
/**
* input a list of sequences separated by some separator
*/
package jalview.ws.rest.params;
-import jalview.datamodel.AlignmentI;
-import jalview.ws.params.ArgumentI;
import jalview.ws.params.OptionI;
import jalview.ws.rest.InputType;
import jalview.ws.rest.RestJob;
-import jalview.ws.rest.RestServiceDescription;
-import jalview.ws.rest.InputType.molType;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import jalview.util.DBRefUtils;
import java.util.ArrayList;
-import java.util.Collection;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Hashtable;
package jalview.ws.seqfetcher;
import jalview.datamodel.Alignment;
-import jalview.datamodel.DBRefSource;
import jalview.io.FormatAdapter;
import jalview.io.IdentifyFile;