Class QuerySectionRenderer
- java.lang.Object
-
- de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
-
- de.hybris.platform.cockpit.components.navigationarea.renderer.QuerySectionRenderer
-
- All Implemented Interfaces:
SectionRenderer
public class QuerySectionRenderer extends AbstractNavigationAreaSectionRenderer
-
-
Constructor Summary
Constructors Constructor Description QuerySectionRenderer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
collectionRemoved(UIQuery query)
Checks if given query holds removed collectionprotected org.zkoss.zul.Separator
createSeparator()
protected DragAndDropWrapper
getDDWrapper()
static java.lang.String
getDefaultQueryName(UIQuery query)
BaseUICockpitNavigationArea
getNavigationArea()
void
refreshCockpit()
Refreshes cockpitvoid
render(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)
protected org.zkoss.zul.Div
renderNewCollectionDropArea()
-
Methods inherited from class de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
createBrowserItemTooltip, createList, getSectionPanelModel, setNavigationArea
-
-
-
-
Method Detail
-
getDefaultQueryName
public static java.lang.String getDefaultQueryName(UIQuery query)
- Returns:
- empty string if given query has unnamed name. query label otherwise
-
createSeparator
protected org.zkoss.zul.Separator createSeparator()
-
getDDWrapper
protected DragAndDropWrapper getDDWrapper()
-
renderNewCollectionDropArea
protected org.zkoss.zul.Div renderNewCollectionDropArea()
-
render
public void render(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)
- Specified by:
render
in interfaceSectionRenderer
- Specified by:
render
in classAbstractNavigationAreaSectionRenderer
-
getNavigationArea
public BaseUICockpitNavigationArea getNavigationArea()
- Overrides:
getNavigationArea
in classAbstractNavigationAreaSectionRenderer
- Returns:
- the navigationArea
-
collectionRemoved
public boolean collectionRemoved(UIQuery query)
Checks if given query holds removed collection
-
refreshCockpit
public void refreshCockpit()
Refreshes cockpit
-
-