Class ProjectsImpl

    • Constructor Detail

      • ProjectsImpl

        public ProjectsImpl()
    • Method Detail

      • addProject

        public void addProject​(Project project)
      • removeProject

        public void removeProject​(Project project)
      • getProjects

        public Project[] getProjects()
        Description copied from interface: Projects
        Returns an array of all projects.
        Specified by:
        getProjects in interface Projects
        Returns:
        project array
      • getCurrentProject

        public ProjectImpl getCurrentProject()
        Description copied from interface: Projects
        Returns the current project or null if missing.
        Specified by:
        getCurrentProject in interface Projects
        Returns:
        current project or null if missing
      • setCurrentProject

        public void setCurrentProject​(ProjectImpl currentProject)
      • hasCurrentProject

        public boolean hasCurrentProject()
        Description copied from interface: Projects
        Returns true if a project is selected.
        Specified by:
        hasCurrentProject in interface Projects
        Returns:
        true if current project, false otherwise
      • closeCurrentProject

        public void closeCurrentProject()
      • nextProjectId

        public int nextProjectId()
      • getProjectIds

        public int getProjectIds()
      • setProjectIds

        public void setProjectIds​(int id)