Skip to content

Commit

Permalink
Use org.eclipse.cdt.debug.ui.debugging context bindings for Visualizer
Browse files Browse the repository at this point in the history
and Executables Views.

Similar to Memory View and Debug Console View, We can use
org.eclipse.cdt.debug.ui.debugging for Visualizer and Executables Views

see #918
  • Loading branch information
raghucssit committed Oct 19, 2024
1 parent 4d0eaac commit 8f79de9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 6 additions & 7 deletions debug/org.eclipse.cdt.debug.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,6 @@
<viewShortcut
id="org.eclipse.ui.views.ProblemView">
</viewShortcut>
<view
id="org.eclipse.cdt.debug.ui.executablesView"
relative="org.eclipse.ui.console.ConsoleView"
relationship="stack">
</view>
<viewShortcut
id="org.eclipse.cdt.debug.ui.executablesView">
</viewShortcut>
Expand Down Expand Up @@ -963,8 +958,8 @@
point="org.eclipse.debug.ui.contextViewBindings">
<contextViewBinding
viewId="org.eclipse.debug.ui.MemoryView"
contextId="org.eclipse.cdt.debug.ui.debugging">
</contextViewBinding>
contextId="org.eclipse.cdt.debug.ui.debugging"
autoClose="false"/>
<contextViewBinding
autoOpen="false"
contextId="org.eclipse.cdt.debug.ui.debugging"
Expand All @@ -982,6 +977,10 @@
contextId="org.eclipse.cdt.debug.ui.debugging"
viewId="org.eclipse.cdt.debug.ui.debuggerConsoleView"
autoClose="false"/>
<contextViewBinding
contextId="org.eclipse.cdt.debug.ui.debugging"
viewId="org.eclipse.cdt.debug.ui.executablesView"
autoClose="false"/>
</extension>
<extension
point="org.eclipse.ui.editors.annotationTypes">
Expand Down
13 changes: 7 additions & 6 deletions visualizer/org.eclipse.cdt.visualizer.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@
targetID="org.eclipse.debug.ui.DebugPerspective">

<!-- add Visualizer View in same "slot" as outline view -->
<view
relative="org.eclipse.ui.views.ContentOutline"
visible="true"
relationship="stack"
id="org.eclipse.cdt.visualizer.view">
</view>
<viewShortcut
id="org.eclipse.cdt.visualizer.view">
</viewShortcut>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.debug.ui.contextViewBindings">
<contextViewBinding
contextId="org.eclipse.cdt.debug.ui.debugging"
viewId="org.eclipse.cdt.visualizer.view"
autoClose="false"/>
</extension>
</plugin>

0 comments on commit 8f79de9

Please sign in to comment.