debugger/wam_debugger/src/main/com/thesett/aima/logic/fol/wam/debugger/controller/CodeStepController.java
public void open()
    {
        // Build a text grid panel in the central position.
        grid = componentFactory.createTextGrid();
        mainWindow.showCentrePane(componentFactory.createTextGridPanel(grid));

        paneController = mainWindow.getCentreController();
        paneController.showVerticalScrollBar();

        // Build a table model on the text grid, to display the code in.
        table = (EnhancedTextTable) grid.createTable(0, 0, 20, 20);

        breakpointMonitor = new BreakpointMonitorImpl();
        byteCodeMonitor = new ByteCodeMonitor(table);

        // Attach listeners for user events on the table.
        grid.addTextGridSelectionListener(new SelectionHandler());

        // Register some keyboard shortcuts to control the code stepping.
        KeyShortcutMap shortcutMap = componentFactory.getKeyShortcutMap();
        mainWindow.setKeyShortcut(shortcutMap.getStep(), "step", new Step());
        mainWindow.setKeyShortcut(shortcutMap.getStepOver(), "step_over", new StepOver());
        mainWindow.setKeyShortcut(shortcutMap.getResume(), "resume", new Resume());
    }
public void open()
    {
        // Build a text grid panel in the central position.
        grid = componentFactory.createTextGrid();
        mainWindow.showCentrePane(componentFactory.createTextGridPanel(grid));

        paneController = mainWindow.getCentreController();
        paneController.showVerticalScrollBar();

        // Build a table model on the text grid, to display the code in.
        table = (EnhancedTextTable) grid.createTable(0, 0, 20, 20);

        breakpointMonitor = new BreakpointMonitorImpl();
        byteCodeMonitor = new ByteCodeMonitor(table);

        // Attach listeners for user events on the table.
        grid.addTextGridSelectionListener(new SelectionHandler());

        // Register some keyboard shortcuts to control the code stepping.
        KeyShortcutMap shortcutMap = componentFactory.getKeyShortcutMap();
        mainWindow.setKeyShortcut(shortcutMap.getStep(), "step", new Step());
        mainWindow.setKeyShortcut(shortcutMap.getStepOver(), "step_over", new StepOver());
        mainWindow.setKeyShortcut(shortcutMap.getResume(), "resume", new Resume());
    }
public void open ( ) { // Build a text grid panel in the central position. grid = componentFactory . createTextGrid ( ) ; mainWindow . showCentrePane ( componentFactory . createTextGridPanel ( grid ) ) ; paneController = mainWindow . getCentreController ( ) ; paneController . showVerticalScrollBar ( ) ; // Build a table model on the text grid, to display the code in. table = ( EnhancedTextTable ) grid . createTable ( 0 , 0 , 20 , 20 ) ; breakpointMonitor = new BreakpointMonitorImpl ( ) ; byteCodeMonitor = new ByteCodeMonitor ( table ) ; // Attach listeners for user events on the table. grid . addTextGridSelectionListener ( new SelectionHandler ( ) ) ; // Register some keyboard shortcuts to control the code stepping. KeyShortcutMap shortcutMap = componentFactory . getKeyShortcutMap ( ) ; mainWindow . setKeyShortcut ( shortcutMap . getStep ( ) , "step" , new Step ( ) ) ; mainWindow . setKeyShortcut ( shortcutMap . getStepOver ( ) , "step_over" , new StepOver ( ) ) ; mainWindow . setKeyShortcut ( shortcutMap . getResume ( ) , "resume" , new Resume ( ) ) ; }
{@inheritDoc}

<p/>Creates the register monitor component and hooks it up to the register set.
{ @inheritDoc }