Package org.gephi.graph
Class GraphControllerImpl
- java.lang.Object
-
- org.gephi.graph.GraphControllerImpl
-
- All Implemented Interfaces:
GraphController
public class GraphControllerImpl extends Object implements GraphController
- Author:
- mbastian
-
-
Constructor Summary
Constructors Constructor Description GraphControllerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gephi.graph.api.GraphModelgetGraphModel()Returns the graph model for the current workspace, ornullif project is empty.org.gephi.graph.api.GraphModelgetGraphModel(org.gephi.project.api.Workspace workspace)Returns the graph model for the givenworkspace.private org.gephi.graph.api.GraphModelnewGraphModel(org.gephi.project.api.Workspace workspace)
-
-
-
Method Detail
-
getGraphModel
public org.gephi.graph.api.GraphModel getGraphModel()
Description copied from interface:GraphControllerReturns the graph model for the current workspace, ornullif project is empty.- Specified by:
getGraphModelin interfaceGraphController- Returns:
- the current graph model
-
getGraphModel
public org.gephi.graph.api.GraphModel getGraphModel(org.gephi.project.api.Workspace workspace)
Description copied from interface:GraphControllerReturns the graph model for the givenworkspace.- Specified by:
getGraphModelin interfaceGraphController- Parameters:
workspace- the workspace that graph model is to be returned- Returns:
- the
workspace's graph model
-
newGraphModel
private org.gephi.graph.api.GraphModel newGraphModel(org.gephi.project.api.Workspace workspace)
-
-