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

public abstract class AbstractPerspectiveSwitchAction extends AbstractListViewAction
A perspective switch action is a list view action which offers the functionality of switching to another perspective.
  • Constructor Details

    • AbstractPerspectiveSwitchAction

      public AbstractPerspectiveSwitchAction()
  • Method Details

    • isAlwaysEnabled

      public boolean isAlwaysEnabled()
      Description copied from interface: AdvancedListViewAction
      Specifies whether this action should be enabled even though the component (where this action is used) is marked as non-editable.
      Specified by:
      isAlwaysEnabled in interface AdvancedListViewAction
      Overrides:
      isAlwaysEnabled in class AbstractListViewAction
      Returns:
      true if this action is always enabled, false otherwise
    • setTargetPerspectiveUid

      public void setTargetPerspectiveUid(String targetUID)
    • getTargetPerspectiveUid

      public String getTargetPerspectiveUid()
    • getEventListener

      public org.zkoss.zk.ui.event.EventListener getEventListener(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the EventListener which is to be registered for the Events.ON_CLICK event.
      Returns:
      the event listener which should be called when user clicks the action button