Interface DockingWorkbenchPanelView<P extends WorkbenchPanelPresenter>

    • Method Detail

      • setChildSize

        boolean setChildSize​(WorkbenchPanelView<?> childPanel,
                             int size)
        Sets the size (width for EAST or WEST children; height for NORTH and SOUTH children) allocated to the specified child by moving its splitter bar on the screen. If the requested space isn't available (for instance because it is larger than the browser window, or it would make the central panel of this view smaller than its minimum size) then the largest possible amount will be given to the requested child. Similarly, if the requested size is less than the child's minimum width or height (as appropriate) then the child will be set to its minimum.
        Parameters:
        childPanel - the panel whose size to change
        Returns:
        true if the child was found and its size was adjusted (even if the requested amount was out of range); false if the given child was not found as a child of this panel.