Package sc.fiji.snt.gui
Class SNTInterpreterPane
java.lang.Object
sc.fiji.snt.gui.SNTInterpreterPane
- All Implemented Interfaces:
org.scijava.widget.UIComponent<JComponent>
public class SNTInterpreterPane
extends Object
implements org.scijava.widget.UIComponent<JComponent>
SNT's interpreter UI pane. A targeted fork of
org.scijava.ui.swing.script.InterpreterPane with a single change:
the vanilla PromptPane is replaced by SNTPromptPane, giving
the input area Groovy syntax highlighting via SNTEditorPane. The
corresponding scroll pane is sourced from SNTPromptPane.getScrollPane()
to preserve RSyntaxTextArea-specific rendering rather than wrapping in a
plain JScrollPane.- Author:
- Tiago Ferreira
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()org.scijava.ui.swing.script.OutputPaneGets the associated output pane.Gets the associated prompt pane.Gets the associated prompt pane.org.scijava.script.ScriptREPLgetREPL()Gets the associated script REPL.voidPrints a message to the output panel.
-
Constructor Details
-
SNTInterpreterPane
-
-
Method Details
-
getPrompt
Gets the associated prompt pane. -
getPromptEditor
Gets the associated prompt pane. -
getOutput
public org.scijava.ui.swing.script.OutputPane getOutput()Gets the associated output pane. -
getREPL
public org.scijava.script.ScriptREPL getREPL()Gets the associated script REPL. -
print
Prints a message to the output panel. -
dispose
public void dispose() -
getComponent
- Specified by:
getComponentin interfaceorg.scijava.widget.UIComponent<JComponent>
-
getComponentType
- Specified by:
getComponentTypein interfaceorg.scijava.widget.UIComponent<JComponent>
-