|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractPlugin
org.systemsbiology.gaggle.geese.cy.mastermap.MasterMapPlugin
public class MasterMapPlugin
| Field Summary | |
|---|---|
protected UndoableGraphHider |
graphHider
|
protected javax.swing.JTextField |
mapNameReadout
|
protected javax.swing.JTextField |
nodeSelectionTextField
|
protected javax.swing.JTextField |
scoreReadout
|
| Constructor Summary | |
|---|---|
MasterMapPlugin(CytoscapeWindow cytoscapeWindow)
|
|
| Method Summary | |
|---|---|
protected void |
broadcastGenes()
find all the genes in each selected node, make a list, broadcast them |
void |
clearSelections()
|
void |
connectToGaggle()
|
protected javax.swing.JPanel |
createCytoscapeControls()
|
protected javax.swing.JToolBar |
createGaggleToolBar()
|
protected javax.swing.JPanel |
createGui()
|
protected javax.swing.JPanel |
createMapNameReadout()
|
protected java.lang.String |
discoverGooseName(java.lang.String[] commandLineArgs)
|
void |
doBroadcastList()
|
void |
doBroadcastNetwork()
|
void |
doExit()
Tells the goose to exit (terminate). |
void |
doHide()
Tells the goose to hide itself |
void |
doShow()
Tells the goose to show itself |
protected java.lang.String[] |
getCanonicalNamesOfNodesInGraph()
|
protected java.util.HashSet |
getCurrentEdgeNames(Graph2D graph)
|
protected java.lang.String[] |
getCurrentNodeNames(Graph2D graph)
|
protected java.util.HashMap |
getCurrentNodes(Graph2D graph)
|
java.lang.String |
getName()
Returns the name of the goose. |
int |
getSelectionCount()
|
void |
handleCluster(java.lang.String source,
Cluster cluster)
Called when the goose receives a Cluster object |
void |
handleMatrix(java.lang.String source,
DataMatrix matrix)
Called when the goose receives a DataMatrix object |
void |
handleNameList(java.lang.String source,
Namelist nameList)
Called when the goose receives a NameList object |
void |
handleNetwork(java.lang.String source,
Network network)
Called when the goose receives a Network object |
void |
handleTuple(java.lang.String source,
GaggleTuple gaggleTuple)
Called when the goose receives a GaggleTuple object |
void |
hideNodesByThreshold(java.lang.String nodeAttributeName,
double threshold,
int aboveOrBelow)
|
protected void |
selectNodes()
|
protected void |
selectNodesByName(java.lang.String[] candidates)
|
void |
setGeometry(int x,
int y,
int width,
int height)
|
void |
setName(java.lang.String newValue)
Sets the name of (renames) the goose. |
void |
update(java.lang.String[] gooseNames)
Provides the goose with an updated list of the names of active geese. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected UndoableGraphHider graphHider
protected javax.swing.JTextField nodeSelectionTextField
protected javax.swing.JTextField scoreReadout
protected javax.swing.JTextField mapNameReadout
| Constructor Detail |
|---|
public MasterMapPlugin(CytoscapeWindow cytoscapeWindow)
| Method Detail |
|---|
protected javax.swing.JPanel createGui()
protected javax.swing.JPanel createMapNameReadout()
protected javax.swing.JToolBar createGaggleToolBar()
protected javax.swing.JPanel createCytoscapeControls()
public void hideNodesByThreshold(java.lang.String nodeAttributeName,
double threshold,
int aboveOrBelow)
protected java.lang.String discoverGooseName(java.lang.String[] commandLineArgs)
public void doBroadcastList()
doBroadcastList in interface Goosepublic void doBroadcastNetwork()
protected void broadcastGenes()
public void handleNameList(java.lang.String source,
Namelist nameList)
throws java.rmi.RemoteException
Goose
handleNameList in interface Goosesource - Optional string indicating name of source goosenameList - The NameList object
java.rmi.RemoteException - if RMI communication failsprotected java.lang.String[] getCanonicalNamesOfNodesInGraph()
protected void selectNodesByName(java.lang.String[] candidates)
public void handleMatrix(java.lang.String source,
DataMatrix matrix)
throws java.rmi.RemoteException
Goose
handleMatrix in interface Goosesource - Optional string indicating name of source goosematrix - The DataMatrix object
java.rmi.RemoteException - if RMI communication failsprotected void selectNodes()
public void handleTuple(java.lang.String source,
GaggleTuple gaggleTuple)
Goose
handleTuple in interface Goosesource - Optional string indicating name of source goosegaggleTuple - The GaggleTuple object
public void handleCluster(java.lang.String source,
Cluster cluster)
throws java.rmi.RemoteException
Goose
handleCluster in interface Goosesource - Optional string indicating name of source goosecluster - The Cluster object
java.rmi.RemoteException - if RMI communication fails
public void handleNetwork(java.lang.String source,
Network network)
throws java.rmi.RemoteException
Goose
handleNetwork in interface Goosesource - Optional string indicating name of source goosenetwork - The Network object
java.rmi.RemoteException - if RMI communication failsprotected java.util.HashMap getCurrentNodes(Graph2D graph)
protected java.lang.String[] getCurrentNodeNames(Graph2D graph)
protected java.util.HashSet getCurrentEdgeNames(Graph2D graph)
public java.lang.String getName()
Goose
getName in interface Goosepublic void setName(java.lang.String newValue)
Goose
setName in interface GoosenewValue - The new name of the goosepublic int getSelectionCount()
public void doHide()
Goose
doHide in interface Goosepublic void doShow()
Goose
doShow in interface Goosepublic void clearSelections()
public void setGeometry(int x,
int y,
int width,
int height)
public void doExit()
Goose
doExit in interface Goosepublic void connectToGaggle()
public void update(java.lang.String[] gooseNames)
Goose
update in interface GoosegooseNames - the names of the currently active geeseMiscUtil.updateGooseChooser(javax.swing.JComboBox gooseChooser, String callingGoose, String[] allGeese);
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||