Class ContextMenuItemFactory


  • public class ContextMenuItemFactory
    extends java.lang.Object
    Factory to create Menuitems for context menu.
    • Constructor Detail

      • ContextMenuItemFactory

        public ContextMenuItemFactory​(ResultSetViewImpl parentView,
                                      ResultSetPresenter parentPresenter,
                                      com.saperion.ngc.iform.xml.ResultType def,
                                      ResultSetViewImpl.ViewMode viewMode)
        Constructor.
        Parameters:
        parentPresenter - presenter of view
        parentView - parent view of the context menu
        def - Result type
        viewMode - View mode
    • Method Detail

      • createEmptyMenu

        public java.util.List<org.zkoss.zk.ui.Component> createEmptyMenu()
        Returns:
        a menu containing only one disabled item signalizing that the menu is disabled.