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.GraphModel
getGraphModel()
Returns the graph model for the current workspace, ornull
if project is empty.org.gephi.graph.api.GraphModel
getGraphModel(org.gephi.project.api.Workspace workspace)
Returns the graph model for the givenworkspace
.private org.gephi.graph.api.GraphModel
newGraphModel(org.gephi.project.api.Workspace workspace)
-
-
-
Method Detail
-
getGraphModel
public org.gephi.graph.api.GraphModel getGraphModel()
Description copied from interface:GraphController
Returns the graph model for the current workspace, ornull
if project is empty.- Specified by:
getGraphModel
in interfaceGraphController
- Returns:
- the current graph model
-
getGraphModel
public org.gephi.graph.api.GraphModel getGraphModel(org.gephi.project.api.Workspace workspace)
Description copied from interface:GraphController
Returns the graph model for the givenworkspace
.- Specified by:
getGraphModel
in 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)
-
-