public class LiveEditContentBrowser extends DefaultAdvancedContentBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
LiveEditContentBrowser.ActivateLiveEditCaptionButtonHandler |
class |
LiveEditContentBrowser.DefaultLiveEditCaptionComponent |
class |
LiveEditContentBrowser.DefaultLiveEditMainAreaComponent |
static class |
LiveEditContentBrowser.PageEditLiveEditCaptionButtonHandler |
static class |
LiveEditContentBrowser.PreviewContextLiveEditCaptionButtonHandler |
AbstractContentBrowser.BrowserFocusDivCOCKPIT_ID_BROWSERAREA_ITEMS_TOTAL, desktopInvalid, DND_ID, mainBorderlayout, viewModeMappingcaptionComponent, CONTENT_BROWSER_CHANGE, contextAreaComponent, DEFAULT_OVERLAY_SCLASS, DEFAULT_SCLASS, FOCUSED_OVERLAY_SCLASS, FOCUSED_SCLASS, initialized, mainAreaComponent, statusBar, toolbarComponent| Constructor and Description |
|---|
LiveEditContentBrowser() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBrowserComponent |
createCaptionComponent()
Creates and returns the caption component of this content browser.
|
protected AbstractBrowserComponent |
createMainAreaComponent()
Creates and returns the main area component of this content browser.
|
protected Button |
createRightCaptionButton(java.lang.String label,
java.lang.String sClass,
HtmlBasedComponent parent,
org.zkoss.zk.ui.event.EventListener listener) |
void |
fireModeChanged()
Called whenever user change the live edit mode.
|
void |
firePreviewDataModeChanged() |
protected CMSAdminSiteService |
getCmsAdminSiteService() |
protected CmsCockpitService |
getCmsCockpitService() |
protected CMSPreviewService |
getCmsPreviewService() |
EditorFactory |
getEditorFactory() |
protected SessionService |
getSessionService() |
protected TypeService |
getTypeService() |
protected UserService |
getUserService() |
void |
setCmsCockpitService(CmsCockpitService cmsCockpitService) |
void |
setModel(BrowserModel model) |
boolean |
update()
Updates this content browser i.e.
|
protected void |
updateAfterChangedUrl(CmsUrlChangeEvent cmsUrlChangeEvent) |
protected void |
updatePreviewContextSection() |
protected void |
updatePreviewData() |
createContextAreaComponent, createCustomPager, createDefaultViewModeComponent, createPageSizeCombobox, createToolbarComponent, currentViewHasOwnModel, desktopRemoved, getDefaultPagingMold, getModel, getViewModes, initialize, resize, showContextArea, updateActivation, updateActiveItems, updateCaption, updateContextArea, updateContextArea, updateItem, updateMainArea, updateSelectedItems, updateStatusBar, updateToolbar, updateViewModecleanup, detach, getActionConfiguration, getCaptionComponent, getContentBrowserComponent, getContextAreaComponent, getDDWrapper, getFocusComponent, getMainAreaComponent, getToolbarComponent, isActiveWhenUnfocused, isInitialized, setActiveWhenUnfocused, setContentBrowserComponent, setFocus, setFocusComponent, setParent, setRealSclass, setSclass, updateItempublic EditorFactory getEditorFactory()
public boolean update()
AbstractContentBrowserupdate in class DefaultAdvancedContentBrowsertrue if this browser was successfully updated, false otherwiseprotected void updatePreviewContextSection()
public void fireModeChanged()
public void firePreviewDataModeChanged()
public void setModel(BrowserModel model)
setModel in class DefaultAdvancedContentBrowserprotected AbstractBrowserComponent createMainAreaComponent()
DefaultAdvancedContentBrowserAbstractMainAreaBrowserComponent instance.createMainAreaComponent in class DefaultAdvancedContentBrowserprotected AbstractBrowserComponent createCaptionComponent()
DefaultAdvancedContentBrowserCaptionBrowserComponent instance.createCaptionComponent in class DefaultAdvancedContentBrowserprotected TypeService getTypeService()
protected void updatePreviewData()
protected Button createRightCaptionButton(java.lang.String label,
java.lang.String sClass,
HtmlBasedComponent parent,
org.zkoss.zk.ui.event.EventListener listener)
protected void updateAfterChangedUrl(CmsUrlChangeEvent cmsUrlChangeEvent)
protected CMSPreviewService getCmsPreviewService()
protected CMSAdminSiteService getCmsAdminSiteService()
protected UserService getUserService()
protected SessionService getSessionService()
protected CmsCockpitService getCmsCockpitService()
public void setCmsCockpitService(CmsCockpitService cmsCockpitService)
Copyright © 2018 SAP SE. All Rights Reserved.