Class TmaCompatibilityPolicyAreaRenderer

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.AbstractPanel,Object>
com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer
de.hybris.platform.b2ctelcobackoffice.renderers.TmaCompatibilityPolicyAreaRenderer
All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel,Object>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel,Object>

public class TmaCompatibilityPolicyAreaRenderer extends com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer
Panel editor renderer to display action for compatibility policies inside TmaProductOfferingModel.
Since:
2007
  • Field Summary

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.zkoss.zk.ui.Component
    createActionForCompatibilityPolicies(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, List<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Parameter> editorParameters)
    Creates an Action with VIEW_COMPATIBILITY_ACTION_ID definition.
    void
    render(org.zkoss.zk.ui.Component component, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel abstractPanelConfiguration, Object object, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
     

    Methods inherited from class com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer

    createAttributeRenderer, createCustomHtmlRenderer

    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, validateCustomElement

    Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer

    addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer

    render
  • Constructor Details

    • TmaCompatibilityPolicyAreaRenderer

      public TmaCompatibilityPolicyAreaRenderer()
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component component, com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel abstractPanelConfiguration, Object object, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      Specified by:
      render in interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPanel,Object>
      Overrides:
      render in class com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer
    • createActionForCompatibilityPolicies

      protected org.zkoss.zk.ui.Component createActionForCompatibilityPolicies(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, List<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Parameter> editorParameters)
      Creates an Action with VIEW_COMPATIBILITY_ACTION_ID definition.
      Parameters:
      widgetInstanceManager - the given WidgetInstanceManager to be used
      editorParameters - the parameters configured for this panel editor
      Returns:
      the cockpit component to be added in the editor area