Interface UsesInvokeAndWait

  • All Known Implementing Classes:
    InteractiveDialog, InteractiveShell

    public interface UsesInvokeAndWait
    A marker interface indicating that the class calls SwingUtilities.invokeAndWait().

    Calls to SwingUtilities.invokeAndWait() do not nest. For example ptolemy.vergil.basic.export.ExportModel can optionally run a model by calling invokeAndWait(). However, if the model contains an InteractiveShell actor, then the run will hang. Thus, we check to see if the actors in the model implements this interface.

    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Christopher Brooks
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (eal)