| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,7 +45,7 @@ | |||
| 45 | 45 | import processing.mode.java.debug.VariableNode; | |
| 46 | 46 | ||
| 47 | 47 | ||
| 48 | - public class VariableInspector extends JFrame { | ||
| 48 | + public class DebugTray extends JFrame { | ||
| 49 | 49 | /// the root node (invisible) | |
| 50 | 50 | protected DefaultMutableTreeNode rootNode; | |
| 51 | 51 | ||
@@ -83,7 +83,7 @@ public class VariableInspector extends JFrame { | |||
| 83 | 83 | final int VERTICAL_OFFSET = 64; | |
| 84 | 84 | ||
| 85 | 85 | ||
| 86 | - public VariableInspector(JavaEditor editor) { | ||
| 86 | + public DebugTray(JavaEditor editor) { | ||
| 87 | 87 | this.editor = editor; | |
| 88 | 88 | ||
| 89 | 89 | setUndecorated(true); | |
@@ -573,7 +573,7 @@ public void treeExpansionVetoed(TreeExpansionEvent tee, ExpandVetoException eve) | |||
| 573 | 573 | } | |
| 574 | 574 | ||
| 575 | 575 | ||
| 576 | - protected static void run(final VariableInspector vi) { | ||
| 576 | + protected static void run(final DebugTray vi) { | ||
| 577 | 577 | EventQueue.invokeLater(new Runnable() { | |
| 578 | 578 | @Override | |
| 579 | 579 | public void run() { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -883,7 +883,7 @@ protected void updateVariableInspector(ThreadReference t) { | |||
| 883 | 883 | // TODO: needs to be handled in a better way: | |
| 884 | 884 | log(Level.WARNING, "call stack empty"); | |
| 885 | 885 | } else { | |
| 886 | - final VariableInspector vi = editor.variableInspector(); | ||
| 886 | + final DebugTray vi = editor.variableInspector(); | ||
| 887 | 887 | // first get data | |
| 888 | 888 | final List<DefaultMutableTreeNode> stackTrace = getStackTrace(t); | |
| 889 | 889 | final List<VariableNode> locals = getLocals(t, 0); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,7 +56,7 @@ protected JavaEditor(Base base, String path, EditorState state, Mode mode) { | |||
| 56 | 56 | ||
| 57 | 57 | jmode = (JavaMode) mode; | |
| 58 | 58 | dbg = new Debugger(this); | |
| 59 | - vi = new VariableInspector(this); | ||
| 59 | + vi = new DebugTray(this); | ||
| 60 | 60 | ||
| 61 | 61 | // access to customized (i.e. subclassed) text area | |
| 62 | 62 | ta = (JavaTextArea) textarea; | |
@@ -1191,7 +1191,7 @@ public void internalCloseRunner() { | |||
| 1191 | 1191 | protected JMenuItem toggleVariableInspectorMenuItem; | |
| 1192 | 1192 | ||
| 1193 | 1193 | protected Debugger dbg; // the debugger | |
| 1194 | - protected VariableInspector vi; // the variable inspector frame | ||
| 1194 | + protected DebugTray vi; // the variable inspector frame | ||
| 1195 | 1195 | ||
| 1196 | 1196 | public JavaTextArea ta; // the text area | |
| 1197 | 1197 | public ErrorBar errorBar; | |
@@ -1990,7 +1990,7 @@ public void actionPerformed(ActionEvent e) { | |||
| 1990 | 1990 | * | |
| 1991 | 1991 | * @return the variable inspector object | |
| 1992 | 1992 | */ | |
| 1993 | - public VariableInspector variableInspector() { | ||
| 1993 | + public DebugTray variableInspector() { | ||
| 1994 | 1994 | return vi; | |
| 1995 | 1995 | } | |
| 1996 | 1996 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments