org.emboss.jemboss.gui
Class BuildProgramMenu

java.lang.Object
  extended byorg.emboss.jemboss.gui.BuildProgramMenu

public class BuildProgramMenu
extends java.lang.Object

BuildProgramMenu class construct the program menus.


Field Summary
private  java.util.Hashtable acdStore
          acd files cache
private static java.util.Vector codons
          codons usage tables
private static java.lang.String[] db
          database names
private  java.lang.String[] envp
          environment vars
private static java.util.Vector matrices
          matrices
private  AuthPopup splashing
          login window
private  SplashThread splashThread
          thread for progress monitor on the login window
 
Constructor Summary
BuildProgramMenu(javax.swing.JPanel p1, ScrollPanel p2, javax.swing.JPanel pform, javax.swing.JScrollPane scrollProgForm, JembossParams mysettings, boolean withSoap, SetUpMenuBar mainMenu, javax.swing.JFrame f, java.awt.Dimension jform)
           
 
Method Summary
private  java.lang.String getAcdText(java.lang.String applName, JembossParams mysettings, boolean withSoap)
          Get the contents of an ACD file in the form of a String
static java.util.Vector getCodonUsage()
          Contains all codon usage tables
protected static java.lang.String[] getDatabaseList()
          List of available EMBOSS databases
static java.util.Vector getMatrices()
          Contains all scoring matrix files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

private static java.lang.String[] db
database names


matrices

private static java.util.Vector matrices
matrices


codons

private static java.util.Vector codons
codons usage tables


acdStore

private java.util.Hashtable acdStore
acd files cache


splashing

private AuthPopup splashing
login window


splashThread

private SplashThread splashThread
thread for progress monitor on the login window


envp

private java.lang.String[] envp
environment vars

Constructor Detail

BuildProgramMenu

public BuildProgramMenu(javax.swing.JPanel p1,
                        ScrollPanel p2,
                        javax.swing.JPanel pform,
                        javax.swing.JScrollPane scrollProgForm,
                        JembossParams mysettings,
                        boolean withSoap,
                        SetUpMenuBar mainMenu,
                        javax.swing.JFrame f,
                        java.awt.Dimension jform)
Parameters:
p1 - menu pane
p2 - form pane
pform - pane containing emboss form and job manager
scrollProgForm - EMBOSS form scroll pane
mysettings - Jemboss settings
withSoap - true if using SOAP server
mainMenu - Jemboss main menu bar
f - Jemboss frame
jform - form pane dimension
Method Detail

getDatabaseList

protected static java.lang.String[] getDatabaseList()
List of available EMBOSS databases

Returns:
list of databases

getMatrices

public static java.util.Vector getMatrices()
Contains all scoring matrix files


getCodonUsage

public static java.util.Vector getCodonUsage()
Contains all codon usage tables


getAcdText

private java.lang.String getAcdText(java.lang.String applName,
                                    JembossParams mysettings,
                                    boolean withSoap)
Get the contents of an ACD file in the form of a String

Parameters:
applName - application name
mysettings - jemboss properties
withSoap - true if in client-server mode
Returns:
String representation of the ACD