Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordstadnik2006-11-03 12:28:31 +0000
committerdstadnik2006-11-03 12:28:31 +0000
commitb48fccdf88885b35be5199bc682eb528516c6a97 (patch)
tree3525385b0541f63538283af4fa8aa2170620aa92 /plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
parent2e3ddbf992b9b11b6935e87712dd90b171440c65 (diff)
downloadorg.eclipse.gmf-tooling-b48fccdf88885b35be5199bc682eb528516c6a97.tar.gz
org.eclipse.gmf-tooling-b48fccdf88885b35be5199bc682eb528516c6a97.tar.xz
org.eclipse.gmf-tooling-b48fccdf88885b35be5199bc682eb528516c6a97.zip
remove deps from core.resources
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet b/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
index 776d0c00b..2e22c3d64 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
+++ b/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
@@ -161,7 +161,7 @@ if (!genDiagram.isSynchronized()) {
try {
OperationHistoryFactory.getOperationHistory().execute(command, new NullProgressMonitor(), null);
diagramResource.save(Collections.EMPTY_MAP);
- <%=importManager.getImportedName(genDiagram.getDiagramEditorUtilQualifiedClassName())%>.openDiagramEditor(myWorkbenchPage, diagramFile);
+ <%=importManager.getImportedName(genDiagram.getDiagramEditorUtilQualifiedClassName())%>.openDiagram(diagramResource);
} catch (ExecutionException e) {
<%=pluginActivatorClass%>.getInstance().logError("Unable to create model and diagram", e); //$NON-NLS-1$
} catch (IOException ex) {

Back to the top