Class AbstractUINavigationArea
- java.lang.Object
-
- de.hybris.platform.cockpit.session.impl.AbstractUINavigationArea
-
- All Implemented Interfaces:
CockpitEventAcceptor,CockpitEventProducer,FocusablePerspectiveArea,UICockpitArea,UIComponent,UINavigationArea
- Direct Known Subclasses:
BaseUICockpitNavigationArea
public abstract class AbstractUINavigationArea extends java.lang.Object implements UINavigationArea
-
-
Constructor Summary
Constructors Constructor Description AbstractUINavigationArea()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddAreaListener(NavigationAreaListener listener)voidaddCockpitEventAcceptor(CockpitEventAcceptor acceptor)voidaddSection(Section section)voidaddSections(java.util.List<Section> sections)java.lang.StringgetHeaderURI()java.util.List<NavigationAreaListener>getListeners()UICockpitPerspectivegetManagingPerspective()UICockpitPerspectivegetPerspective()SectionPanelModelgetSectionModel()SectionRenderergetSectionRenderer()java.lang.StringgetViewURI()java.lang.StringgetWidth()abstract voidinitialize(java.util.Map<java.lang.String,java.lang.Object> params)Initializes this navigation area.booleanisFocused()voidonCockpitEvent(CockpitEvent event)voidremoveAllSections()voidremoveAreaListener(NavigationAreaListener listener)voidremoveCockpitEventAcceptor(CockpitEventAcceptor acceptor)voidremoveSection(Section section)voidremoveSections(java.util.Collection<Section> sections)voidsetFocus(boolean focus)voidsetHeaderURI(java.lang.String headerURI)voidsetPerspective(UICockpitPerspective perspective)voidsetSectionModel(SectionPanelModel sectionModel)voidsetSectionRenderer(SectionRenderer sectionRenderer)voidsetSections(java.util.List<Section> sections)voidsetViewURI(java.lang.String viewURI)voidsetWidth(java.lang.String width)voidshowAllSections()abstract voidupdate()Updates this navigation area.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.session.UIComponent
getLabel
-
Methods inherited from interface de.hybris.platform.cockpit.session.UINavigationArea
getDynamicQueryService, getObjectCollectionService, getSavedQueryService, getSelectedBrowserTask, getSelectedCollection, getSelectedDynamicQuery, getSelectedSavedQuery, getTypeService, resetContext, setSelectedBrowserTask, setSelectedQuery
-
-
-
-
Method Detail
-
addAreaListener
public void addAreaListener(NavigationAreaListener listener)
- Specified by:
addAreaListenerin interfaceUINavigationArea
-
removeAreaListener
public void removeAreaListener(NavigationAreaListener listener)
- Specified by:
removeAreaListenerin interfaceUINavigationArea
-
getListeners
public java.util.List<NavigationAreaListener> getListeners()
-
setSectionModel
public void setSectionModel(SectionPanelModel sectionModel)
-
getSectionModel
public SectionPanelModel getSectionModel()
- Specified by:
getSectionModelin interfaceUINavigationArea
-
getSectionRenderer
public SectionRenderer getSectionRenderer()
- Specified by:
getSectionRendererin interfaceUINavigationArea
-
setSectionRenderer
public void setSectionRenderer(SectionRenderer sectionRenderer)
-
setPerspective
public void setPerspective(UICockpitPerspective perspective)
- Specified by:
setPerspectivein interfaceUICockpitArea
-
getPerspective
public UICockpitPerspective getPerspective()
- Specified by:
getPerspectivein interfaceUICockpitArea
-
showAllSections
public void showAllSections()
- Specified by:
showAllSectionsin interfaceUINavigationArea
-
getViewURI
public java.lang.String getViewURI()
- Specified by:
getViewURIin interfaceUIComponent
-
setViewURI
public void setViewURI(java.lang.String viewURI)
-
getManagingPerspective
public UICockpitPerspective getManagingPerspective()
- Specified by:
getManagingPerspectivein interfaceFocusablePerspectiveArea
-
getHeaderURI
public java.lang.String getHeaderURI()
- Specified by:
getHeaderURIin interfaceUINavigationArea
-
setHeaderURI
public void setHeaderURI(java.lang.String headerURI)
-
isFocused
public boolean isFocused()
- Specified by:
isFocusedin interfaceFocusablePerspectiveArea
-
setFocus
public void setFocus(boolean focus)
- Specified by:
setFocusin interfaceFocusablePerspectiveArea
-
addSection
public void addSection(Section section)
- Specified by:
addSectionin interfaceUINavigationArea
-
addSections
public void addSections(java.util.List<Section> sections)
- Specified by:
addSectionsin interfaceUINavigationArea
-
removeAllSections
public void removeAllSections()
- Specified by:
removeAllSectionsin interfaceUINavigationArea
-
removeSection
public void removeSection(Section section)
- Specified by:
removeSectionin interfaceUINavigationArea
-
removeSections
public void removeSections(java.util.Collection<Section> sections)
- Specified by:
removeSectionsin interfaceUINavigationArea
-
setSections
public void setSections(java.util.List<Section> sections)
- Specified by:
setSectionsin interfaceUINavigationArea
-
addCockpitEventAcceptor
public void addCockpitEventAcceptor(CockpitEventAcceptor acceptor)
- Specified by:
addCockpitEventAcceptorin interfaceCockpitEventProducer
-
removeCockpitEventAcceptor
public void removeCockpitEventAcceptor(CockpitEventAcceptor acceptor)
- Specified by:
removeCockpitEventAcceptorin interfaceCockpitEventProducer
-
onCockpitEvent
public void onCockpitEvent(CockpitEvent event)
- Specified by:
onCockpitEventin interfaceCockpitEventAcceptor
-
initialize
public abstract void initialize(java.util.Map<java.lang.String,java.lang.Object> params)
Initializes this navigation area. Typically callsSectionPanelModel.initialize().- Specified by:
initializein interfaceUICockpitArea- Specified by:
initializein interfaceUIComponent- See Also:
SectionPanelModel.initialize()
-
update
public abstract void update()
Updates this navigation area. Typically callsSectionPanelModel.update().- Specified by:
updatein interfaceUICockpitArea- See Also:
SectionPanelModel.update()
-
setWidth
public void setWidth(java.lang.String width)
- Specified by:
setWidthin interfaceUINavigationArea
-
getWidth
public java.lang.String getWidth()
- Specified by:
getWidthin interfaceUINavigationArea
-
-