Class AbstractPerspectiveSwitchAction
java.lang.Object
de.hybris.platform.cockpit.components.listview.AbstractListViewAction
de.hybris.platform.cockpit.components.listview.AbstractPerspectiveSwitchAction
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
- Direct Known Subclasses:
DefaultPerspectiveSwitchAction
A perspective switch action is a
list view action which offers the functionality of switching to
another perspective.-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context -
Field Summary
Fields inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELFields inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
AFFECTED_ITEMS_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.zkoss.zk.ui.event.EventListenergetEventListener(ListViewAction.Context context) Gets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.booleanSpecifies whether this action should be enabled even though the component (where this action is used) is marked as non-editable.voidsetTargetPerspectiveUid(String targetUID) Methods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, doCreateContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, getStatusCode, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
getContextPopup, getImageURI, getPopup, getTooltip
-
Constructor Details
-
AbstractPerspectiveSwitchAction
public AbstractPerspectiveSwitchAction()
-
-
Method Details
-
isAlwaysEnabled
public boolean isAlwaysEnabled()Description copied from interface:AdvancedListViewActionSpecifies whether this action should be enabled even though the component (where this action is used) is marked as non-editable.- Specified by:
isAlwaysEnabledin interfaceAdvancedListViewAction- Overrides:
isAlwaysEnabledin classAbstractListViewAction- Returns:
trueif this action is always enabled,falseotherwise
-
setTargetPerspectiveUid
-
getTargetPerspectiveUid
-
getEventListener
Description copied from interface:ListViewActionGets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.- Returns:
- the event listener which should be called when user clicks the action button
-