|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CyTableManager
A singleton object that provides access to the available tables in the system. Should be provided as an OSGi service.
| Method Summary | |
|---|---|
void |
addTable(CyTable table)
Registers a new table with the manager and fires a TableAddedEvent event. |
void |
deleteTable(long suid)
Deletes a mutable table. |
Set<CyTable> |
getAllTables(boolean includePrivate)
Returns a Set of all tables with the specified visibility. |
Set<CyTable> |
getGlobalTables()
Returns a set of all global tables. |
Set<CyTable> |
getLocalTables(Class<? extends CyIdentifiable> type)
Returns set of all local tabses for the given data type. |
CyTable |
getTable(long suid)
Returns the table with the specified SUID. |
void |
reset()
Releases all currently held references and resources. |
| Method Detail |
|---|
Set<CyTable> getAllTables(boolean includePrivate)
includePrivate - Whether to include private CyTables
in the list (i.e. all possible CyTables) or not.
void addTable(CyTable table)
table - a non-null CyTable that will be added to the managerCyTable getTable(long suid)
suid - The SUID identifying the CyTable.
void deleteTable(long suid)
suid - the SUID identifying the CyTable to be deleted
IllegalArgumentException - if the table that we requested to be deleted is immutable
or if any of its columns are virtual columns in other tablesvoid reset()
Set<CyTable> getGlobalTables()
Set<CyTable> getLocalTables(Class<? extends CyIdentifiable> type)
type - Type of the graph object, i.e., node, edge or network.
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||