Search in sources :

Example 1 with DBASTPanel

use of org.antlr.works.debugger.tree.DBASTPanel in project antlrworks by antlr.

the class DebuggerTab method awake.

public void awake() {
    panel = new JPanel(new BorderLayout());
    splitPanel = new CustomSplitPanel();
    components2toggle = new HashMap<Component, XJRotableToggleButton>();
    controlPanel = new DBControlPanel(this);
    inputPanel = new DBInputPanel(this);
    inputPanel.setTag(CustomSplitPanel.LEFT_INDEX);
    outputPanel = new DBOutputPanel(this);
    outputPanel.setTag(CustomSplitPanel.LEFT_INDEX);
    parseTreePanel = new DBParseTreePanel(this);
    parseTreePanel.setTag(CustomSplitPanel.MIDDLE_INDEX);
    parseTreeModel = parseTreePanel.getModel();
    astPanel = new DBASTPanel(this);
    astPanel.setTag(CustomSplitPanel.MIDDLE_INDEX);
    astModel = astPanel.getModel();
    stackPanel = new DBStackPanel(this);
    stackPanel.setTag(CustomSplitPanel.RIGHT_INDEX);
    eventsPanel = new DBEventsPanel(this);
    eventsPanel.setTag(CustomSplitPanel.RIGHT_INDEX);
    panel.add(controlPanel, BorderLayout.NORTH);
    panel.add(splitPanel, BorderLayout.CENTER);
    panel.add(createToggleButtons(), BorderLayout.SOUTH);
    local = new DBLocal(this);
    recorder = new DBRecorder(this);
    player = new DBPlayer(this);
    updateStatusInfo();
}
Also used : DBRecorder(org.antlr.works.debugger.tivo.DBRecorder) DBASTPanel(org.antlr.works.debugger.tree.DBASTPanel) DBParseTreePanel(org.antlr.works.debugger.tree.DBParseTreePanel) DBLocal(org.antlr.works.debugger.local.DBLocal) XJRotableToggleButton(org.antlr.xjlib.appkit.swing.XJRotableToggleButton) DBPlayer(org.antlr.works.debugger.tivo.DBPlayer)

Aggregations

DBLocal (org.antlr.works.debugger.local.DBLocal)1 DBPlayer (org.antlr.works.debugger.tivo.DBPlayer)1 DBRecorder (org.antlr.works.debugger.tivo.DBRecorder)1 DBASTPanel (org.antlr.works.debugger.tree.DBASTPanel)1 DBParseTreePanel (org.antlr.works.debugger.tree.DBParseTreePanel)1 XJRotableToggleButton (org.antlr.xjlib.appkit.swing.XJRotableToggleButton)1