Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvaro Sanchez-Leon2016-09-13 13:29:37 +0000
committerGerrit Code Review @ Eclipse.org2016-09-23 15:30:07 +0000
commit61121782e8ed67b253b9569e1dc64156b024822c (patch)
tree5c27c86db96a21d9e7e1ca684a0fc84a46f33cba
parentbd2121899b64a74f0d2a6f6d12ea3ee8464f43b0 (diff)
downloadorg.eclipse.cdt-61121782e8ed67b253b9569e1dc64156b024822c.tar.gz
org.eclipse.cdt-61121782e8ed67b253b9569e1dc64156b024822c.tar.xz
org.eclipse.cdt-61121782e8ed67b253b9569e1dc64156b024822c.zip
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
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml
index 50250de53d6..3a309b27a00 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml
@@ -311,6 +311,22 @@
id="org.eclipse.cdt.dsf.gdb.ui.tracecontrol.view">
</viewShortcut>
</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
point="org.eclipse.ui.commands">

Back to the top