public interface WorkbenchLayout
WorkbenchLayoutImpl that can be replaced
through the mechanism described in LayoutSelection.| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.HasWidgets |
getPerspectiveContainer()
Gives access to the element of the workbench that hosts perspective widgets.
|
com.google.gwt.user.client.ui.IsWidget |
getRoot()
Gives access to the root container element that will be attached to the
RootLayoutPanel. |
void |
maximize(com.google.gwt.user.client.ui.Widget w)
Makes the given widget fill the entire space normally dedicated to the perspective container.
|
void |
onBootstrap()
Will be invoked by the
Workbench
when the discovery of header and footer elements is completed. |
void |
onResize()
The
Workbench listens for resize events and hands them off
to the layout. |
void |
resizeTo(int width,
int height)
See
onResize() |
void |
setMarginWidgets(boolean isStandaloneMode,
Set<String> headersToKeep)
Will insert the implementations of Header and Footer in the Workbench
|
void |
unmaximize(com.google.gwt.user.client.ui.Widget w)
Restores a previously maximized widget to its original size and position.
|
com.google.gwt.user.client.ui.IsWidget getRoot()
RootLayoutPanel.com.google.gwt.user.client.ui.HasWidgets getPerspectiveContainer()
void onBootstrap()
Workbench
when the discovery of header and footer elements is completed.#setHeaderContents(java.util.List)},
#setFooterContents(java.util.List)}void onResize()
Workbench listens for resize events and hands them off
to the layout. Not needed if your layout is based on LayoutPanel's.
Kept for backwards compatibility.void resizeTo(int width,
int height)
onResize()width - height - void maximize(com.google.gwt.user.client.ui.Widget w)
Important: this feature is used by panels to maximize themselves. You should not pass a WorkbenchPanelView to this method yourself; instead, you should use the panel's own API to maximize it. You are free to use this method to maximize your own widgets that are not workbench panels.
w - the Widget to maximize.void unmaximize(com.google.gwt.user.client.ui.Widget w)
maximize(Widget).
Important: this feature is used by panels to unmaximize themselves. You should not pass a WorkbenchPanelView
to this method yourself; instead, you should use the panel's own API to unmaximize it. You are free to use this method
to unmaximize your own widgets that have previously been passed to maximize(Widget).
w - the Widget to restore to its original size and location.Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.