Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2010-04-30 22:26:04 +0000
committeratikhomirov2010-04-30 22:26:04 +0000
commit21e0cca06f9f2621b30d24f728e8acc79d8cab86 (patch)
tree5f55cb4a294311d06b1455a7692b0a98d963e430 /plugins
parent619d907224ba7f31d3d143596c217827cde76c50 (diff)
downloadorg.eclipse.gmf-tooling-21e0cca06f9f2621b30d24f728e8acc79d8cab86.tar.gz
org.eclipse.gmf-tooling-21e0cca06f9f2621b30d24f728e8acc79d8cab86.tar.xz
org.eclipse.gmf-tooling-21e0cca06f9f2621b30d24f728e8acc79d8cab86.zip
cast for Java 1.4v20100430-2359
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DiagramEditorUtil.xpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DiagramEditorUtil.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DiagramEditorUtil.xpt
index 43793aef9..1b77077e0 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DiagramEditorUtil.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/editor/DiagramEditorUtil.xpt
@@ -335,7 +335,7 @@ public class «diagramEditorUtilClassName» {
if(hasStructuralURI && !lazyElement2ViewMap.getElement2ViewMap().isEmpty()) {
view = «EXPAND CodeStyle::castTyped('org.eclipse.gmf.runtime.notation.View')»lazyElement2ViewMap.getElement2ViewMap().get(targetElement);
} else if (findElementsInDiagramByID(diagramEditPart, targetElement, editPartHolder) > 0) {
- org.eclipse.gef.EditPart editPart = editPartHolder.get(0);
+ org.eclipse.gef.EditPart editPart = «EXPAND CodeStyle::castTyped('org.eclipse.gef.EditPart')»editPartHolder.get(0);
view = editPart.getModel() instanceof org.eclipse.gmf.runtime.notation.View ? (org.eclipse.gmf.runtime.notation.View) editPart.getModel() : null;
}

Back to the top