Interface ProjectWindowsManager

  • All Superinterfaces:
    WindowsManager

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

      • 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

        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

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

        void hideWindow​(@CheckForNull
                        Project project,
                        java.lang.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

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

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

        @CheckForNull
        java.awt.Rectangle getBounds​(@CheckForNull
                                     Project project,
                                     java.lang.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,
                       java.lang.String id,
                       java.awt.Rectangle bounds)
        Set bounds of window. Bounds are changed only if window if "floating". It window is docked inside other container, size is not changed.
        Parameters:
        project - project
        id - window id
        bounds - bounds