Class BaseUICockpitNavigationArea
- java.lang.Object
-
- de.hybris.platform.cockpit.session.impl.AbstractUINavigationArea
-
- de.hybris.platform.cockpit.session.impl.BaseUICockpitNavigationArea
-
- All Implemented Interfaces:
CockpitEventAcceptor
,CockpitEventProducer
,FocusablePerspectiveArea
,UICockpitArea
,UIComponent
,UINavigationArea
- Direct Known Subclasses:
AdminBundleCockpitNavigationArea
,AdmincockpitNavigationArea
,CatalogNavigationArea
,ImportCockpitNavigationArea
,NavigationArea
,SubscriptionbundlecockpitsNavigationArea
,UrlNavigationArea
public class BaseUICockpitNavigationArea extends AbstractUINavigationArea
-
-
Constructor Summary
Constructors Constructor Description BaseUICockpitNavigationArea()
-
Method Summary
-
Methods inherited from class de.hybris.platform.cockpit.session.impl.AbstractUINavigationArea
addAreaListener, addCockpitEventAcceptor, addSection, addSections, getHeaderURI, getListeners, getManagingPerspective, getPerspective, getSectionModel, getSectionRenderer, getViewURI, getWidth, isFocused, removeAllSections, removeAreaListener, removeCockpitEventAcceptor, removeSection, removeSections, setFocus, setHeaderURI, setPerspective, setSectionRenderer, setSections, setViewURI, setWidth, showAllSections
-
-
-
-
Method Detail
-
getSelectedBrowserTask
public BrowserModel getSelectedBrowserTask()
-
setSelectedBrowserTask
public void setSelectedBrowserTask(BrowserModel browserModel)
-
fireBrowserTaskSelected
protected void fireBrowserTaskSelected()
-
initialize
public void initialize(java.util.Map<java.lang.String,java.lang.Object> params)
Initializes this navigation area by callingSectionPanelModel.initialize()
.- Specified by:
initialize
in interfaceUICockpitArea
- Specified by:
initialize
in interfaceUIComponent
- Specified by:
initialize
in classAbstractUINavigationArea
- See Also:
SectionPanelModel.initialize()
-
update
public void update()
Updates this navigation area by callingupdateContentSlotContainer()
,updateInfoSlotContainer()
andSectionPanelModel.update()
.- Specified by:
update
in interfaceUICockpitArea
- Specified by:
update
in classAbstractUINavigationArea
- See Also:
AbstractUINavigationArea.update()
-
setSectionModel
public void setSectionModel(SectionPanelModel sectionModel)
- Overrides:
setSectionModel
in classAbstractUINavigationArea
-
updateContentSlotContainer
public void updateContentSlotContainer()
-
updateInfoSlotContainer
public void updateInfoSlotContainer()
-
setContentSlotContainer
public void setContentSlotContainer(org.zkoss.zk.ui.HtmlBasedComponent contentSlotContainer)
-
getContentSlotContainer
public org.zkoss.zk.ui.HtmlBasedComponent getContentSlotContainer()
-
setInfoSlotContainer
public void setInfoSlotContainer(org.zkoss.zk.ui.HtmlBasedComponent infoSlotContainer)
-
getInfoSlotContainer
public org.zkoss.zk.ui.HtmlBasedComponent getInfoSlotContainer()
-
setContentSlotRenderer
public void setContentSlotRenderer(SimpleRenderer contentSlotRenderer)
-
getContentSlotRenderer
public SimpleRenderer getContentSlotRenderer()
-
getInfoSlotRenderer
public SimpleRenderer getInfoSlotRenderer()
-
setInfoSlotRenderer
public void setInfoSlotRenderer(SimpleRenderer infoSlotRenderer)
-
getContentSlotLabel
public java.lang.String getContentSlotLabel()
-
setContentSlotLabel
public void setContentSlotLabel(java.lang.String contentSlotLabel)
-
setContentSlotI3Label
public void setContentSlotI3Label(java.lang.String contentSlotLabel)
-
getInfoSlotLabel
public java.lang.String getInfoSlotLabel()
-
setInfoSlotLabel
public void setInfoSlotLabel(java.lang.String infoSlotLabel)
-
setInfoSlotI3Label
public void setInfoSlotI3Label(java.lang.String infoSlotLabel)
-
getInfoSlotAttachmentTypes
public java.util.List<java.lang.String> getInfoSlotAttachmentTypes()
-
setInfoSlotAttachmentTypes
public void setInfoSlotAttachmentTypes(java.util.List<java.lang.String> infoSlotAttachmentTypes)
-
setSelectedQuery
public void setSelectedQuery(UIQuery query)
-
setSelectedQuery
public void setSelectedQuery(UIQuery query, boolean doubleClicked)
-
setSelectedSavedQuery
public void setSelectedSavedQuery(UISavedQuery query, boolean doubleClicked)
-
setSelectedCollection
public void setSelectedCollection(UICollectionQuery selectedCollection, boolean doubleClicked)
-
setSelectedDynamicQuery
public void setSelectedDynamicQuery(UIDynamicQuery selectedDynamicQuery, boolean doubleClicked)
-
getSelectedSavedQuery
public UISavedQuery getSelectedSavedQuery()
-
getSelectedDynamicQuery
public UIDynamicQuery getSelectedDynamicQuery()
-
getSelectedCollection
public UICollectionQuery getSelectedCollection()
-
clearQuerySelection
protected void clearQuerySelection()
-
fireSavedQueryDoubleClicked
protected void fireSavedQueryDoubleClicked()
-
fireDynamicQueryDoubleClicked
protected void fireDynamicQueryDoubleClicked()
-
fireCollectionDoubleClicked
protected void fireCollectionDoubleClicked()
-
fireSavedQuerySelected
protected void fireSavedQuerySelected()
-
fireDynamicQuerySelected
protected void fireDynamicQuerySelected()
-
fireCollectionSelected
protected void fireCollectionSelected()
-
fireCollectionChanged
protected void fireCollectionChanged(ObjectCollection collection)
-
fireSavedQueryChanged
protected void fireSavedQueryChanged(CockpitSavedQueryModel query)
-
fireCollectionAdded
protected void fireCollectionAdded(ObjectCollection collection)
-
addToCollection
public int addToCollection(TypedObject item, UICollectionQuery collection, boolean multiDrag)
-
getTypeService
public TypeService getTypeService()
-
setCockpitTypeService
public void setCockpitTypeService(TypeService typeService)
-
setObjectCollectionService
public void setObjectCollectionService(ObjectCollectionService objectCollectionService)
-
getObjectCollectionService
public ObjectCollectionService getObjectCollectionService()
-
setSavedQueryService
public void setSavedQueryService(SavedQueryService savedQueryService)
-
setUiComponentCache
public void setUiComponentCache(UIComponentCache uiComponentCache)
- Parameters:
uiComponentCache
- the uiComponentCache to set
-
setUiConfigurationService
public void setUiConfigurationService(UIConfigurationService uiConfigurationService)
-
setModelService
public void setModelService(ModelService modelService)
-
getSavedQueryService
public SavedQueryService getSavedQueryService()
-
setDynamicQueryService
public void setDynamicQueryService(DynamicQueryService dynamicQueryService)
-
getDynamicQueryService
public DynamicQueryService getDynamicQueryService()
-
removeQuery
public void removeQuery(UIQuery query)
-
renameCollection
public void renameCollection(UICollectionQuery query, java.lang.String label)
-
publishCollection
public void publishCollection(UICollectionQuery query)
-
renameSavedQuery
public void renameSavedQuery(UISavedQuery query, java.lang.String label)
-
publishSavedQuery
public void publishSavedQuery(UISavedQuery query)
-
duplicateQuery
public void duplicateQuery(UIQuery query)
-
getSelectedIndex
public java.lang.Integer getSelectedIndex(java.lang.String type)
-
setSelectedIndex
public void setSelectedIndex(java.lang.String type, int selectedIndex)
-
clearSelectedIndexes
public void clearSelectedIndexes()
-
handlePasteOperation
public void handlePasteOperation(java.lang.String rawContent, UICollectionQuery collection)
Base implementation does not implement paste operation. Implement method in subclasses, for this functionality- Parameters:
rawContent
-collection
-
-
resetContext
public void resetContext()
-
getLabel
public java.lang.String getLabel()
-
isPushInfoBox
public boolean isPushInfoBox()
-
setPushInfoBox
public void setPushInfoBox(boolean pushInfoBox)
-
setPushInfoBoxEventClassName
public void setPushInfoBoxEventClassName(java.lang.String evtClassName)
-
getPushInfoBoxEventClassName
public java.lang.String getPushInfoBoxEventClassName()
-
onCockpitEvent
public void onCockpitEvent(CockpitEvent event)
- Specified by:
onCockpitEvent
in interfaceCockpitEventAcceptor
- Overrides:
onCockpitEvent
in classAbstractUINavigationArea
-
-