Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2010-04-20 18:20:55 -0400
committeratikhomirov2010-04-20 18:20:55 -0400
commit64cc3e94fbbdb471bf866de8c883bf398e1b64ef (patch)
treefdb995b8b0f9e6197dd6ce9486db393e33504528
parent18a9d0aa57c7c1a9c618266d1d8e41687674e307 (diff)
downloadorg.eclipse.gmf-tooling-64cc3e94fbbdb471bf866de8c883bf398e1b64ef.tar.gz
org.eclipse.gmf-tooling-64cc3e94fbbdb471bf866de8c883bf398e1b64ef.tar.xz
org.eclipse.gmf-tooling-64cc3e94fbbdb471bf866de8c883bf398e1b64ef.zip
[300887] resolved, debug printouts removed
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DocumentProvider.xpt12
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/editor/Editor.xpt6
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/editor/ResourceSetInfo.xpt1
3 files changed, 0 insertions, 19 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DocumentProvider.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DocumentProvider.xpt
index 6bec82b6d..0a10c0273 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DocumentProvider.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DocumentProvider.xpt
@@ -552,9 +552,6 @@ protected void handleElementChanged(ResourceSetInfo info, org.eclipse.emf.ecore.
«IF null = editorGen.application-»
org.eclipse.core.resources.IFile file = org.eclipse.emf.workspace.util.WorkspaceSynchronizer.getFile(changedResource);
if (file != null) {
- // >>>
- System.err.println("[300887] " + file);
- // <<<
try {
file.refreshLocal(org.eclipse.core.resources.IResource.DEPTH_INFINITE, monitor);
} catch (org.eclipse.core.runtime.CoreException ex) {
@@ -565,17 +562,11 @@ protected void handleElementChanged(ResourceSetInfo info, org.eclipse.emf.ecore.
«ENDIF-»
changedResource.unload();
- // >>>
- System.err.println("[300887] about to be replaced");
- // <<<
fireElementContentAboutToBeReplaced(info.getEditorInput());
removeUnchangedElementListeners(info.getEditorInput(), info);
info.fStatus = null;
try {
setDocumentContent(info.fDocument, info.getEditorInput());
- // >>>
- System.err.println("[300887] doc content set");
- // <<<
} catch (org.eclipse.core.runtime.CoreException e) {
info.fStatus = e.getStatus();
}
@@ -585,9 +576,6 @@ protected void handleElementChanged(ResourceSetInfo info, org.eclipse.emf.ecore.
}
addUnchangedElementListeners(info.getEditorInput(), info);
fireElementContentReplaced(info.getEditorInput());
- // >>>
- System.err.println("[300887] content replaced fired");
- // <<<
}
«ENDDEFINE»
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/Editor.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/Editor.xpt
index 0dc0acb3a..38ad52637 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/Editor.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/Editor.xpt
@@ -51,12 +51,6 @@ public class «className» extends org.eclipse.gmf.runtime.diagram.ui.resources
«EXPAND getNavigatorSelection FOR editorGen.navigator-»
«ENDIF-»
- protected void handleElementContentReplaced() {
- System.err.println("[300887] DiagramEditor.handleElementContentReplaced.1");
- super.handleElementContentReplaced();
- System.err.println("[300887] DiagramEditor.handleElementContentReplaced.2");
- }
-
«EXPAND configureGraphicalViewer-»
«IF editorGen.diagram.generateCreateShortcutAction()-»
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/ResourceSetInfo.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/ResourceSetInfo.xpt
index 40148147a..c02536361 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/ResourceSetInfo.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/ResourceSetInfo.xpt
@@ -281,7 +281,6 @@ public boolean handleResourceChanged(final org.eclipse.emf.ecore.resource.Resour
handleElementChanged(ResourceSetInfo.this, resource, null);
}
});
- System.err.println("[300887] added async handleElementChanged " + Thread.currentThread().getName());
return true;
}
«ENDDEFINE»

Back to the top