Class ShowSynchProductsAction

All Implemented Interfaces:
AdvancedListViewAction, ListViewAction

public class ShowSynchProductsAction extends AbstractProductAction
This product action class is responsible for creating action for searching synchronization sources or targets on given product.
See Also:
  • Field Details

    • ICON_SHOW_SYNC_PRODUCTS_ACTION_AVAILABLE

      protected static final String ICON_SHOW_SYNC_PRODUCTS_ACTION_AVAILABLE
      See Also:
    • ICON_SHOW_SYNC_PRODUCTS_ACTION_UNAVAILABLE

      protected static final String ICON_SHOW_SYNC_PRODUCTS_ACTION_UNAVAILABLE
      See Also:
  • Constructor Details

    • ShowSynchProductsAction

      public ShowSynchProductsAction()
  • Method Details

    • getContextPopup

      public org.zkoss.zul.Menupopup getContextPopup(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the context popup of the action button.
      Returns:
      the popup which should appear when the user right-clicks the action button or null if no popup is available
    • 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
    • getImageURI

      public String getImageURI(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the image URI which represents the action button.
      Returns:
      URI of the image to represent the action button
    • getMultiSelectImageURI

      public String getMultiSelectImageURI(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the image URI for selection operation which represents the action button.
      Specified by:
      getMultiSelectImageURI in interface ListViewAction
      Overrides:
      getMultiSelectImageURI in class AbstractListViewAction
      Returns:
      URI of the image to represent the action button or null, if action doesn't support multi select operation
    • getMultiSelectPopup

      public org.zkoss.zul.Menupopup getMultiSelectPopup(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the popup of the action button for selection operation.
      Specified by:
      getMultiSelectPopup in interface ListViewAction
      Overrides:
      getMultiSelectPopup in class AbstractListViewAction
      Returns:
      the popup which should appear when the user clicks the action button or null if no popup is available
    • getPopup

      public org.zkoss.zul.Menupopup getPopup(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the popup of the action button.
      Returns:
      the popup which should appear when the user clicks the action button or null if no popup is available
    • getSynchronizationService

      public SynchronizationService getSynchronizationService()
      Gets the synchronization service.
      Returns:
      the synchronization service
    • getTooltip

      public String getTooltip(ListViewAction.Context context)
      Description copied from interface: ListViewAction
      Gets the tooltip of the action button.
      Returns:
      the tooltip string which should appear when the user hovers over the action button
    • addSearchEventListener

      protected void addSearchEventListener(org.zkoss.zk.ui.Component component, org.zkoss.zk.ui.event.EventListener listener)
      Adds the search event listener component.
      Parameters:
      component - the component on which event should be added
      listener - the listener
    • doCreateContext

      protected void doCreateContext(ListViewAction.Context context)
      Specified by:
      doCreateContext in class AbstractListViewAction
    • getTypeService

      protected TypeService getTypeService()
      Gets the type service.
      Returns:
      the type service