Interface ProjectWindowsManager

All Superinterfaces:
WindowsManager

@OpenApiAll public interface ProjectWindowsManager extends WindowsManager
Project windows manager allows adding (and manage) the custom windows to the project.
See Also:
  • Method Details

    • addWindow

      @Deprecated default void addWindow(ProjectWindow projectWindow)
    • addWindow

      void addWindow(@CheckForNull Project project, ProjectWindow projectWindow)
      Adds project window to the active project. Window is opened.
      Parameters:
      project - project
      projectWindow - project window to add
    • addWindowWithoutOpen

      @Deprecated default void addWindowWithoutOpen(ProjectWindow projectWindow)
    • addWindowWithoutOpen

      void addWindowWithoutOpen(@CheckForNull Project project, ProjectWindow window)
      Adds project window to the active project. Does not try to open window.
      Parameters:
      project - project
      window - project window to add
    • updateWindow

      @Deprecated default void updateWindow(ProjectWindow projectWindow)
    • updateWindow

      void updateWindow(@CheckForNull Project project, ProjectWindow projectWindow)
      Updates the given project window.
      Parameters:
      project - project
      projectWindow - project window to update
    • hideWindow

      @Deprecated default void hideWindow(String id)
    • hideWindow

      void hideWindow(@CheckForNull Project project, String id)
      Hides the project window. The window is just hidden, but not removed.
      Parameters:
      project - project
      id - the id of project window to be hidden
    • removeWindow

      @Deprecated default void removeWindow(String id)
    • removeWindow

      void removeWindow(@CheckForNull Project project, String id)
      Removes the project window.
      Parameters:
      project - project
      id - the id of project window to be removed
    • activateWindow

      @Deprecated default void activateWindow(String id)
    • activateWindow

      void activateWindow(@CheckForNull Project project, String id)
      Activates the project window.
      Parameters:
      project - project
      id - the id of project window to be activated.
    • getBounds

      @CheckForNull Rectangle getBounds(@CheckForNull Project project, String id)
      Returns bounds of window with given id.
      Parameters:
      project - project
      id - window id
      Returns:
      bounds of window
    • setBounds

      void setBounds(@CheckForNull Project project, String id, Rectangle bounds)
      Set bounds of window. Bounds are changed only if window is "floating". If window is docked inside other container, size is not changed.
      Parameters:
      project - project
      id - window id
      bounds - bounds