|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.CytoscapeInit
public class 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:
Constructor Summary | |
---|---|
CytoscapeInit()
Creates a new CytoscapeInit object. |
Method Summary | |
---|---|
static File |
getConfigDirectory()
If .cytoscape directory does not exist, it creates it and returns it |
static File |
getConfigFile(String file_name)
DOCUMENT ME! |
static File |
getConfigVersionDirectory()
Within the .cytoscape directory create a version-specific directory |
static CyInitParams |
getCyInitParams()
Returns the CyInitParams object used to initialize Cytoscape. |
static File |
getMRUD()
|
static File |
getMRUF()
|
static Properties |
getProperties()
Returns the properties used by Cytoscape, the result of cytoscape.props and command line options. |
static Properties |
getVisualProperties()
DOCUMENT ME! |
boolean |
init(CyInitParams params)
Cytoscape Init must be initialized using the command line arguments. |
static void |
loadStaticProperties(String defaultName,
Properties props)
Load the Properties found in a given given file into a given Properties object. |
void |
propertyChange(PropertyChangeEvent e)
|
static void |
setMRUD(File mrud_new)
|
static void |
setMRUF(File mruf_new)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CytoscapeInit()
Method Detail |
---|
public boolean init(CyInitParams params)
params
- the arguments from the command line
public static CyInitParams getCyInitParams()
public static Properties getProperties()
public static File getMRUD()
public static File getMRUF()
public static void setMRUD(File mrud_new)
mrud_new
- the most recently used directorypublic static void setMRUF(File mruf_new)
mruf_new
- the most recently used filepublic static File getConfigVersionDirectory()
public static File getConfigDirectory()
public static File getConfigFile(String file_name)
file_name
- DOCUMENT ME!
public static Properties getVisualProperties()
public static void loadStaticProperties(String defaultName, Properties props)
defaultName
- the name of the properties file to use (.e.g., "cytoscape.props").props
- the Properties object in which to insert the
property information found within defaultName.public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |