1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 303808: Add the DebuggerConsoleView to the debug perspective

We add the DebuggerConsoleView to the debug perspective but we do not
show it by default. This will allow us to specify the default location
of the console but not show the console unless the user actually
launches a dsf-gdb session.

The default location is specified as "stacked" to avoid taking screen
space when many users may not care about using this view.  Users that do
want to use the view a lot, will simply move it to its own space.

Change-Id: Ie7ad961193b7f72d3557022410343e325ae2af0e
This commit is contained in:
Alvaro Sanchez-Leon 2016-09-13 09:29:37 -04:00 committed by Gerrit Code Review @ Eclipse.org
parent bd2121899b
commit 61121782e8

View file

@ -311,6 +311,22 @@
id="org.eclipse.cdt.dsf.gdb.ui.tracecontrol.view"> id="org.eclipse.cdt.dsf.gdb.ui.tracecontrol.view">
</viewShortcut> </viewShortcut>
</perspectiveExtension> </perspectiveExtension>
<!-- The debugger console view is not present in the debug perspective by default.
This allows integrators to add their specific console view implementation as needed.
Dsf-gdb relies on the default console implementation which we therefore associate to
the debug perspective here, without interfering with integrations separated from dsf-gdb -->
<perspectiveExtension
targetID="org.eclipse.debug.ui.DebugPerspective">
<view
relative="org.eclipse.ui.console.ConsoleView"
visible="false"
relationship="stack"
id="org.eclipse.cdt.debug.ui.debuggerConsoleView">
</view>
<viewShortcut
id="org.eclipse.cdt.debug.ui.debuggerConsoleView">
</viewShortcut>
</perspectiveExtension>
</extension> </extension>
<extension <extension
point="org.eclipse.ui.commands"> point="org.eclipse.ui.commands">