public interface ListBarWidget extends MultiPartWidget
AbstractSimpleWorkbenchPanelView and
MultiListWorkbenchPanelView. Each application needs exactly one implementation of this class at compile time
(usually this will come from the view module). The implementing type must be a Dependent-scoped CDI bean.| Modifier and Type | Field and Description |
|---|---|
static String |
DEBUG_TITLE_PREFIX
When a part is added to the list bar, a special title widget is created for it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableClosePart()
Disable support to close parts.
|
void |
disableDnd()
Disable this list bar's to support drag and drop.
|
void |
enableClosePart()
Enable support to close parts.
|
void |
enableDnd()
Enable this list bar's to support drag and drop.
|
MaximizeToggleButtonPresenter |
getMaximizeButton()
Returns the toggle button, which is initially hidden, that can be used to trigger maximizing and unmaximizing
of the panel containing this list bar.
|
boolean |
isDndEnabled() |
addOnFocusHandler, addPart, changeTitle, clear, getParts, getPartsSize, remove, selectPart, setDndManager, setFocus, setPresenteraddBeforeSelectionHandlerstatic final String DEBUG_TITLE_PREFIX
Widget.ensureDebugId() call. The debug ID must have the form
DEBUG_ID_PREFIX + DEBUG_TITLE_PREFIX + partName.
Note that debug IDs are only assigned when the app inherits the GWT Debug module. See
UIObject.ensureDebugId(com.google.gwt.dom.client.Element, String) for details.
void enableDnd()
void disableDnd()
MaximizeToggleButtonPresenter getMaximizeButton()
UIObject.setVisible(boolean)
and set its maximize and unmaximize actions with MaximizeToggleButtonPresenter.setMaximizeCommand(Command) and
MaximizeToggleButtonPresenter.setUnmaximizeCommand(Command).boolean isDndEnabled()
void enableClosePart()
void disableClosePart()
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.