Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/impl/diagram/update/CanonicalUpdate.xpt6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/impl/diagram/update/CanonicalUpdate.xpt b/plugins/org.eclipse.gmf.codegen/templates/impl/diagram/update/CanonicalUpdate.xpt
index 44157aff3..de5f056ab 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/impl/diagram/update/CanonicalUpdate.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/impl/diagram/update/CanonicalUpdate.xpt
@@ -324,7 +324,6 @@ private «EXPAND CodeStyle::G('java.util.Collection', editorGen.diagramUpdater.g
«EXPAND xpt::Common::generatedMemberComment»
private «EXPAND CodeStyle::G('java.util.Collection', 'org.eclipse.core.runtime.IAdaptable')» createConnections(«EXPAND CodeStyle::G('java.util.Collection', editorGen.diagramUpdater.getLinkDescriptorQualifiedClassName())» linkDescriptors, «EXPAND CodeStyle::G2('java.util.Map', 'org.eclipse.emf.ecore.EObject', 'org.eclipse.gmf.runtime.notation.View')» domain2NotationMap) {
«EXPAND CodeStyle::newGenericInstance('adapters', 'java.util.LinkedList', 'org.eclipse.core.runtime.IAdaptable')»();
- «EXPAND CodeStyle::newGenericInstance('toRefresh', 'java.util.HashSet', 'org.eclipse.gef.EditPart')»();
«EXPAND CodeStyle::iterate('nextLinkDescriptor', editorGen.diagramUpdater.getLinkDescriptorQualifiedClassName(), 'linkDescriptors')-»
org.eclipse.gef.EditPart sourceEditPart = getEditPart(nextLinkDescriptor.getSource(), domain2NotationMap);
org.eclipse.gef.EditPart targetEditPart = getEditPart(nextLinkDescriptor.getDestination(), domain2NotationMap);
@@ -345,13 +344,8 @@ private «EXPAND CodeStyle::G('java.util.Collection', 'org.eclipse.core.runtime.
if (viewAdapter != null) {
adapters.add(viewAdapter);
}
- toRefresh.add(sourceEditPart);
- toRefresh.add(targetEditPart);
}
}
- «EXPAND CodeStyle::iterate('ep', 'org.eclipse.gef.EditPart', 'toRefresh')-»
- ep.refresh();
- }
return adapters;
}
«ENDDEFINE»

Back to the top