Package ptolemy.vergil
Class VergilGraphicalMessageHandler
- java.lang.Object
-
- ptolemy.util.MessageHandler
-
- ptolemy.gui.UndeferredGraphicalMessageHandler
-
- ptolemy.gui.GraphicalMessageHandler
-
- ptolemy.actor.gui.ActorGraphicalMessageHandler
-
- ptolemy.vergil.VergilGraphicalMessageHandler
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
public class VergilGraphicalMessageHandler extends ActorGraphicalMessageHandler
A message handler that optionally includes a button that opens the model that contains the actor that caused the exception and zooms into the actor.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Christopher Brooks
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Field Summary
-
Fields inherited from class ptolemy.gui.UndeferredGraphicalMessageHandler
_context
-
-
Constructor Summary
Constructors Constructor Description VergilGraphicalMessageHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_showNameable(java.lang.Throwable throwable)
Open the level of hierarchy of the model that contains the Nameable referred to by the KernelException or KernelRuntimeException and possibly zoom in.-
Methods inherited from class ptolemy.actor.gui.ActorGraphicalMessageHandler
_checkThrowableNameable, _getNameable
-
Methods inherited from class ptolemy.gui.GraphicalMessageHandler
_error, _error, _message, _warning, _warning, _yesNoCancelQuestion, _yesNoQuestion
-
Methods inherited from class ptolemy.gui.UndeferredGraphicalMessageHandler
_showStackTrace, getContext, setContext
-
Methods inherited from class ptolemy.util.MessageHandler
error, error, getMessageHandler, isNonInteractive, message, setMessageHandler, setStatusHandler, shortDescription, status, uncaughtException, warning, warning, yesNoCancelQuestion, yesNoCancelQuestion, yesNoQuestion
-
-
-
-
Method Detail
-
_showNameable
protected void _showNameable(java.lang.Throwable throwable)
Open the level of hierarchy of the model that contains the Nameable referred to by the KernelException or KernelRuntimeException and possibly zoom in.- Overrides:
_showNameable
in classActorGraphicalMessageHandler
- Parameters:
throwable
- The throwable that may be a KernelException or KernelRuntimeException.
-
-