Interface IGuiAction

  • All Known Implementing Classes:
    KielerLayoutAction, PtolemyLayoutAction

    public interface IGuiAction
    A simple interface that allows to define actions for Vergil that operate on the model. Vergil needs no specific dependencies on the class implementing the actions but can just call doAction to trigger it.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Christian Motika
    Pt.AcceptedRating:
    Red (cmot)
    Pt.ProposedRating:
    Red (cmot)
    • Method Detail

      • doAction

        void doAction​(NamedObj model)
        Perform the action/modification on the current model triggered by a Vergil GUI action.
        Parameters:
        model - the current Ptolemy model