org.autoplot.scriptconsole.AppScriptPanelSupport

Error annotations, saveAs, etc.


PROP_INTERRUPTABLE


addPropertyChangeListener

addPropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Parameters

listener - a PropertyChangeListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]

addPropertyChangeListener( String name, java.beans.PropertyChangeListener listener ) → void

annotateError

annotateError( java.lang.Throwable ex ) → void

march through the stack trace looking for any Jython references.

Parameters

ex - the exception

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]

annotateError( PyException ex, int offset, PythonInterpreter interp ) → void

getInterruptible

getInterruptible( ) → InteractiveInterpreter

return the interruptible InteractiveInterpreter that runs the script.

Returns:

the interruptible

[search for examples] [view on GitHub] [view on old javadoc]


getSaveFile

getSaveFile( ) → int

get the save file name with a save file dialog.

Returns:

response code, such as JFileChooser.APPROVE_OPTION or JFileChooser.CANCEL_OPTION

See Also:

javax.swing.JFileChooser#showSaveDialog(java.awt.Component)


[search for examples] [view on GitHub] [view on old javadoc]


markChanges

markChanges( org.autoplot.jythonsupport.ui.EditorAnnotationsSupport support, java.io.File fln ) → int

mark the changes git indicates.

Parameters

support - an EditorAnnotationsSupport
fln - a File

Returns:

the number of changes identified.

[search for examples] [view on GitHub] [view on old javadoc]


removePropertyChangeListener

removePropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Parameters

listener - a PropertyChangeListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]

removePropertyChangeListener( String name, java.beans.PropertyChangeListener listener ) → void