Uses of Interface
org.gephi.project.api.Workspace
-
Packages that use Workspace Package Description org.gephi.project.api org.gephi.project.impl org.gephi.project.io org.gephi.project.spi -
-
Uses of Workspace in org.gephi.project.api
Methods in org.gephi.project.api that return Workspace Modifier and Type Method Description Workspace
ProjectController. duplicateWorkspace(Workspace workspace)
Duplicates the given workspace and adds it to the project.Workspace
Project. getCurrentWorkspace()
Returns the current workspace.Workspace
ProjectController. getCurrentWorkspace()
Returns the selected workspace of the current project.Workspace
WorkspaceProvider. getCurrentWorkspace()
Deprecated.Returns the current workspace or null if none.Workspace
Project. getWorkspace(int id)
Retrieve a workspace based on its unique identifier.Workspace
WorkspaceProvider. getWorkspace(int id)
Deprecated.Retrieve a workspace based on its unique identifier.Workspace[]
WorkspaceProvider. getWorkspaces()
Deprecated.Returns all the workspaces.Workspace
ProjectController. newWorkspace(Project project)
Creates and adds a new workspace to the given project.Workspace
ProjectController. openNewWorkspace()
Creates and open a new workspace in the current project.Methods in org.gephi.project.api that return types with arguments of type Workspace Modifier and Type Method Description Collection<Workspace>
Project. getWorkspaces()
Returns all the workspaces.Methods in org.gephi.project.api with parameters of type Workspace Modifier and Type Method Description void
WorkspaceListener. close(Workspace workspace)
Notify a workspace will be closed, all data must be destroyed.void
ProjectController. deleteWorkspace(Workspace workspace)
Deletes the given workspace from its project.Workspace
ProjectController. duplicateWorkspace(Workspace workspace)
Duplicates the given workspace and adds it to the project.void
WorkspaceListener. initialize(Workspace workspace)
Notify a workspace has been created.void
ProjectController. openWorkspace(Workspace workspace)
Selects the given workspace as the current workspace of the project.void
ProjectController. renameWorkspace(Workspace workspace, String name)
Renames the given workspace with the provided string.void
WorkspaceListener. select(Workspace workspace)
Notify a workspace has become the selected workspace.void
ProjectController. setSource(Workspace workspace, String source)
void
WorkspaceListener. unselect(Workspace workspace)
Notify another workspace will be selected. -
Uses of Workspace in org.gephi.project.impl
Classes in org.gephi.project.impl that implement Workspace Modifier and Type Class Description class
WorkspaceImpl
Fields in org.gephi.project.impl with type parameters of type Workspace Modifier and Type Field Description private List<Workspace>
WorkspaceProviderImpl. workspaces
Methods in org.gephi.project.impl that return Workspace Modifier and Type Method Description Workspace
ProjectControllerImpl. duplicateWorkspace(Workspace workspace)
protected Workspace
WorkspaceProviderImpl. getPrecedingWorkspace(Workspace workspace)
Workspace
ProjectImpl. getWorkspace(int id)
Workspace
WorkspaceProviderImpl. getWorkspace(int id)
Workspace[]
WorkspaceProviderImpl. getWorkspaces()
Workspace
ProjectControllerImpl. newWorkspace(Project project)
Workspace
ProjectControllerImpl. openNewWorkspace()
Methods in org.gephi.project.impl that return types with arguments of type Workspace Modifier and Type Method Description List<Workspace>
ProjectImpl. getWorkspaces()
Methods in org.gephi.project.impl with parameters of type Workspace Modifier and Type Method Description void
ProjectControllerImpl. deleteWorkspace(Workspace workspace)
Workspace
ProjectControllerImpl. duplicateWorkspace(Workspace workspace)
private void
ProjectControllerImpl. fireWorkspaceEvent(ProjectControllerImpl.EventType event, Workspace workspace)
protected Workspace
WorkspaceProviderImpl. getPrecedingWorkspace(Workspace workspace)
void
ProjectControllerImpl. openWorkspace(Workspace workspace)
protected void
WorkspaceProviderImpl. removeWorkspace(Workspace workspace)
void
ProjectControllerImpl. renameWorkspace(Workspace workspace, String name)
void
ProjectImpl. setCurrentWorkspace(Workspace workspace)
protected void
WorkspaceProviderImpl. setCurrentWorkspace(Workspace currentWorkspace)
void
ProjectControllerImpl. setSource(Workspace workspace, String source)
-
Uses of Workspace in org.gephi.project.io
Fields in org.gephi.project.io declared as Workspace Modifier and Type Field Description private Workspace
DuplicateTask. workspace
Methods in org.gephi.project.io with parameters of type Workspace Modifier and Type Method Description private WorkspaceImpl
DuplicateTask. duplicateWorkspace(Workspace workspace)
private void
DuplicateTask. duplicateWorkspaceModel(Workspace workspace, Workspace newWorkspace, WorkspaceBytesPersistenceProvider persistenceProvider)
private void
DuplicateTask. duplicateWorkspaceModel(Workspace workspace, Workspace newWorkspace, WorkspaceXMLPersistenceProvider persistenceProvider)
static void
GephiReader. readWorkspaceChildren(Workspace workspace, XMLStreamReader reader, WorkspaceXMLPersistenceProvider persistenceProvider)
private void
LoadTask. readWorkspaceChildrenBytes(WorkspaceBytesPersistenceProvider persistenceProvider, Workspace workspace, ZipFile zipFile)
private void
LoadTask. readWorkspaceChildrenXML(WorkspaceXMLPersistenceProvider persistenceProvider, Workspace workspace, ZipFile zipFile)
private static void
GephiReader. readWorkspaceMetadata(XMLStreamReader reader, Workspace workspace)
static void
GephiWriter. writeWorkspace(XMLStreamWriter writer, Workspace workspace)
private void
SaveTask. writeWorkspace(Workspace workspace, OutputStream outputStream, ZipOutputStream zipOut)
static void
GephiWriter. writeWorkspaceChildren(XMLStreamWriter writer, Workspace workspace, WorkspaceXMLPersistenceProvider persistenceProvider)
private void
SaveTask. writeWorkspaceChildrenBytes(Workspace workspace, WorkspaceBytesPersistenceProvider persistenceProvider, DataOutputStream outputStream, ZipOutputStream zipOut)
private void
SaveTask. writeWorkspaceChildrenXML(Workspace workspace, WorkspaceXMLPersistenceProvider persistenceProvider, OutputStream outputStream, ZipOutputStream zipOut)
Constructors in org.gephi.project.io with parameters of type Workspace Constructor Description DuplicateTask(Workspace workspace)
-
Uses of Workspace in org.gephi.project.spi
Methods in org.gephi.project.spi that return Workspace Modifier and Type Method Description Workspace
Model. getWorkspace()
Returns the workspace this model is associated with.Methods in org.gephi.project.spi with parameters of type Workspace Modifier and Type Method Description default T
Controller. getModel(Workspace workspace)
Returns the model of the given workspace.T
Controller. newModel(Workspace workspace)
Creates a new model instance for the given workspace.void
WorkspaceBytesPersistenceProvider. readBytes(DataInputStream stream, Workspace workspace)
This is automatically called when loading a project file.void
WorkspaceXMLPersistenceProvider. readXML(XMLStreamReader reader, Workspace workspace)
This is automatically called when a start element with the tag name provided in yourgetIdentifier
method.void
WorkspaceBytesPersistenceProvider. writeBytes(DataOutputStream stream, Workspace workspace)
This is automatically called when saving a project file.void
WorkspaceXMLPersistenceProvider. writeXML(XMLStreamWriter writer, Workspace workspace)
This is automatically called when saving a project file.
-