public final class DockUtil
extends java.lang.Object
| Constructor and Description | 
|---|
DockUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
hideDockableWindow(DockableView dw)
Hides the DockableView and set the focus on the active Editor 
 | 
static boolean | 
isMinimizedByDefault(Dockable dockable,
                    Layout layout)
Indicates whether the given dockable is minimized by default in the given
 layout. 
 | 
static boolean | 
isRaisedByDefault(Dockable dockable,
                 Layout layout)
Indicates whether the given dockable is raised by default in the given
 layout. 
 | 
static boolean | 
isShowingByDefault(Dockable dockable,
                  Layout layout)
Indicates whether the given dockable is showing by default in the given
 layout. 
 | 
static void | 
showDockableWindow(DockableView dw)
Shows and set the focus on the DockableView 
 | 
static void | 
smartToggleDockableWindow(DockableView dw,
                         Context context)
'Smart' Toggles the visibility of the DockableView. 
 | 
static void | 
toggleDockableWindow(DockableView dw)
Toggles the visibility of the DockableView 
 | 
public static void showDockableWindow(DockableView dw)
dw - the DockableViewpublic static void hideDockableWindow(DockableView dw)
dw - the DockableViewpublic static void toggleDockableWindow(DockableView dw)
dw - the DockableViewpublic static void smartToggleDockableWindow(DockableView dw, Context context)
toggleDockableWindow(oracle.ide.docking.DockableView).This behavior allows to use the same shortcut to access, to show and to hide the window.
dw - the DockableViewpublic static boolean isShowingByDefault(Dockable dockable, Layout layout)
dockable - the dockable to check.layout - the layout.true if the dockable is showing by default in the 
 layout, false otherwise.public static boolean isMinimizedByDefault(Dockable dockable, Layout layout)
dockable - the dockable to check.layout - the layout.true if the dockable is minimized by default in the 
 layout, false otherwise.public static boolean isRaisedByDefault(Dockable dockable, Layout layout)
dockable - the dockable to check.layout - the layout.true if the dockable is raised by default in the 
 layout, false otherwise.