Interface ContextFactory

    • Method Detail

      • createContextMenu

        javax.swing.JPopupMenu createContextMenu​(EventDispatcher dispatcher,
                                                 GameData data,
                                                 java.lang.Object argument,
                                                 SelectionEvent selection,
                                                 javax.swing.tree.DefaultMutableTreeNode node)
        Creates an appropriate context menu
        Parameters:
        dispatcher - The responsible event dispatcher.
        data - The data
        argument - The object for which the context menu should be created
        selection - Additional selected objects
        node -
        Returns:
        A context menu