Class LiveSiteSectionSelectorSection
java.lang.Object
de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
de.hybris.platform.cmscockpit.components.sectionpanel.LiveSiteSectionSelectorSection
- All Implemented Interfaces:
SectionSelectorSection,SelectorSection,Section,CockpitEventAcceptor
Section represents CMSSite selector for Live Edit Perspective. It is responsible for choosing particular
CMSSite in navigation area.
Note:
This is counterpart of
This is counterpart of
SiteSectionSelectorSection that is used within WCMS Page Perspective. Important
thing: sections aren't synchronized between each other (works independently)- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
multiselect, parentSection, relatedObject, relatedObjects, subSectionsFields inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
selectedItems -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidChecks whether something is activated within Editor Area if so then we deselect this value and close Editor Areaprotected CMSAdminSiteServiceprotected CmsCockpitServicegetItems()Returns this selector's items.protected TypeServiceprotected voidInforms CMS about changes made by uservoidonCockpitEvent(CockpitEvent event) voidFires when selection was changedvoidsetCmsAdminSiteService(CMSAdminSiteService siteService) voidsetCmsCockpitService(CmsCockpitService cmsCockpitService) voidMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
addToRelatedObjects, clear, disable, disableSubSections, enable, enableSubSections, getParentSection, getRelatedObject, getRelatedObjects, getRootSection, getSubSections, isMultiselect, isSubSectionsVisible, refreshView, removeToRelatedObjects, setMultiselect, setParentSection, setRelatedObject, setRelatedObjects, setSubSectionsMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
getNavigationAreaModel, getRenderer, getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, setInitiallySelected, setItems, setMultiple, setNavigationAreaModel, setSelectedItem, setSelectedItems, setSelectedItemsDirectly, wrapItemsMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
getAttribute, getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setAttribute, setLabel, setLocalizedLabel, setOpen, setRenderer, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.components.sectionpanel.Section
getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setOpenMethods inherited from interface de.hybris.platform.cockpit.components.navigationarea.SelectorSection
getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, setInitiallySelected, setItems, setMultiple, setSelectedItem, setSelectedItems, setSelectedItemsDirectly
-
Constructor Details
-
LiveSiteSectionSelectorSection
public LiveSiteSectionSelectorSection()
-
-
Method Details
-
selectionChanged
public void selectionChanged()Fires when selection was changed Note:
Informs CMS about current selected objects, and refreshes proper view- Specified by:
selectionChangedin interfaceSelectorSection- Overrides:
selectionChangedin classDefaultSectionSelectorSection
-
getItems
Returns this selector's items. Note: Items and selected items are implicitly loaded the first time this method is called.- Specified by:
getItemsin interfaceSelectorSection- Overrides:
getItemsin classAbstractSelectorSection- Returns:
- this selector's items
- See Also:
-
updateItems
public void updateItems()- Overrides:
updateItemsin classDefaultSectionSelectorSection
-
onCockpitEvent
- Specified by:
onCockpitEventin interfaceCockpitEventAcceptor- Overrides:
onCockpitEventin classAbstractSelectorSection
-
closeEditorArea
protected void closeEditorArea()Checks whether something is activated within Editor Area if so then we deselect this value and close Editor Area -
informCmsAboutCurrentSiteChanged
protected void informCmsAboutCurrentSiteChanged()Informs CMS about changes made by user Note:
Informs about chosen CMSSite -
setCmsAdminSiteService
-
getCmsAdminSiteService
-
getTypeService
-
getCmsCockpitService
-
setCmsCockpitService
-