Interface ProjectController


  • 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 Detail

      • startup

        void startup()
      • newProject

        void newProject()
      • closeCurrentProject

        void closeCurrentProject()
      • removeProject

        void removeProject​(Project project)
      • deleteWorkspace

        void deleteWorkspace​(Workspace workspace)
      • renameWorkspace

        void renameWorkspace​(Workspace workspace,
                             String name)
      • getCurrentProject

        Project getCurrentProject()
      • renameProject

        void renameProject​(Project project,
                           String name)
      • getCurrentWorkspace

        Workspace getCurrentWorkspace()
      • openWorkspace

        void openWorkspace​(Workspace workspace)
      • closeCurrentWorkspace

        void closeCurrentWorkspace()
      • addWorkspaceListener

        void addWorkspaceListener​(WorkspaceListener workspaceListener)
      • removeWorkspaceListener

        void removeWorkspaceListener​(WorkspaceListener workspaceListener)