Class ContextMenuFactoryCreator

  • All Implemented Interfaces:
    java.lang.Cloneable, Changeable, Debuggable, DebugListener, Derivable, ModelErrorHandler, MoMLExportable, Moveable, Nameable

    public class ContextMenuFactoryCreator
    extends Attribute
    An object that can create a tableau for a model.

    This class allows the configuration option "contextMenuFactory" to be passed via the moml configuration. A suitable MenuFactory is instantiated and returned by a call to the createContextMenuFactory() method.

    Version:
    $Id$
    Author:
    Matthew Brooke
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Method Detail

      • createContextMenuFactory

        public MenuFactory createContextMenuFactory​(GraphController controller)
        Create the KeplerContextMenuFactory class and return it.
        Parameters:
        controller - The GraphController in which to search for a ContextMenuFactoryCreate attribute.
        Returns:
        a KeplerContextMenuFactory