Author: dazarov
Date: 2012-07-09 13:18:15 -0400 (Mon, 09 Jul 2012)
New Revision: 42470
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/TempJavaProblem.java
Log:
Make Quick Fix "Configure Problem Severity" work on Temporary annotations
https://issues.jboss.org/browse/JBIDE-12232
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/TempJavaProblem.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/TempJavaProblem.java 2012-07-09
16:57:20 UTC (rev 42469)
+++
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/TempJavaProblem.java 2012-07-09
17:18:15 UTC (rev 42470)
@@ -20,11 +20,7 @@
* @author Victor V. Rubezhny
*/
public class TempJavaProblem extends CategorizedProblem {
- // TODO for dazarov. Why are you using EL marker type for all the java problems?
- // AsYouType EL Validation 'marker type' name.
- // marker type is used in the quickFixProcessor extension point
-// public static final String MARKER_TYPE =
"org.jboss.tools.common.validation.el"; //$NON-NLS-1$
- public static final String MARKER_TYPE = "TODO";
+ public static final String MARKER_TYPE =
"org.jboss.tools.common.validation.temp"; //$NON-NLS-1$
/** The end offset of the problem */
private int fSourceEnd= 0;
@@ -45,7 +41,7 @@
private ValidationMessage vMessage;
- public static final int EL_PROBLEM_ID= 0x88000000;
+ public static final int TEMP_PROBLEM_ID= 0x88000000;
/**
* Initialize with the given parameters.
@@ -76,7 +72,7 @@
* @see org.eclipse.jdt.core.compiler.IProblem#getID()
*/
public int getID() {
- return EL_PROBLEM_ID;
+ return TEMP_PROBLEM_ID;
}
/*