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 void
addAreaListener(NavigationAreaListener listener)
void
addCockpitEventAcceptor(CockpitEventAcceptor acceptor)
void
addSection(Section section)
void
addSections(java.util.List<Section> sections)
java.lang.String
getHeaderURI()
java.util.List<NavigationAreaListener>
getListeners()
UICockpitPerspective
getManagingPerspective()
UICockpitPerspective
getPerspective()
SectionPanelModel
getSectionModel()
SectionRenderer
getSectionRenderer()
java.lang.String
getViewURI()
java.lang.String
getWidth()
abstract void
initialize(java.util.Map<java.lang.String,java.lang.Object> params)
Initializes this navigation area.boolean
isFocused()
void
onCockpitEvent(CockpitEvent event)
void
removeAllSections()
void
removeAreaListener(NavigationAreaListener listener)
void
removeCockpitEventAcceptor(CockpitEventAcceptor acceptor)
void
removeSection(Section section)
void
removeSections(java.util.Collection<Section> sections)
void
setFocus(boolean focus)
void
setHeaderURI(java.lang.String headerURI)
void
setPerspective(UICockpitPerspective perspective)
void
setSectionModel(SectionPanelModel sectionModel)
void
setSectionRenderer(SectionRenderer sectionRenderer)
void
setSections(java.util.List<Section> sections)
void
setViewURI(java.lang.String viewURI)
void
setWidth(java.lang.String width)
void
showAllSections()
abstract void
update()
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:
addAreaListener
in interfaceUINavigationArea
-
removeAreaListener
public void removeAreaListener(NavigationAreaListener listener)
- Specified by:
removeAreaListener
in interfaceUINavigationArea
-
getListeners
public java.util.List<NavigationAreaListener> getListeners()
-
setSectionModel
public void setSectionModel(SectionPanelModel sectionModel)
-
getSectionModel
public SectionPanelModel getSectionModel()
- Specified by:
getSectionModel
in interfaceUINavigationArea
-
getSectionRenderer
public SectionRenderer getSectionRenderer()
- Specified by:
getSectionRenderer
in interfaceUINavigationArea
-
setSectionRenderer
public void setSectionRenderer(SectionRenderer sectionRenderer)
-
setPerspective
public void setPerspective(UICockpitPerspective perspective)
- Specified by:
setPerspective
in interfaceUICockpitArea
-
getPerspective
public UICockpitPerspective getPerspective()
- Specified by:
getPerspective
in interfaceUICockpitArea
-
showAllSections
public void showAllSections()
- Specified by:
showAllSections
in interfaceUINavigationArea
-
getViewURI
public java.lang.String getViewURI()
- Specified by:
getViewURI
in interfaceUIComponent
-
setViewURI
public void setViewURI(java.lang.String viewURI)
-
getManagingPerspective
public UICockpitPerspective getManagingPerspective()
- Specified by:
getManagingPerspective
in interfaceFocusablePerspectiveArea
-
getHeaderURI
public java.lang.String getHeaderURI()
- Specified by:
getHeaderURI
in interfaceUINavigationArea
-
setHeaderURI
public void setHeaderURI(java.lang.String headerURI)
-
isFocused
public boolean isFocused()
- Specified by:
isFocused
in interfaceFocusablePerspectiveArea
-
setFocus
public void setFocus(boolean focus)
- Specified by:
setFocus
in interfaceFocusablePerspectiveArea
-
addSection
public void addSection(Section section)
- Specified by:
addSection
in interfaceUINavigationArea
-
addSections
public void addSections(java.util.List<Section> sections)
- Specified by:
addSections
in interfaceUINavigationArea
-
removeAllSections
public void removeAllSections()
- Specified by:
removeAllSections
in interfaceUINavigationArea
-
removeSection
public void removeSection(Section section)
- Specified by:
removeSection
in interfaceUINavigationArea
-
removeSections
public void removeSections(java.util.Collection<Section> sections)
- Specified by:
removeSections
in interfaceUINavigationArea
-
setSections
public void setSections(java.util.List<Section> sections)
- Specified by:
setSections
in interfaceUINavigationArea
-
addCockpitEventAcceptor
public void addCockpitEventAcceptor(CockpitEventAcceptor acceptor)
- Specified by:
addCockpitEventAcceptor
in interfaceCockpitEventProducer
-
removeCockpitEventAcceptor
public void removeCockpitEventAcceptor(CockpitEventAcceptor acceptor)
- Specified by:
removeCockpitEventAcceptor
in interfaceCockpitEventProducer
-
onCockpitEvent
public void onCockpitEvent(CockpitEvent event)
- Specified by:
onCockpitEvent
in 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:
initialize
in interfaceUICockpitArea
- Specified by:
initialize
in interfaceUIComponent
- See Also:
SectionPanelModel.initialize()
-
update
public abstract void update()
Updates this navigation area. Typically callsSectionPanelModel.update()
.- Specified by:
update
in interfaceUICockpitArea
- See Also:
SectionPanelModel.update()
-
setWidth
public void setWidth(java.lang.String width)
- Specified by:
setWidth
in interfaceUINavigationArea
-
getWidth
public java.lang.String getWidth()
- Specified by:
getWidth
in interfaceUINavigationArea
-
-