Class ArchiveYFormDefinitionRenderer
- java.lang.Object
-
- com.hybris.cockpitng.actions.impl.DefaultActionRenderer<java.lang.String,java.lang.Object>
-
- de.hybris.platform.xyformsbackoffice.actions.archive.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringACTION_OFF_DISABLED_ICON_URIprotected static java.lang.StringACTION_OFF_ICON_URIprotected static java.lang.StringACTION_ON_DISABLED_ICON_URIprotected static java.lang.StringACTION_ON_ICON_URIprotected static java.lang.StringARCHIVE_TITLEprotected static java.lang.StringUNARCHIVE_TITLE
-
Constructor Summary
Constructors Constructor Description ArchiveYFormDefinitionRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetIconUri(com.hybris.cockpitng.actions.ActionContext context, boolean canPerform)protected java.lang.StringgetLocalizedName(com.hybris.cockpitng.actions.ActionContext<?> context)booleanisArchived(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
-
-
-
-
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
-
ARCHIVE_TITLE
protected static final java.lang.String ARCHIVE_TITLE
- See Also:
- Constant Field Values
-
-
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:
getIconUriin classcom.hybris.cockpitng.actions.impl.DefaultActionRenderer<java.lang.String,java.lang.Object>
-
getLocalizedName
protected java.lang.String getLocalizedName(com.hybris.cockpitng.actions.ActionContext<?> context)
- Overrides:
getLocalizedNamein classcom.hybris.cockpitng.actions.impl.DefaultActionRenderer<java.lang.String,java.lang.Object>
-
-