Class AbstractWorkbenchDocksHandler
- java.lang.Object
-
- org.kie.workbench.common.widgets.client.docks.AbstractWorkbenchDocksHandler
-
- All Implemented Interfaces:
WorkbenchDocksHandler
public abstract class AbstractWorkbenchDocksHandler extends Object implements WorkbenchDocksHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractWorkbenchDocksHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.uberfire.mvp.Command updateDocksCommand)Initializes the handler with the callbackCommand.protected voidrefreshDocks(boolean shouldRefresh, boolean shouldDisable)booleanshouldDisableDocks()Determines if the docks should be disabled or notbooleanshouldRefreshDocks()Determines if the docks should be refreshed or not.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.workbench.common.widgets.client.docks.WorkbenchDocksHandler
provideDocks
-
-
-
-
Method Detail
-
init
public void init(org.uberfire.mvp.Command updateDocksCommand)
Description copied from interface:WorkbenchDocksHandlerInitializes the handler with the callbackCommand. ThisCommandwill be executed any time the docks must be refreshed- Specified by:
initin interfaceWorkbenchDocksHandler
-
shouldRefreshDocks
public boolean shouldRefreshDocks()
Description copied from interface:WorkbenchDocksHandlerDetermines if the docks should be refreshed or not.- Specified by:
shouldRefreshDocksin interfaceWorkbenchDocksHandler
-
shouldDisableDocks
public boolean shouldDisableDocks()
Description copied from interface:WorkbenchDocksHandlerDetermines if the docks should be disabled or not- Specified by:
shouldDisableDocksin interfaceWorkbenchDocksHandler
-
refreshDocks
protected void refreshDocks(boolean shouldRefresh, boolean shouldDisable)
-
-