Package org.gephi.project.api
Interface Projects
-
- All Known Implementing Classes:
ProjectsImpl
public interface Projects
Hosts the project lists and the currently selected project.- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Project
getCurrentProject()
Returns the current project..Project[]
getProjects()
Returns an array of all projects.boolean
hasCurrentProject()
Returns true if a project is selected.void
loadProjects(File file)
void
saveProjects(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
null
if 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
-
-