public class EditSourceFileAction
extends javax.swing.AbstractAction
ExceptionDialog
to open the source file containing an error
for editing.Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
exception |
private ExceptionDialog |
parent |
private static long |
serialVersionUID |
Constructor and Description |
---|
EditSourceFileAction(ExceptionDialog parent,
java.lang.Throwable exception) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0) |
(package private) static void |
centerDialogRelativeToMainWindow(javax.swing.JDialog dialog) |
boolean |
isValidLocation(Location location) |
private static void |
textAreaGoto(javax.swing.JTextArea textArea,
int line,
int col)
Moves the caret in a
JTextArea to the specified position. |
private static final long serialVersionUID
private final ExceptionDialog parent
private final java.lang.Throwable exception
public EditSourceFileAction(ExceptionDialog parent, java.lang.Throwable exception)
private static void textAreaGoto(javax.swing.JTextArea textArea, int line, int col)
JTextArea
to the specified position. Assumes
the first position in the textarea is in line 1 column 1.public boolean isValidLocation(Location location)
public void actionPerformed(java.awt.event.ActionEvent arg0)
static void centerDialogRelativeToMainWindow(javax.swing.JDialog dialog)