Search in sources :

Example 1 with IGraphContainerWindow

use of com.google.security.zynamics.binnavi.Gui.GraphWindows.IGraphContainerWindow in project binnavi by google.

the class CDebugEventNotifier method activateWindow.

/**
 * Activates the window of this debugger.
 *
 * @return The window of this debugger.
 */
private JFrame activateWindow() {
    for (final IGraphContainerWindow window : CWindowManager.instance().getOpenWindows()) {
        for (final IGraphPanel graphPanel : window) {
            final BackEndDebuggerProvider debuggerProvider = graphPanel.getModel().getDebuggerProvider();
            for (final IDebugger d : debuggerProvider) {
                if (d == m_debugger) {
                    window.activate(graphPanel);
                    window.show();
                    return window.getFrame();
                }
            }
        }
    }
    return null;
}
Also used : IGraphContainerWindow(com.google.security.zynamics.binnavi.Gui.GraphWindows.IGraphContainerWindow) IGraphPanel(com.google.security.zynamics.binnavi.Gui.GraphWindows.IGraphPanel) BackEndDebuggerProvider(com.google.security.zynamics.binnavi.debug.debugger.BackEndDebuggerProvider) IDebugger(com.google.security.zynamics.binnavi.debug.debugger.interfaces.IDebugger)

Aggregations

IGraphContainerWindow (com.google.security.zynamics.binnavi.Gui.GraphWindows.IGraphContainerWindow)1 IGraphPanel (com.google.security.zynamics.binnavi.Gui.GraphWindows.IGraphPanel)1 BackEndDebuggerProvider (com.google.security.zynamics.binnavi.debug.debugger.BackEndDebuggerProvider)1 IDebugger (com.google.security.zynamics.binnavi.debug.debugger.interfaces.IDebugger)1