Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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 78076bb0b..7f420d66b 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
+++ b/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
@@ -106,7 +106,7 @@ public class <%=genDiagram.getNewDiagramFileWizardClassName()%> extends Wizard {
IContainer parentContainer = mySelectedModelFile.getParent();
String originalFileName = mySelectedModelFile.getProjectRelativePath().removeFileExtension().lastSegment();
- String fileExtension = ".<%=editorGen.getDiagramFileExtension()%>";
+ String fileExtension = ".<%=editorGen.getDiagramFileExtension()%>"; //$NON-NLS-1$
String fileName = originalFileName + fileExtension;
for (int i = 1; parentContainer.getFile(new Path(fileName)).exists(); i++) {
fileName = originalFileName + i + fileExtension;

Back to the top