Author: scabanovich
Date: 2008-10-21 11:10:09 -0400 (Tue, 21 Oct 2008)
New Revision: 11054
Modified:
branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
Log:
JBIDE-2780
Modified:
branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
===================================================================
---
branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2008-10-21
15:08:11 UTC (rev 11053)
+++
branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2008-10-21
15:10:09 UTC (rev 11054)
@@ -222,6 +222,8 @@
return;
}
// if(item.isUpToDate()) return;
+ boolean iud = item.isUpToDate();
+ long ts = item.getTimeStamp();
item.notifyUpdate();
XModelObject sourcePage = item.getReference();
item.setAttributeValue(ATTR_ID, sourcePage.getPathPart());
@@ -234,6 +236,9 @@
item.setAttributeValue("params", sb.toString());
XModelObject[] cs = getPageTargets(sourcePage);
updateOutputs(item, cs);
+ if(!iud && ts == item.getTimeStamp()) {
+ item.fireReferenceChanged();
+ }
}
private void updateUndeclaredPageItem(ReferenceObjectImpl item) {