Class SNTInterpreterWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
SNTREPL

public class SNTInterpreterWindow extends JFrame
SNT's REPL window. A targeted fork of org.scijava.ui.swing.script.InterpreterWindow with a single change: the InterpreterPane field is replaced by SNTInterpreterPane to wire in the syntax-highlighted SNTPromptPane.

NOTE: if the upstream InterpreterWindow source changes (e.g. new fields or methods are added), this fork must be updated accordingly.

Author:
Tiago Ferreira
See Also:
  • Constructor Details

    • SNTInterpreterWindow

      public SNTInterpreterWindow(org.scijava.Context context, String languagePreference)
  • Method Details

    • getInterpreterPane

      public SNTInterpreterPane getInterpreterPane()
    • getInterpreter

      public org.scijava.script.ScriptInterpreter getInterpreter()
      Returns the underlying ScriptInterpreter for direct evaluation.
    • print

      public void print(String string)
      Prints a message to the output panel.