From: lempinen Date: Thu, 27 May 2010 14:27:30 +0000 (+0000) Subject: git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@15965 ac1ea38d-2e2b... X-Git-Tag: simantics-1.2.0~234 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=2d0994fea56e092c1d199ec853e52fb832b9352f;p=simantics%2Fsysdyn.git git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@15965 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java index 05d41f6e..f6ea01a3 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java @@ -91,8 +91,6 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void elementRemoved(IElement element) { - mapping.rangeModified(element); - mapping.rangeModified(diagram); } }; @@ -166,6 +164,8 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void elementRemoved(IElement element) { + mapping.rangeModified(element); + mapping.rangeModified(diagram); } }); @@ -182,7 +182,6 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void run(ReadGraph g) throws DatabaseException { diagramResource = g.getSingleObject(getInputResource(), ModelingResources.getInstance(g).CompositeToDiagram); - System.out.println(diagramResource); readDiagram(g); }