|
Cytoscape 2.2 (c) 2004 ISB, MSKCC, UCSD | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.CytoscapeInit
Cytoscape Init is responsible for starting Cytoscape in a way that makes sense. The comments below are more hopeful than accurate. We currently do not support a "headless" mode (meaning there is no GUI). We do, however, hope to support this in the future. The two main modes of running Cytoscape are either in "headless" mode or in "script" mode. This class will use the command-line options to figure out which mode is desired, and run things accordingly. The order for doing things will be the following: 1. deterimine script mode, or headless mode 2. get options from properties files 3. get options from command line ( these overwrite properties ) 4. Load all Networks 5. Load all Data 6. Load all Plugins 7. Initialize all plugins, in order if specified. 8. Start Desktop/ Print Output exit.
Constructor Summary | |
CytoscapeInit()
Calling the constructor sets up the CytoscapeInit Object to be a CYTOSCAPE_EXIT event listener, and will take care of saving all properties. |
Method Summary | |
static String[] |
getArgs()
|
static String |
getBioDataServer()
|
static URLClassLoader |
getClassLoader()
|
static File |
getConfigDirectoy()
If .cytoscape directory does not exist, it creates it and returns it |
static File |
getConfigFile(String file_name)
|
static String |
getDefaultSpeciesName()
|
static String |
getDefaultVisualStyle()
|
static Set |
getEdgeAttributes()
|
static Set |
getExpressionFiles()
|
static Set |
getGraphFiles()
|
String |
getHelp()
|
static File |
getMRUD()
|
static File |
getMRUF()
|
static Set |
getNodeAttributes()
|
static Set |
getPluginURLs()
|
static Properties |
getProperties()
|
static String |
getPropertiesLocation()
|
static int |
getSecondaryViewThreshold()
Gets the Secondary View Threshold. |
static int |
getViewThreshold()
Gets the ViewThreshold. |
static int |
getViewType()
|
static String |
getVizmapPropertiesLocation()
|
boolean |
init(String[] args)
Cytoscape Init must be initialized using the command line arguments. |
static boolean |
isHeadless()
|
void |
loadPlugin(Class plugin)
|
static boolean |
noCanonicalization()
|
void |
propertyChange(PropertyChangeEvent e)
|
static void |
setDefaultSpeciesName()
|
static void |
setMRUD(File mrud_new)
|
static void |
setMRUF(File mruf_new)
|
static void |
setSecondaryViewThreshold(int threshold)
Sets the Secondary View Threshold. |
static void |
setViewThreshold(int threshold)
Sets the ViewThreshold. |
static boolean |
suppressView()
|
static boolean |
useView()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CytoscapeInit()
Method Detail |
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
public boolean init(String[] args)
args
- the arguments from the command line
public String getHelp()
public static boolean isHeadless()
public static boolean useView()
public static boolean suppressView()
public static String[] getArgs()
public static Properties getProperties()
public static String getPropertiesLocation()
public static URLClassLoader getClassLoader()
public static Set getPluginURLs()
public static String getBioDataServer()
public static boolean noCanonicalization()
public static Set getExpressionFiles()
public static Set getGraphFiles()
public static Set getEdgeAttributes()
public static Set getNodeAttributes()
public static String getDefaultSpeciesName()
public static int getViewType()
public static int getViewThreshold()
public static void setViewThreshold(int threshold)
threshold
- view threshold.public static int getSecondaryViewThreshold()
public static void setSecondaryViewThreshold(int threshold)
threshold
- value, indicating number of nodes.public static String getVizmapPropertiesLocation()
public static String getDefaultVisualStyle()
public void loadPlugin(Class plugin)
public static File getMRUD()
public static File getMRUF()
public static void setMRUD(File mrud_new)
public static void setMRUF(File mruf_new)
public static void setDefaultSpeciesName()
public static File getConfigDirectoy()
public static File getConfigFile(String file_name)
|
www.cytoscape.org | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |