public class CmsBrokenLinksPanel
extends com.google.gwt.user.client.ui.Composite
| 限定符和类型 | 类和说明 |
|---|---|
protected static interface |
CmsBrokenLinksPanel.I_CmsBrokenLinksPanelUiBinder
The UiBinder interface.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected CmsPushButton |
m_backButton
The button which makes the publish dialog go back to the "resource selection" state.
|
protected CmsPushButton |
m_cancelButton
The button which cancels the publish dialog.
|
protected com.google.gwt.user.client.ui.Label |
m_label
The text shown above the resource panel.
|
protected CmsList<CmsTreeItem> |
m_list
The list containing the resource widgets representing broken links.
|
protected CmsScrollPanel |
m_scrollPanel
The scroll panel containing the group panel.
|
| 构造器和说明 |
|---|
CmsBrokenLinksPanel(CmsPublishDialog publishDialog,
int scrollPanelHeight)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CmsListItemWidget |
addEntry(CmsPublishResource res)
Adds a resource bean to be displayed.
|
protected void |
doClickBack(com.google.gwt.event.dom.client.ClickEvent e)
The event handler for the back button.
|
protected void |
doClickCancel(com.google.gwt.event.dom.client.ClickEvent e)
The event handler for the cancel button.
|
protected void |
executeAction(CmsWorkflowAction action)
Executes the given action.
|
java.util.List<CmsPushButton> |
getButtons()
Returns the buttons which should be shown in the publish dialog's button panel.
|
void |
setEntries(java.util.Collection<CmsPublishResource> resourceBeans,
java.util.List<CmsWorkflowAction> actions)
Sets the resources to be displayed.
|
void |
updateTitle()
Updates the dialog title.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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@UiField protected CmsPushButton m_backButton
@UiField protected CmsPushButton m_cancelButton
@UiField protected com.google.gwt.user.client.ui.Label m_label
@UiField protected CmsList<CmsTreeItem> m_list
@UiField protected CmsScrollPanel m_scrollPanel
public CmsBrokenLinksPanel(CmsPublishDialog publishDialog, int scrollPanelHeight)
publishDialog - the publish dialog to which this broken links panel belongs.scrollPanelHeight - the available scroll panel heightpublic CmsListItemWidget addEntry(CmsPublishResource res)
res - a resource beanpublic java.util.List<CmsPushButton> getButtons()
public void setEntries(java.util.Collection<CmsPublishResource> resourceBeans, java.util.List<CmsWorkflowAction> actions)
resourceBeans - the resource beans to be displayedactions - the available actionspublic void updateTitle()
@UiHandler(value="m_backButton") protected void doClickBack(com.google.gwt.event.dom.client.ClickEvent e)
e - the click event@UiHandler(value="m_cancelButton") protected void doClickCancel(com.google.gwt.event.dom.client.ClickEvent e)
e - the click eventprotected void executeAction(CmsWorkflowAction action)
action - the action to execute on the selected resources