Package org.gephi.project.api
Interface Projects
-
- All Known Implementing Classes:
ProjectsImpl
public interface ProjectsHosts the project lists and the currently selected project.- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProjectgetCurrentProject()Returns the current project..Project[]getProjects()Returns an array of all projects.booleanhasCurrentProject()Returns true if a project is selected.voidloadProjects(File file)voidsaveProjects(File file)
-
-
-
Method Detail
-
hasCurrentProject
boolean hasCurrentProject()
Returns true if a project is selected.- Returns:
- true if current project, false otherwise
-
getCurrentProject
Project getCurrentProject()
Returns the current project..- Returns:
- current project or
nullif missing
-
getProjects
Project[] getProjects()
Returns an array of all projects.- Returns:
- project array
-
saveProjects
void saveProjects(File file) throws IOException
- Throws:
IOException
-
loadProjects
void loadProjects(File file) throws IOException
- Throws:
IOException
-
-