4 * @author Roman Blazevic
8 package xelfi.debugger;
11 import xelfi.top.TopLevel;
12 import xelfi.top.TopDialog;
14 //import symantec.tools.debug.*; // doesn't need TCP/IP
17 * This is a view on the data given by the Debugger document.
18 * It is a view on local variables of the currently executed method in the currently
22 public class LocalsView extends TopDialog
24 private Debugger document;
27 static final int KEY_ENTER = 10;
29 static final int HINT_COMPLETE_UPDATE = 0;
32 * LocalsView constructor.
34 * debugger - the document for this view
36 LocalsView(Debugger debugger)
38 super(TopLevel.getMenu(), false);
41 setBackground(Color.lightGray);
49 * This method is called when the content of the view must be
52 void update(int hint, int index)
57 if (hint != HINT_COMPLETE_UPDATE)
59 System.out.println("unsupported hint");
66 * My show() implementation.
72 document.localsViewShown();