Interface UberfireDocks
-
public interface UberfireDocksUberfire Dock Support
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(UberfireDock... docks)Adds aUberfireDockto UberfireDocks.voidclose(UberfireDock dock)Close aUberfireDockfrom a given perspective.voidhide(UberfireDockPosition position, String perspectiveName)Hides the docks bar associated withUberfireDockPositionfor a given perspective.voidopen(UberfireDock dock)Open aUberfireDockfrom a given perspective.voidremove(UberfireDock... docks)Removes aUberfireDockfrom UberfireDocks.voidshow(UberfireDockPosition position, String perspectiveName)Shows the docks bar associated withUberfireDockPositionfor a given perspective.voidtoggle(UberfireDock dock)Toggle aUberfireDockfrom a given perspective.
-
-
-
Method Detail
-
add
void add(UberfireDock... docks)
Adds aUberfireDockto UberfireDocks. EachUberfireDockis displayed after the associated Perspective is loaded.- Parameters:
docks- one or more docks to be added.
-
remove
void remove(UberfireDock... docks)
Removes aUberfireDockfrom UberfireDocks.- Parameters:
docks- one or more docks to be added.
-
open
void open(UberfireDock dock)
Open aUberfireDockfrom a given perspective. This opens thePlaceRequestassociated with the given dock on the docks panel.- Parameters:
dock- that will be selected.
-
close
void close(UberfireDock dock)
Close aUberfireDockfrom a given perspective. This closes thePlaceRequestassociated with the given dock and the docks panel.- Parameters:
dock- that will be deselected.
-
toggle
void toggle(UberfireDock dock)
Toggle aUberfireDockfrom a given perspective. Switch from open/close a dock- Parameters:
dock- that will be deselected.
-
hide
void hide(UberfireDockPosition position, String perspectiveName)
Hides the docks bar associated withUberfireDockPositionfor a given perspective.- Parameters:
position- the dock position that will be hidden.perspectiveName- pespective that the dock will be hidden.
-
show
void show(UberfireDockPosition position, String perspectiveName)
Shows the docks bar associated withUberfireDockPositionfor a given perspective.- Parameters:
position- the dock position that will be shown.perspectiveName- perspective that the dock will be shown.
-
-