Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-04-21 17:11:59 +0000
committerashatalin2006-04-21 17:11:59 +0000
commitcabb22db66b75980a70749a2d0f652a3507cefd6 (patch)
tree2c523422446882d95ec383f5cb91ba0a0bb5eea3 /plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
parent559a6d6a148a78d1bdd01daf7e7f1310c612e489 (diff)
downloadorg.eclipse.gmf-tooling-cabb22db66b75980a70749a2d0f652a3507cefd6.tar.gz
org.eclipse.gmf-tooling-cabb22db66b75980a70749a2d0f652a3507cefd6.tar.xz
org.eclipse.gmf-tooling-cabb22db66b75980a70749a2d0f652a3507cefd6.zip
#137999 Generate pure static VisualIDRegisrty classes
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 0f5ded03d..474fa288f 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
+++ b/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
@@ -122,7 +122,7 @@ public class <%=genDiagram.getNewDiagramFileWizardClassName()%> extends Wizard {
AbstractTransactionalCommand command = new AbstractTransactionalCommand(myEditingDomain, "Initializing diagram contents", affectedFiles) { //$NON-NLS-1$
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- int diagramVID = <%=importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())%>.INSTANCE.getDiagramVisualID(diagramModelObject);
+ int diagramVID = <%=importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())%>.getDiagramVisualID(diagramModelObject);
if (diagramVID != <%=importManager.getImportedName(genDiagram.getEditPartQualifiedClassName())%>.VISUAL_ID) {
return CommandResult.newErrorCommandResult("Incorrect model object stored as a root resource object"); //$NON-NLS-1$
}

Back to the top