Class ArchiveYFormDefinitionRenderer

  • All Implemented Interfaces:
    com.hybris.cockpitng.actions.CockpitActionRenderer<java.lang.String,​java.lang.Object>

    public class ArchiveYFormDefinitionRenderer
    extends com.hybris.cockpitng.actions.impl.DefaultActionRenderer<java.lang.String,​java.lang.Object>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.hybris.cockpitng.actions.impl.DefaultActionRenderer

        com.hybris.cockpitng.actions.impl.DefaultActionRenderer.DefaultActionRendererEventListener<T extends org.zkoss.zk.ui.event.Event>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getIconUri​(com.hybris.cockpitng.actions.ActionContext context, boolean canPerform)  
      protected java.lang.String getLocalizedName​(com.hybris.cockpitng.actions.ActionContext<?> context)  
      boolean isArchived​(com.hybris.cockpitng.actions.ActionContext<?> ctx)  
      • Methods inherited from class com.hybris.cockpitng.actions.impl.DefaultActionRenderer

        addEventListener, addKeyboardSupport, adjustUri, checkDataCompatibleWithDefinedInput, createEventListener, createYTestId, extractIconDisabledUri, extractIconHoverUri, extractIconUri, extractKeyEvent, findActionComponent, findGroupComponent, findParentComponent, getActionBodySclass, getIconHoverUri, getKeyboardSupportService, getOrCreateContainer, getOrCreateIcon, getOrCreateIcon, getOrCreateLabel, getOrCreateLabel, getTooltipText, getToolTipWithCtrlKeysText, loadFromParentModel, perform, performWithConfirmationCheck, registerHoverEventsOnContainer, removeEventListeners, removeEventListeners, removeIcon, removeLabel, render, setTooltipText, storeInParentModel, triggerFromKeyEvent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ACTION_ON_ICON_URI

        protected static final java.lang.String ACTION_ON_ICON_URI
        See Also:
        Constant Field Values
      • ACTION_ON_DISABLED_ICON_URI

        protected static final java.lang.String ACTION_ON_DISABLED_ICON_URI
        See Also:
        Constant Field Values
      • ACTION_OFF_ICON_URI

        protected static final java.lang.String ACTION_OFF_ICON_URI
        See Also:
        Constant Field Values
      • ACTION_OFF_DISABLED_ICON_URI

        protected static final java.lang.String ACTION_OFF_DISABLED_ICON_URI
        See Also:
        Constant Field Values
      • UNARCHIVE_TITLE

        protected static final java.lang.String UNARCHIVE_TITLE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ArchiveYFormDefinitionRenderer

        public ArchiveYFormDefinitionRenderer()
    • Method Detail

      • isArchived

        public boolean isArchived​(com.hybris.cockpitng.actions.ActionContext<?> ctx)
      • getIconUri

        protected java.lang.String getIconUri​(com.hybris.cockpitng.actions.ActionContext context,
                                              boolean canPerform)
        Overrides:
        getIconUri in class com.hybris.cockpitng.actions.impl.DefaultActionRenderer<java.lang.String,​java.lang.Object>
      • getLocalizedName

        protected java.lang.String getLocalizedName​(com.hybris.cockpitng.actions.ActionContext<?> context)
        Overrides:
        getLocalizedName in class com.hybris.cockpitng.actions.impl.DefaultActionRenderer<java.lang.String,​java.lang.Object>