Author: akazakov
Date: 2012-08-15 18:57:38 -0400 (Wed, 15 Aug 2012)
New Revision: 43049
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java
Log:
https://issues.jboss.org/browse/JBIDE-10611 As-you-type CDI validation
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java 2012-08-15
19:47:46 UTC (rev 43048)
+++
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java 2012-08-15
22:57:38 UTC (rev 43049)
@@ -18,6 +18,7 @@
import java.util.Map;
import java.util.Set;
+import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
@@ -80,6 +81,7 @@
*/
public void setAsYouTypeValidation(boolean asYouTypeValidation) {
this.asYouTypeValidation = asYouTypeValidation;
+ dirtyFiles = asYouTypeValidation?new
HashSet<IFile>():EclipseUIUtil.getDirtyFiles();
}
public void addProblem(String message, String preferenceKey, ITextSourceReference
location, IResource target) {