Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-03-14 17:40:28 +0000
committerashatalin2006-03-14 17:40:28 +0000
commit02c8c6c5108776420a7aee7778e8e04234b0bfe1 (patch)
tree169aa43bda05cffe936795f9491eed819231542a /plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
parentfb5a941aca78eec22a0a16936ea6d8100c38d3b6 (diff)
downloadorg.eclipse.gmf-tooling-02c8c6c5108776420a7aee7778e8e04234b0bfe1.tar.gz
org.eclipse.gmf-tooling-02c8c6c5108776420a7aee7778e8e04234b0bfe1.tar.xz
org.eclipse.gmf-tooling-02c8c6c5108776420a7aee7778e8e04234b0bfe1.zip
#131543 Correcting InitDiagramFile logic
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet b/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
index c25a8f35a..417640614 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
+++ b/plugins/org.eclipse.gmf.codegen/templates/editor/NewDiagramFileWizard.javajet
@@ -10,18 +10,6 @@ final ImportAssistant importManager = (ImportAssistant) ((Object[]) argument)[1]
final GenEditorGenerator editorGen = genDiagram.getEditorGen();
final String modelID = editorGen.getModelID();
final String pluginActivatorClass = importManager.getImportedName(editorGen.getPlugin().getActivatorQualifiedClassName());
-List genLinks = genDiagram.getLinks();
-
-// Collecting all phantom elements
-Map genClass2Phantom = new LinkedHashMap();
-for (Iterator topLevelNodes = genDiagram.getTopLevelNodes().iterator(); topLevelNodes.hasNext();) {
- GenTopLevelNode nextTopLevelNode = (GenTopLevelNode) topLevelNodes.next();
- TypeModelFacet nextModelFacet = nextTopLevelNode.getModelFacet();
- if (!nextModelFacet.isPhantomElement()) {
- continue;
- }
- genClass2Phantom.put(nextModelFacet.getMetaClass(), nextTopLevelNode);
-}
%>
<%@ include file="../copyright4java.jetinc"%>
<%

Back to the top