Package org.gephi.project.api
Interface WorkspaceProvider
-
- All Known Implementing Classes:
WorkspaceProviderImpl
public interface WorkspaceProviderDeprecated.All methods have been ported toProjectdirectly.Maintains workspaces list for projects, and the currently selected workspace.- Author:
- Mathieu Bastian
- See Also:
Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WorkspacegetCurrentWorkspace()Deprecated.Returns the current workspace or null if none.WorkspacegetWorkspace(int id)Deprecated.Retrieve a workspace based on its unique identifier.Workspace[]getWorkspaces()Deprecated.Returns all the workspaces.booleanhasCurrentWorkspace()Deprecated.Returns true if the project has a current workspace.
-
-
-
Method Detail
-
getCurrentWorkspace
Workspace getCurrentWorkspace()
Deprecated.Returns the current workspace or null if none.- Returns:
- current workspace or null if missing
-
hasCurrentWorkspace
boolean hasCurrentWorkspace()
Deprecated.Returns true if the project has a current workspace.- Returns:
- true if has a current workspace, false otherwise
-
getWorkspaces
Workspace[] getWorkspaces()
Deprecated.Returns all the workspaces.Returns an empty array if no workspaces.
- Returns:
- an array of all workspaces
-
getWorkspace
Workspace getWorkspace(int id)
Deprecated.Retrieve a workspace based on its unique identifier.- Parameters:
id- workspace's unique identifier- Returns:
- found workspace or null if not found
-
-