Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordstadnik2006-11-01 12:47:28 +0000
committerdstadnik2006-11-01 12:47:28 +0000
commita27f499d4d59dffad6b7d051cc7f573505521280 (patch)
tree7ea6f05261fddde202b764dea3969e856236c9ad
parentf56248d1df2991d9359bb5f237dba369794486c6 (diff)
downloadorg.eclipse.gmf-tooling-a27f499d4d59dffad6b7d051cc7f573505521280.tar.gz
org.eclipse.gmf-tooling-a27f499d4d59dffad6b7d051cc7f573505521280.tar.xz
org.eclipse.gmf-tooling-a27f499d4d59dffad6b7d051cc7f573505521280.zip
regenerated
-rw-r--r--examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/part/TaiPanDocumentProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/part/TaiPanDocumentProvider.java b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/part/TaiPanDocumentProvider.java
index 6c05f8584..c21ac7833 100644
--- a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/part/TaiPanDocumentProvider.java
+++ b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/part/TaiPanDocumentProvider.java
@@ -97,7 +97,7 @@ public class TaiPanDocumentProvider extends FileDiagramDocumentProvider {
for (Iterator it = resources.iterator(); it.hasNext();) {
Resource nextResource = (Resource) it.next();
monitor.setTaskName("Saving " + nextResource.getURI()); //$NON-NLS-1$
- if (nextResource != diagramResource && nextResource.isLoaded() && nextResource.isModified()) {
+ if (nextResource != diagramResource && nextResource.isLoaded() && (!nextResource.isTrackingModification() || nextResource.isModified())) {
try {
nextResource.save(Collections.EMPTY_MAP);
} catch (IOException e) {

Back to the top