|
Cytoscape 2.3.1 (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()
|
Method Summary | |
static String[] |
getArgs()
Deprecated. Use Properties (getProperties()) instead of args for accessing initialization information. This method will be removed April 2007. |
static String |
getBioDataServer()
Deprecated. This method will be removed April 2007. Use getProperty("bioDataServer") instead. |
static URLClassLoader |
getClassLoader()
|
static File |
getConfigDirectory()
If .cytoscape directory does not exist, it creates it and returns it |
static File |
getConfigDirectoy()
Deprecated. This method is only deprecated because it is misspelled. Just use the correctly spelled method: getConfigDirectory(). This method will be removed 12/2006. |
static File |
getConfigFile(String file_name)
|
static cytoscape.init.CyInitParams |
getCyInitParams()
Returns the CyInitParams object used to initialize Cytoscape. |
static String |
getDefaultSpeciesName()
Deprecated. Will be removed April 2007. Use getProperty( "defaultSpeciesName" ) instead. |
static String |
getDefaultVisualStyle()
Deprecated. Will be removed April 2007. Use getProperties().getProperty( "defaultVisualStyle" ) instead. |
static Set |
getEdgeAttributes()
Deprecated. Will be removed April 2007. No one appears to be using this method, so don't start. |
static Set |
getExpressionFiles()
Deprecated. Will be removed April 2007. No one appears to be using this method, so don't start. |
static Set |
getGraphFiles()
Deprecated. Will be removed April 2007. No one appears to be using this method, so don't start. |
String |
getHelp()
Deprecated. This method will be removed April 2007. No one appears to use this method, so don't start. |
static File |
getMRUD()
|
static File |
getMRUF()
|
static Set |
getNodeAttributes()
Deprecated. Will be removed April 2007. No one appears to be using this method, so don't start. |
static Set |
getPluginURLs()
|
static Properties |
getProperties()
Returns the properties used by Cytoscape, the result of cytoscape.props and command line options. |
static String |
getPropertiesLocation()
Deprecated. This method will be removed April 2007. |
static String |
getProperty(String key)
Deprecated. Use getProperties().getProperty( ) instead. Since this method never made it into a release, it will be removed Summer 2006. |
static Set |
getResourcePlugins()
|
static int |
getSecondaryViewThreshold()
Deprecated. Will be removed April 2007. Use getProperty( "secondaryViewThreshold" ) instead. |
static int |
getViewThreshold()
Deprecated. Will be removed April 2007. Use getProperty( "viewThreshold" ) instead. |
static int |
getViewType()
Deprecated. Will be removed April 2007. Use CytoscapeDesktop.parseViewType(CytoscapeInit.getProperties().getProperty("viewType")); |
static Properties |
getVisualProperties()
|
static String |
getVizmapPropertiesLocation()
Deprecated. Will be removed April 2007. Use getProperties().getProperty( "TODO" ) instead. |
boolean |
init(cytoscape.init.CyInitParams params)
Cytoscape Init must be initialized using the command line arguments. |
static boolean |
isHeadless()
Deprecated. This method will be removed April 2007. Use getMode() instead. |
void |
loadPlugin(Class plugin)
|
static boolean |
noCanonicalization()
Deprecated. Will be removed April 2007. Use getProperty( "canonicalizeNames" ) instead. |
static void |
setDefaultSpeciesName()
Deprecated. Will be removed April 2007. This doesn't do anything. To set the default species name use getProperties().setProperty("defaultSpeciesName", newName), which you were presumably doing already. |
static void |
setMRUD(File mrud_new)
|
static void |
setMRUF(File mruf_new)
|
static void |
setProperty(String key,
String value)
Deprecated. Use getProperties().setProperty( ) instead. Since this method never made it into a release, it will be removed Summer 2006. |
static void |
setSecondaryViewThreshold(int threshold)
Deprecated. Will be removed April 2007. Use getProperties().setProperty( "secondaryViewThreshold", thresh ) instead. |
static void |
setViewThreshold(int threshold)
Deprecated. Will be removed April 2007. Use setProperty( "viewThreshold", thresh ) instead. |
static boolean |
suppressView()
Deprecated. This method will be removed April 2007. No one appears to use this method, so don't start. |
static boolean |
useView()
Deprecated. This method will be removed April 2007. Use getMode() instead. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CytoscapeInit()
Method Detail |
public boolean init(cytoscape.init.CyInitParams params)
public static cytoscape.init.CyInitParams getCyInitParams()
public static Properties getProperties()
public static void setProperty(String key, String value)
public static String getProperty(String key)
public static URLClassLoader getClassLoader()
public static Set getPluginURLs()
public static Set getResourcePlugins()
public String getHelp()
public static boolean isHeadless()
public static boolean useView()
public static boolean suppressView()
public static String[] getArgs()
public static String getPropertiesLocation()
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 getConfigDirectory()
public static File getConfigFile(String file_name)
public static Properties getVisualProperties()
|
www.cytoscape.org | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |