public class CmsPublishGroupPanel
extends com.google.gwt.user.client.ui.Composite
限定符和类型 | 字段和说明 |
---|---|
protected static I_CmsPublishCss |
CSS
The CSS bundle used for this widget.
|
protected int |
m_groupIndex
The group index for this panel's corresponding group.
|
protected CmsPublishDataModel |
m_model
The data model for the publish dialog.
|
protected I_CmsPublishSelectionChangeHandler |
m_selectionChangeHandler
The handler which is called when the publish item selection changes.
|
构造器和说明 |
---|
CmsPublishGroupPanel(CmsPublishGroup publishGroup,
java.lang.String title,
int groupIndex,
I_CmsPublishSelectionChangeHandler selectionChangeHandler,
CmsPublishDataModel model,
java.util.Map<CmsUUID,org.opencms.ade.publish.client.CmsPublishItemSelectionController> controllersById,
boolean showProblemsOnly)
Constructs a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
addNextItem()
Adds the list item for the next publish resource and returns true on success, while
also incrementing the internal item index.
|
static CmsListItemWidget |
createListItemWidget(CmsPublishResource resourceBean)
Creates a basic list item widget for a given publish resource bean.
|
boolean |
hasMoreItems()
Returns true if there are more potential items to add.
|
protected boolean |
hasNoProblemResources()
Returns true if the corresponding group has no resources with problems.
|
protected boolean |
hasOnlyProblemResources()
Returns true if the corresponding group has only resources with problems.
|
void |
hideGroupSelectCheckBox()
Hides the tri-state select box for the group.
|
void |
updateCheckboxState(CmsPublishItemStateSummary value)
Updates the check box state for this group.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
protected static final I_CmsPublishCss CSS
protected int m_groupIndex
protected CmsPublishDataModel m_model
protected I_CmsPublishSelectionChangeHandler m_selectionChangeHandler
public CmsPublishGroupPanel(CmsPublishGroup publishGroup, java.lang.String title, int groupIndex, I_CmsPublishSelectionChangeHandler selectionChangeHandler, CmsPublishDataModel model, java.util.Map<CmsUUID,org.opencms.ade.publish.client.CmsPublishItemSelectionController> controllersById, boolean showProblemsOnly)
publishGroup
- the group for which to build the group paneltitle
- the title of the groupgroupIndex
- the index of the group which this panel should renderselectionChangeHandler
- the handler for selection changes for publish resourcesmodel
- the data model for the publish resourcescontrollersById
- the map of selection controllers to which this panel's selection controllers should be addedshowProblemsOnly
- if true, sets this panel into "show resources with problems only" modepublic static CmsListItemWidget createListItemWidget(CmsPublishResource resourceBean)
resourceBean
- the publish resource beanpublic boolean addNextItem()
public boolean hasMoreItems()
public void hideGroupSelectCheckBox()
public void updateCheckboxState(CmsPublishItemStateSummary value)
value
- the state to use for updating the check boxprotected boolean hasNoProblemResources()
protected boolean hasOnlyProblemResources()