Gephi Toolkit Javadoc

org.gephi.project.api
Interface ProjectController

All Known Implementing Classes:
ProjectControllerImpl

public interface ProjectController

Project controller, manage projects and workspaces states.

This controller is a service and can therefore be found in Lookup:

ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);

Author:
Mathieu Bastian
See Also:
Project, Workspace

Method Summary
 void addWorkspaceListener(WorkspaceListener workspaceListener)
           
 void cleanWorkspace(Workspace workspace)
           
 void closeCurrentProject()
           
 void closeCurrentWorkspace()
           
 void deleteWorkspace(Workspace workspace)
           
 Workspace duplicateWorkspace(Workspace workspace)
           
 Project getCurrentProject()
           
 Workspace getCurrentWorkspace()
           
 Projects getProjects()
           
 void newProject()
           
 Workspace newWorkspace(Project project)
           
 java.lang.Runnable openProject(java.io.File file)
           
 void openWorkspace(Workspace workspace)
           
 void removeProject(Project project)
           
 void removeWorkspaceListener(WorkspaceListener workspaceListener)
           
 void renameProject(Project project, java.lang.String name)
           
 void renameWorkspace(Workspace workspace, java.lang.String name)
           
 java.lang.Runnable saveProject(Project project)
           
 java.lang.Runnable saveProject(Project project, java.io.File file)
           
 void setProjects(Projects projects)
           
 void setSource(Workspace workspace, java.lang.String source)
           
 void startup()
           
 

Method Detail

startup

void startup()

newProject

void newProject()

openProject

java.lang.Runnable openProject(java.io.File file)

saveProject

java.lang.Runnable saveProject(Project project)

saveProject

java.lang.Runnable saveProject(Project project,
                               java.io.File file)

closeCurrentProject

void closeCurrentProject()

removeProject

void removeProject(Project project)

getProjects

Projects getProjects()

setProjects

void setProjects(Projects projects)

newWorkspace

Workspace newWorkspace(Project project)

deleteWorkspace

void deleteWorkspace(Workspace workspace)

renameWorkspace

void renameWorkspace(Workspace workspace,
                     java.lang.String name)

getCurrentProject

Project getCurrentProject()

renameProject

void renameProject(Project project,
                   java.lang.String name)

getCurrentWorkspace

Workspace getCurrentWorkspace()

openWorkspace

void openWorkspace(Workspace workspace)

closeCurrentWorkspace

void closeCurrentWorkspace()

cleanWorkspace

void cleanWorkspace(Workspace workspace)

duplicateWorkspace

Workspace duplicateWorkspace(Workspace workspace)

setSource

void setSource(Workspace workspace,
               java.lang.String source)

addWorkspaceListener

void addWorkspaceListener(WorkspaceListener workspaceListener)

removeWorkspaceListener

void removeWorkspaceListener(WorkspaceListener workspaceListener)

Gephi Toolkit Javadoc