From 4e112eca7750a4f530c986be55c178c43c16d3ea Mon Sep 17 00:00:00 2001 From: Elliott Baron Date: Sat, 26 Jun 2010 22:27:34 -0400 Subject: Update codan plugins to CDT 7.0. * org.eclipse.cdt.codan.checkers.ui: Updated. * org.eclipse.cdt.codan.checkers: Updated. * org.eclipse.cdt.codan.core: Updated. * org.eclipse.cdt.codan.ui: Updated. * org.eclipse.cdt.codan.core.cxx: Added. * org.eclipse.cdt.codan.extension/META-INF/MANIFEST.MF: Import org.eclipse.cdt.codan.core.cxx.model. * org.eclipse.cdt.codan.extension/src/org/eclipse/cdt/codan/extension/checkers/AbstractPropSimChecker.java: Superclass moved. --- .../schema/codanMarkerResolution.exsd | 132 +++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 org.eclipse.cdt.codan.ui/schema/codanMarkerResolution.exsd (limited to 'org.eclipse.cdt.codan.ui/schema/codanMarkerResolution.exsd') diff --git a/org.eclipse.cdt.codan.ui/schema/codanMarkerResolution.exsd b/org.eclipse.cdt.codan.ui/schema/codanMarkerResolution.exsd new file mode 100644 index 0000000..4cdbf23 --- /dev/null +++ b/org.eclipse.cdt.codan.ui/schema/codanMarkerResolution.exsd @@ -0,0 +1,132 @@ + + + + + + + + + Extension point to plugin quick fix for codan markers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contribute codan marker resolution + + + + + + + Class that implement IMarkerResolution that provides a fix for the given problem + + + + + + + + + + Problem id of the problem for which quick fix is defined + + + + + + + + + + If problem id is not enought to identity the fix messagePattern can be used to apply fix for given message + + + + + + + + + + + + since 1.0 + + + + + + + + + <extension + point="org.eclipse.cdt.codan.checkers.ui.codanMarkerResolution"> + <resolution + class="org.eclipse.cdt.codan.internal.checkers.ui.quickfix.CatchByReferenceQuickFix" + problemId="org.eclipse.cdt.codan.internal.checkers.CatchByReference"> + </resolution> + </extension> + + + + + + + + + Programmatically resolution can be added using CatchByReferenceQuickFix.addResolution method. +It is not API yet. + + + + + + + + + see CatchByReferenceQuickFix + + + + + -- cgit