Interface PdoContextMenuFactory

  • All Known Implementing Classes:
    DefaultPdoContextMenuFactory

    public interface PdoContextMenuFactory
    A factory for PDO context menus.
    The context menus are used as popups.
    Author:
    harald
    • Method Detail

      • create

        <T extends org.tentackle.pdo.PersistentDomainObject<T>> javafx.scene.control.ContextMenu create​(PdoTreeCell<T> cell)
        Creates a context menu for a tree cell.
        Type Parameters:
        T - the PDO's class
        Parameters:
        cell - the tree cell
        Returns:
        the context menu, null if no menu items
      • create

        <S,​T extends org.tentackle.pdo.PersistentDomainObject<T>> javafx.scene.control.ContextMenu create​(PdoTableCell<S,​T> cell)
        Creates a context menu for a table cell.
        Type Parameters:
        S - the table row's type
        T - the table cell's pdo type
        Parameters:
        cell - the table cell
        Returns:
        the context menu, null if no menu items