Class AbstractEditorSectionRenderer
java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,T,K>
com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection,K>
com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaSectionRenderer<Object>
de.hybris.platform.rulebuilderbackoffice.editors.AbstractEditorSectionRenderer
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection, Object> com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection, Object>
- Direct Known Subclasses:
ActionsEditorSectionRenderer,ConditionsEditorSectionRenderer
public abstract class AbstractEditorSectionRenderer
extends com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaSectionRenderer<Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer
ATTR_NOT_SAVED_OBJECT, attributeDescriptionIconRenderer, CURRENT_OBJECT, CURRENT_OBJECT_DOTLESS, DEFAULT_ENCRYPTED_EDITOR, MISSING_RENDERER_ERROR_MSG, SCLASS_CELL_READ_RESTRICTED, SCLASS_CUSTOM_CONTAINER, SCLASS_DESCRIPTION, SCLASS_DESCRIPTION_LABEL, SCLASS_EDITOR, SCLASS_EDITOR_CONTAINER, SCLASS_LABEL, SCLASS_READONLY_EDITOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillParameters(Object model, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, Map<Object, Object> parameters) protected abstract Stringprotected abstract Stringprotected Stringvoidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection section, Object model, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected voidsetCurrentPageForRoot(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.Page page) voidsetEditorViewModelClass(String editorViewModelClass) voidsetModelService(ModelService modelService) voidsetRuleService(RuleService ruleService) protected voidsupplementWidgetSettings(com.hybris.cockpitng.core.util.impl.TypedSettingsMap widgetSettings) Methods inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer
buildEditor, canChangeProperty, createCustom, createEditor, createNotReadableAttributeLabelRenderer, evaluateCustomDefinition, extractParameterName, extractParameterValue, extractPropertiesList, getAttributeDescription, getCockpitLocaleService, getCockpitUserService, getEditAvailabilityProviderFactory, getEditorBuilder, getLabelService, getObjectFacade, getPermissionFacade, getPropertyValueService, getWidgetRenderingUtils, processEditorBeforeComposition, renderNotReadableLabel, resolveAttributeLabel, resolveAttributePath, resolveCustomComponentRenderer, resolveEditorType, resolveLabel, setAttributeDescriptionIconRenderer, setCockpitLocaleService, setCockpitUserService, setEditAvailabilityProviderFactory, setLabelService, setObjectFacade, setPasswordEditorAsDefaultForEncryptedStrings, setPermissionFacade, setPropertyValueService, setWidgetRenderingUtils, validateCustomElementMethods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer
render
-
Field Details
-
READ_ONLY
- See Also:
-
INITIAL_VALUE
- See Also:
-
RULE_TYPE
- See Also:
-
RULE_COMPILER_PROBLEMS
- See Also:
-
CURRENT_OBJECT_ATTRIBUTE
- See Also:
-
EDITOR_VIEW_MODEL_CLASS
- See Also:
-
-
Constructor Details
-
AbstractEditorSectionRenderer
public AbstractEditorSectionRenderer()
-
-
Method Details
-
getEditorId
-
getAttribute
-
getModelService
-
setModelService
-
getRuleService
-
setRuleService
-
getEditorViewModelClass
-
setEditorViewModelClass
-
setCurrentPageForRoot
protected void setCurrentPageForRoot(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.Page page) -
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractSection section, Object model, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) -
supplementWidgetSettings
protected void supplementWidgetSettings(com.hybris.cockpitng.core.util.impl.TypedSettingsMap widgetSettings) -
fillParameters
-