Class ShellDocker


  • public class ShellDocker
    extends java.lang.Object
    A utility class that helps in docking a given Shell to a given Control
    • Field Detail

      • anchorControlPosition

        private DockPosition anchorControlPosition
      • isDocked

        private boolean isDocked
      • moveWithShell

        private boolean moveWithShell
      • resizeWithShell

        private boolean resizeWithShell
      • dockingEnabler

        private org.eclipse.swt.widgets.Listener dockingEnabler
      • anchorControl

        private org.eclipse.swt.widgets.Control anchorControl
      • dockedShell

        private org.eclipse.swt.widgets.Shell dockedShell
      • mainShell

        private org.eclipse.swt.widgets.Shell mainShell
    • Constructor Detail

      • ShellDocker

        public ShellDocker​(org.eclipse.swt.widgets.Control anchorControl,
                           org.eclipse.swt.widgets.Shell dockedShell)
    • Method Detail

      • openShell

        public void openShell()
        Opens the shell
      • openShell

        public void openShell​(boolean isDocked)
        Opens the shell as docked
        Parameters:
        isDocked -
      • openShell

        public void openShell​(boolean isDocked,
                              boolean isAnimated)
        Opens the shell as docked and animated
        Parameters:
        isDocked -
        isAnimated -
      • isDocked

        public boolean isDocked()
      • setDocked

        public void setDocked​(boolean isDocked)
      • performDocking

        private void performDocking()
      • isAlive

        private boolean isAlive()
      • isMoveWithShell

        public boolean isMoveWithShell()
      • setMoveWithShell

        public void setMoveWithShell​(boolean moveWithShell)
      • isResizeWithShell

        public boolean isResizeWithShell()
      • setResizeWithShell

        public void setResizeWithShell​(boolean resizeWithShell)
      • getAnchorControlPosition

        public DockPosition getAnchorControlPosition()
      • setAnchorControlPosition

        public void setAnchorControlPosition​(DockPosition anchorControlPosition)