Author: scabanovich
Date: 2011-07-29 15:20:21 -0400 (Fri, 29 Jul 2011)
New Revision: 33361
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/AbstractExtendedXMLFileImpl.java
Log:
JBIDE-9408
https://issues.jboss.org/browse/JBIDE-9408
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/AbstractExtendedXMLFileImpl.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/AbstractExtendedXMLFileImpl.java 2011-07-29
19:19:39 UTC (rev 33360)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/AbstractExtendedXMLFileImpl.java 2011-07-29
19:20:21 UTC (rev 33361)
@@ -264,7 +264,9 @@
}
set("actualBodyTimeStamp", "" + getTimeStamp()); //$NON-NLS-1$
//$NON-NLS-2$
if(errors1) m.fireStructureChanged(this);
- if(!isOverlapped) constraintChecker.check();
+ if(!isOverlapped) {
+ check();
+ }
} else {
//old edit by replace
p.removeChild_0(this);
@@ -274,6 +276,10 @@
if(!isOverlapped) f.getResourceMarkers().update();
}
}
+
+ public void check() {
+ constraintChecker.check();
+ }
protected void safeChangeTimeStamp() {
boolean b = ("" +
getTimeStamp()).equals(get("actualBodyTimeStamp")); //$NON-NLS-1$ //$NON-NLS-2$