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. --- org.eclipse.cdt.codan.ui/schema/CVS/Entries | 2 + org.eclipse.cdt.codan.ui/schema/CVS/Repository | 1 + org.eclipse.cdt.codan.ui/schema/CVS/Root | 1 + org.eclipse.cdt.codan.ui/schema/CVS/Tag | 1 + .../schema/codanMarkerResolution.exsd | 132 +++++++++++++++++++++ .../schema/codanProblemDetails.exsd | 127 ++++++++++++++++++++ 6 files changed, 264 insertions(+) create mode 100644 org.eclipse.cdt.codan.ui/schema/CVS/Entries create mode 100644 org.eclipse.cdt.codan.ui/schema/CVS/Repository create mode 100644 org.eclipse.cdt.codan.ui/schema/CVS/Root create mode 100644 org.eclipse.cdt.codan.ui/schema/CVS/Tag create mode 100644 org.eclipse.cdt.codan.ui/schema/codanMarkerResolution.exsd create mode 100644 org.eclipse.cdt.codan.ui/schema/codanProblemDetails.exsd (limited to 'org.eclipse.cdt.codan.ui/schema') diff --git a/org.eclipse.cdt.codan.ui/schema/CVS/Entries b/org.eclipse.cdt.codan.ui/schema/CVS/Entries new file mode 100644 index 0000000..2d2de75 --- /dev/null +++ b/org.eclipse.cdt.codan.ui/schema/CVS/Entries @@ -0,0 +1,2 @@ +/codanMarkerResolution.exsd/1.1/Sun May 2 01:47:10 2010//TCDT_7_0_0 +/codanProblemDetails.exsd/1.2/Thu Apr 29 16:34:18 2010//TCDT_7_0_0 diff --git a/org.eclipse.cdt.codan.ui/schema/CVS/Repository b/org.eclipse.cdt.codan.ui/schema/CVS/Repository new file mode 100644 index 0000000..aae173a --- /dev/null +++ b/org.eclipse.cdt.codan.ui/schema/CVS/Repository @@ -0,0 +1 @@ +org.eclipse.cdt/codan/org.eclipse.cdt.codan.ui/schema diff --git a/org.eclipse.cdt.codan.ui/schema/CVS/Root b/org.eclipse.cdt.codan.ui/schema/CVS/Root new file mode 100644 index 0000000..04efa23 --- /dev/null +++ b/org.eclipse.cdt.codan.ui/schema/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.eclipse.org:/cvsroot/tools diff --git a/org.eclipse.cdt.codan.ui/schema/CVS/Tag b/org.eclipse.cdt.codan.ui/schema/CVS/Tag new file mode 100644 index 0000000..49a449a --- /dev/null +++ b/org.eclipse.cdt.codan.ui/schema/CVS/Tag @@ -0,0 +1 @@ +NCDT_7_0_0 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 + + + + + diff --git a/org.eclipse.cdt.codan.ui/schema/codanProblemDetails.exsd b/org.eclipse.cdt.codan.ui/schema/codanProblemDetails.exsd new file mode 100644 index 0000000..87f6b94 --- /dev/null +++ b/org.eclipse.cdt.codan.ui/schema/codanProblemDetails.exsd @@ -0,0 +1,127 @@ + + + + + + + + + This extension point provides a mechanism to add extra details for a problem, which would +be displayed in Problem Details view. It can include extra locations, associated problems, +help link or extenal link. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + root element for extension. + + + + + + + Problem id for which extra details available. +If ommitted provider would be called for all problem kinds. + + + + + + + + + + + + + + + + + + + + + + + + + 1.0 + + + + + + + + + <extension + point="org.eclipse.cdt.codan.ui.codanProblemDetails"> + <problemDetails + class="org.eclipse.cdt.codan.examples.uicontrib.FlexlintHelpLink" + > + </problemDetails> + </extension> + + + + + + + + + [Enter API information here.] + + + + + + + + + See +org.eclipse.cdt.codan.examples.uicontrib.FlexlintHelpLink + + + + + -- cgit