Author: akazakov
Date: 2010-12-02 14:50:18 -0500 (Thu, 02 Dec 2010)
New Revision: 27125
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
Log:
https://jira.jboss.org/browse/JBIDE-7674
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-12-02
18:37:50 UTC (rev 27124)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-12-02
19:50:18 UTC (rev 27125)
@@ -180,7 +180,8 @@
@Override
public void init(IProject project, ContextValidationHelper validationHelper,
org.eclipse.wst.validation.internal.provisional.core.IValidator manager,
IReporter reporter) {
- super.init(project, validationHelper, manager, reporter, MESSAGE_ID_ATTRIBUTE_NAME);
+ super.init(project, validationHelper, manager, reporter);
+ setMessageIdQuickFixAttributeName(MESSAGE_ID_ATTRIBUTE_NAME);
if(projectSet==null) {
getValidatingProjects(project);
}
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2010-12-02
18:37:50 UTC (rev 27124)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2010-12-02
19:50:18 UTC (rev 27125)
@@ -81,7 +81,7 @@
}
public void init(IProject project, ContextValidationHelper validationHelper, IValidator
manager, IReporter reporter, String messageIdQuickFixAttributeName) {
- init(project, validationHelper, manager, reporter);
+ this.init(project, validationHelper, manager, reporter);
setMessageIdQuickFixAttributeName(messageIdQuickFixAttributeName);
}