Class ShowSynchProductsAction

    • Field Detail

      • ICON_SHOW_SYNC_PRODUCTS_ACTION_AVAILABLE

        protected static final java.lang.String ICON_SHOW_SYNC_PRODUCTS_ACTION_AVAILABLE
        See Also:
        Constant Field Values
      • ICON_SHOW_SYNC_PRODUCTS_ACTION_UNAVAILABLE

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

      • ShowSynchProductsAction

        public ShowSynchProductsAction()
    • Method Detail

      • 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 java.lang.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
      • 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 java.lang.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
      • getTypeService

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