Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Tepavich2012-05-19 20:28:56 -0400
committerEugene Tarassov2012-05-23 18:10:31 -0400
commit165591bf7ba5a9701c5c615449a15b23c3aa727f (patch)
treed1d87f57809122d9c1e99558c6144aa4b2133e41 /plugins/org.eclipse.tcf.cdt.ui/plugin.xml
parentdfd48727e8fabd1596afb1e3c93e1b68291760f8 (diff)
downloadorg.eclipse.tcf-165591bf7ba5a9701c5c615449a15b23c3aa727f.tar.gz
org.eclipse.tcf-165591bf7ba5a9701c5c615449a15b23c3aa727f.tar.xz
org.eclipse.tcf-165591bf7ba5a9701c5c615449a15b23c3aa727f.zip
Bug [379413] Allow user to set a default trigger scope
Diffstat (limited to 'plugins/org.eclipse.tcf.cdt.ui/plugin.xml')
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/plugin.xml56
1 files changed, 49 insertions, 7 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/plugin.xml b/plugins/org.eclipse.tcf.cdt.ui/plugin.xml
index 905a9f724..adee602b7 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/plugin.xml
+++ b/plugins/org.eclipse.tcf.cdt.ui/plugin.xml
@@ -84,7 +84,6 @@
</enabledWhen>
</page>
</extension>
-
<extension point="org.eclipse.ui.propertyPages">
<page class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFBreakpointThreadFilterPage"
id="org.eclipse.tcf.breakpoint.scope.filtering"
@@ -353,7 +352,40 @@
menubarPath="additions"/>
</objectContribution>
</extension>
-
+ <extension
+ point="org.eclipse.core.expressions.propertyTesters">
+ <propertyTester
+ class="org.eclipse.tcf.internal.cdt.ui.breakpoints.ToggleTCFBreakpointTester"
+ id="org.eclipse.tcf.cdt.ui.editorToggleBreakpointTester"
+ namespace="org.eclipse.tcf.cdt.ui"
+ properties="isTCFBreakpointSupported"
+ type="org.eclipse.ui.IWorkbenchPart">
+ </propertyTester>
+ <propertyTester
+ class="org.eclipse.tcf.internal.cdt.ui.breakpoints.ToggleTCFBreakpointTester"
+ id="org.eclipse.tcf.cdt.ui.declarationToggleBreakpointTester"
+ namespace="org.eclipse.tcf.cdt.ui"
+ properties="isTCFBreakpointSupported"
+ type="java.util.List">
+ </propertyTester>
+ </extension>
+ <extension
+ point="org.eclipse.debug.ui.toggleBreakpointsTargetFactories">
+ <toggleTargetFactory
+ id="org.eclipse.tcf.debug.toggleTCFThreadBreakpointTarget"
+ class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFToggleBreakpointsTargetFactory">
+ <enablement>
+ <!-- TODO: SDT: Comment out the testers for now. Create a new one, to test if
+ the current launch is TCF or not. Should be enough. -->
+ <or>
+ <test property="org.eclipse.tcf.cdt.ui.isTCFBreakpointSupported"/>
+ <test property="org.eclipse.cdt.debug.ui.isCEditorSupportsCBreakpoint"/>
+ <test property="org.eclipse.cdt.debug.ui.isAsmEditorSupportsCBreakpoint"/>
+ <test property="org.eclipse.cdt.debug.ui.isDisassemblyEditorSupportsCBreakpoint"/>
+ </or>
+ </enablement>
+ </toggleTargetFactory>
+ </extension>
<extension
point="org.eclipse.ui.editors">
<editor
@@ -365,6 +397,21 @@
</editor>
</extension>
<extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.debug.ui.DebugPreferencePage"
+ class="org.eclipse.tcf.internal.cdt.ui.preferences.BreakpointPreferencePage"
+ id="org.eclipse.tcf.cdt.ui.preferences.BreakpointPreferencePage"
+ name="%breakpointsPreferencePage.name">
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.core.runtime.preferences">
+ <initializer
+ class="org.eclipse.tcf.internal.cdt.ui.preferences.PreferenceInitializer">
+ </initializer>
+ </extension>
+ <extension
point="org.eclipse.debug.ui.breakpointOrganizers">
<breakpointOrganizer
class="org.eclipse.tcf.internal.cdt.ui.breakpoints.BreakpointScopeOrganizer"
@@ -373,7 +420,6 @@
label="%breakpointScope.label">
</breakpointOrganizer>
</extension>
-
<extension
point="org.eclipse.ui.menus">
<menuContribution
@@ -396,9 +442,5 @@
</visibleWhen>
</command>
</menuContribution>
-
-
</extension>
-
-
</plugin>

Back to the top