Class CmsPageMainAreaPreviewComponentFactory
java.lang.Object
de.hybris.platform.cmscockpit.components.contentbrowser.CmsPageMainAreaPreviewComponentFactory
- All Implemented Interfaces:
ContextAwareMainAreaComponentFactory,MainAreaComponentFactory
public class CmsPageMainAreaPreviewComponentFactory
extends Object
implements ContextAwareMainAreaComponentFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser) protected TypeServicebooleanbooleanisAvailable(BrowserModel browserModel) protected LiveEditViewnewDefaultLiveEditView(DefaultLiveEditViewModel liveEditViewModel) Hook for custom LiveEditViewprotected DefaultLiveEditViewModelHook for custom DefaultLiveEditViewModelprotected voidopenPreviewInNewTab(String previewUrl)
-
Field Details
-
HYBRIS_PREVIEW_TAB_NAME
- See Also:
-
VIEWMODE_ID
- See Also:
-
PREVIEW_FRAME_KEY
- See Also:
-
-
Constructor Details
-
CmsPageMainAreaPreviewComponentFactory
-
-
Method Details
-
openPreviewInNewTab
-
createInstance
public AbstractMainAreaBrowserComponent createInstance(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser) - Specified by:
createInstancein interfaceMainAreaComponentFactory
-
newDefaultLiveEditViewModel
Hook for custom DefaultLiveEditViewModel -
newDefaultLiveEditView
Hook for custom LiveEditView -
getActiveButtonImage
- Specified by:
getActiveButtonImagein interfaceMainAreaComponentFactory
-
getButtonLabel
- Specified by:
getButtonLabelin interfaceMainAreaComponentFactory
-
getButtonTooltip
- Specified by:
getButtonTooltipin interfaceMainAreaComponentFactory
-
getInactiveButtonImage
- Specified by:
getInactiveButtonImagein interfaceMainAreaComponentFactory
-
getViewModeID
- Specified by:
getViewModeIDin interfaceMainAreaComponentFactory- Returns:
- the unique viewmode id
-
isAvailable
- Specified by:
isAvailablein interfaceContextAwareMainAreaComponentFactory
-
getTypeService
-
getWrappedCurrentPageModel
-
hasOwnModel
public boolean hasOwnModel()- Specified by:
hasOwnModelin interfaceContextAwareMainAreaComponentFactory
-