Class Workspace

java.lang.Object
ca.phon.app.workspace.Workspace

public class Workspace extends Object
  • Field Details

    • WORKSPACE_FOLDER

      public static final String WORKSPACE_FOLDER
      Property for the current workspace folder setting
  • Constructor Details

    • Workspace

      public Workspace(File folder)
      Constructor
  • Method Details

    • userWorkspaceFolder

      public static File userWorkspaceFolder()
      Get the location of the current user's workspace folder
      Returns:
      the user workspace folder
    • userWorkspace

      public static Workspace userWorkspace()
      Get the user workspace
      Returns:
      workspace
    • setUserWorkspaceFolder

      public static void setUserWorkspaceFolder(File workspaceFolder)
      Set the location of the user's workspace
      Parameters:
      workspaceFolder -
    • defaultWorkspaceFolder

      public static File defaultWorkspaceFolder()
      Get the default location of the user's workspace folder
      Returns:
      default workspace location
    • getWorkspaceFolder

      public File getWorkspaceFolder()
      Get the folder
      Returns:
      File workspaceFolder
    • getProjects

      public List<Project> getProjects()
      Get projects located in the workspace folder.
      Returns:
      list of project