Interface AuthorWorkspaceAccess

All Superinterfaces:
ApplicationInformationAccess, ColorThemeUtilities, Workspace, WorkspaceUtilities

@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorWorkspaceAccess extends Workspace
Provides access to workspace specific information and actions.
  • Method Details

    • open

      @Deprecated boolean open(File file)
      Deprecated.
      Use Workspace.open(URL) instead.
      Opens the specified File in a new editor.
      Parameters:
      file - The file to be opened.
      Returns:
      true if the operation has succeeded.
    • getAllEditorLocations

      URL[] getAllEditorLocations()
      Get all the editor locations.
      Returns:
      All the editor locations in the main editing area or empty array if no editor is opened.
      Since:
      13.2
    • getEditorAccess

      WSEditor getEditorAccess(URL location)
      Find an editor access by location.
      Parameters:
      location - The editor location
      Returns:
      access to the found editor or null if no editor found with that location URL.
      Since:
      13.2