001/* A marker interface indicating that the class calls SwingUtilities.invokeAndWait(). 002 003 @Copyright (c) 2013-2014 The Regents of the University of California. 004 All rights reserved. 005 006 Permission is hereby granted, without written agreement and without 007 license or royalty fees, to use, copy, modify, and distribute this 008 software and its documentation for any purpose, provided that the 009 above copyright notice and the following two paragraphs appear in all 010 copies of this software. 011 012 IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY 013 FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 014 ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF 015 THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF 016 SUCH DAMAGE. 017 018 THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, 019 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 020 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE 021 PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF 022 CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, 023 ENHANCEMENTS, OR MODIFICATIONS. 024 025 PT_COPYRIGHT_VERSION 2 026 COPYRIGHTENDKEY 027 */ 028package ptolemy.actor.lib.gui; 029 030/** 031 * A marker interface indicating that the class calls 032 * SwingUtilities.invokeAndWait(). 033 * 034 * <p>Calls to SwingUtilities.invokeAndWait() do not nest. For example 035 * ptolemy.vergil.basic.export.ExportModel can optionally run a model 036 * by calling invokeAndWait(). However, if the model contains an 037 * InteractiveShell actor, then the run will hang. Thus, we check to 038 * see if the actors in the model implements this interface.</p> 039 * 040 * @author Christopher Brooks 041 * @version $Id$ 042 * @since Ptolemy II 10.0 043 * @Pt.ProposedRating Yellow (eal) 044 * @Pt.AcceptedRating Red (cxh) 045 */ 046public interface UsesInvokeAndWait { 047}