Class RunProxy

  • All Implemented Interfaces:
    java.lang.Runnable

    class RunProxy
    extends java.lang.Object
    implements java.lang.Runnable
    Class to consolidate all cases that require to implement Runnable to avoid class generation bloat.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String alertMessage
      The message of the exception thrown that caused the thread interruption, if any.
      private SwingGui debugGui
      The debugger GUI.
      (package private) static int ENTER_INTERRUPT  
      (package private) java.lang.String fileName
      The name of the file to open or load.
      (package private) Dim.StackFrame lastFrame
      The frame to interrupt in.
      (package private) static int LOAD_FILE  
      (package private) static int OPEN_FILE  
      (package private) Dim.SourceInfo sourceInfo
      The source for which to update the text.
      (package private) java.lang.String text
      The source text to update.
      (package private) java.lang.String threadTitle
      The name of the interrupted thread.
      private int type
      The type of Runnable this object is.
      (package private) static int UPDATE_SOURCE_TEXT  
    • Constructor Summary

      Constructors 
      Constructor Description
      RunProxy​(SwingGui debugGui, int type)
      Creates a new RunProxy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Runs this Runnable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • debugGui

        private SwingGui debugGui
        The debugger GUI.
      • type

        private int type
        The type of Runnable this object is. Takes one of the constants defined in this class.
      • fileName

        java.lang.String fileName
        The name of the file to open or load.
      • text

        java.lang.String text
        The source text to update.
      • sourceInfo

        Dim.SourceInfo sourceInfo
        The source for which to update the text.
      • threadTitle

        java.lang.String threadTitle
        The name of the interrupted thread.
      • alertMessage

        java.lang.String alertMessage
        The message of the exception thrown that caused the thread interruption, if any.
    • Constructor Detail

      • RunProxy

        public RunProxy​(SwingGui debugGui,
                        int type)
        Creates a new RunProxy.
    • Method Detail

      • run

        public void run()
        Runs this Runnable.
        Specified by:
        run in interface java.lang.Runnable