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.BrowserFocusDiv
COCKPIT_ID_BROWSERAREA_ITEMS_TOTAL, desktopInvalid, DND_ID, mainBorderlayout, viewModeMapping
captionComponent, 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(String label,
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, updateViewMode
cleanup, detach, getActionConfiguration, getCaptionComponent, getContentBrowserComponent, getContextAreaComponent, getDDWrapper, getFocusComponent, getMainAreaComponent, getToolbarComponent, isActiveWhenUnfocused, isInitialized, setActiveWhenUnfocused, setContentBrowserComponent, setFocus, setFocusComponent, setParent, setRealSclass, setSclass, updateItem
public EditorFactory getEditorFactory()
public boolean update()
AbstractContentBrowser
update
in class DefaultAdvancedContentBrowser
true
if this browser was successfully updated, false
otherwiseprotected void updatePreviewContextSection()
public void fireModeChanged()
public void firePreviewDataModeChanged()
public void setModel(BrowserModel model)
setModel
in class DefaultAdvancedContentBrowser
protected AbstractBrowserComponent createMainAreaComponent()
DefaultAdvancedContentBrowser
AbstractMainAreaBrowserComponent
instance.createMainAreaComponent
in class DefaultAdvancedContentBrowser
protected AbstractBrowserComponent createCaptionComponent()
DefaultAdvancedContentBrowser
CaptionBrowserComponent
instance.createCaptionComponent
in class DefaultAdvancedContentBrowser
protected TypeService getTypeService()
protected void updatePreviewData()
protected Button createRightCaptionButton(String label, 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 © 2000-2016 hybris AG. All Rights Reserved.