Gephi Toolkit Javadoc

org.gephi.project.impl
Class ProjectControllerImpl

java.lang.Object
  extended by org.gephi.project.impl.ProjectControllerImpl
All Implemented Interfaces:
ProjectController

public class ProjectControllerImpl
extends java.lang.Object
implements ProjectController

Author:
Mathieu Bastian

Constructor Summary
ProjectControllerImpl()
           
 
Method Summary
 void addWorkspaceListener(WorkspaceListener workspaceListener)
           
 void cleanWorkspace(Workspace workspace)
           
 void closeCurrentProject()
           
 void closeCurrentWorkspace()
           
 void deleteWorkspace(Workspace workspace)
           
 Workspace duplicateWorkspace(Workspace workspace)
           
 ProjectImpl getCurrentProject()
           
 WorkspaceImpl getCurrentWorkspace()
           
 Projects getProjects()
           
 void newProject()
           
 Workspace newWorkspace(Project project)
           
 java.lang.Runnable openProject(java.io.File file)
           
 void openProject(Project project)
           
 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 setTemporaryOpeningWorkspace(WorkspaceImpl temporaryOpeningWorkspace)
          Hack to have a current workpace when opening workspace
 void startup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectControllerImpl

public ProjectControllerImpl()
Method Detail

startup

public void startup()
Specified by:
startup in interface ProjectController

newProject

public void newProject()
Specified by:
newProject in interface ProjectController

openProject

public java.lang.Runnable openProject(java.io.File file)
Specified by:
openProject in interface ProjectController

saveProject

public java.lang.Runnable saveProject(Project project)
Specified by:
saveProject in interface ProjectController

saveProject

public java.lang.Runnable saveProject(Project project,
                                      java.io.File file)
Specified by:
saveProject in interface ProjectController

closeCurrentProject

public void closeCurrentProject()
Specified by:
closeCurrentProject in interface ProjectController

removeProject

public void removeProject(Project project)
Specified by:
removeProject in interface ProjectController

getProjects

public Projects getProjects()
Specified by:
getProjects in interface ProjectController

setProjects

public void setProjects(Projects projects)
Specified by:
setProjects in interface ProjectController

newWorkspace

public Workspace newWorkspace(Project project)
Specified by:
newWorkspace in interface ProjectController

deleteWorkspace

public void deleteWorkspace(Workspace workspace)
Specified by:
deleteWorkspace in interface ProjectController

openProject

public void openProject(Project project)

getCurrentProject

public ProjectImpl getCurrentProject()
Specified by:
getCurrentProject in interface ProjectController

getCurrentWorkspace

public WorkspaceImpl getCurrentWorkspace()
Specified by:
getCurrentWorkspace in interface ProjectController

closeCurrentWorkspace

public void closeCurrentWorkspace()
Specified by:
closeCurrentWorkspace in interface ProjectController

openWorkspace

public void openWorkspace(Workspace workspace)
Specified by:
openWorkspace in interface ProjectController

cleanWorkspace

public void cleanWorkspace(Workspace workspace)
Specified by:
cleanWorkspace in interface ProjectController

duplicateWorkspace

public Workspace duplicateWorkspace(Workspace workspace)
Specified by:
duplicateWorkspace in interface ProjectController

renameProject

public void renameProject(Project project,
                          java.lang.String name)
Specified by:
renameProject in interface ProjectController

renameWorkspace

public void renameWorkspace(Workspace workspace,
                            java.lang.String name)
Specified by:
renameWorkspace in interface ProjectController

setSource

public void setSource(Workspace workspace,
                      java.lang.String source)
Specified by:
setSource in interface ProjectController

setTemporaryOpeningWorkspace

public void setTemporaryOpeningWorkspace(WorkspaceImpl temporaryOpeningWorkspace)
Hack to have a current workpace when opening workspace

Parameters:
temporaryOpeningWorkspace - the opening workspace or null

addWorkspaceListener

public void addWorkspaceListener(WorkspaceListener workspaceListener)
Specified by:
addWorkspaceListener in interface ProjectController

removeWorkspaceListener

public void removeWorkspaceListener(WorkspaceListener workspaceListener)
Specified by:
removeWorkspaceListener in interface ProjectController

Gephi Toolkit Javadoc