From 791ff12faedbe7fbd95a0e6d26682243dbac3dda Mon Sep 17 00:00:00 2001 From: Alena Laskavaia Date: Wed, 4 Aug 2010 01:23:33 +0000 Subject: [PATCH] added comment to checkers schema --- .../schema/checkers.exsd | 37 +++++++++++++------ 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/codan/org.eclipse.cdt.codan.core/schema/checkers.exsd b/codan/org.eclipse.cdt.codan.core/schema/checkers.exsd index 92a2ca56879..6634a51baf2 100644 --- a/codan/org.eclipse.cdt.codan.core/schema/checkers.exsd +++ b/codan/org.eclipse.cdt.codan.core/schema/checkers.exsd @@ -53,7 +53,8 @@ - Checker Element. Sets id, name and class that implements checker + Checker Element. +Sets id, name and class that implements checker @@ -80,7 +81,7 @@ - User Friendly name of the chcker or error. Would be display to enable/disable an error. + User Friendly name of the chcker, currently not used. Will default to a class name. @@ -93,7 +94,7 @@ - Problem description (Error, Warning, Info produced by a checker) + Problem meta-data. @@ -107,7 +108,8 @@ - User Friendly name of the error. Would be display to enable/disable an error. + User Friendly name of the error. Would be displyed to enable/disable a problem and get access to problem properties. +Should be as short as possible, but recogniziable. @@ -117,7 +119,7 @@ - + Set defult problem severity. User can override later. Default is Warning. @@ -134,7 +136,7 @@ - + Category id for the problem. There are few that are defined in core codan plugin, other user defined. If none specified it would be "Programming Problems". @@ -151,7 +153,15 @@ - Default error message pattern. Use java pattern notation such as {0} to replace with first argument, and so on. + Default error message pattern. Use java pattern notation (such as {0} to replace with first problem argument, and so on. To place single quote ' in a message - use quot symbol twice ''). +For example message pattern +Invalid argument ''{0}'' + +would be printed as + +Invalid argument 'xxx' + +where xxx what checker would post as an argument for the problem. @@ -161,7 +171,7 @@ - Short description of the problem + Short description of the problem. Help user to understand that message means. Can be used as tooltip. @@ -182,18 +192,23 @@ + + + Category for problem. Allows to group problems for the user. + + - + Unique qualified category id. - + User visible name of the category @@ -203,7 +218,7 @@ - + Id of the parent category. Root is used if not specified.