From: lehtonen Date: Mon, 22 Aug 2011 18:20:05 +0000 (+0000) Subject: Moved DeleteHandler to os.diagram in preparation for making it write into graph direc... X-Git-Tag: simantics-1.5~52 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1269bcc3678316f570d57ba85b3c44c5f06a9245;p=simantics%2Fsysdyn.git Moved DeleteHandler to os.diagram in preparation for making it write into graph directly instead of using DiagramMutator. git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21845 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java index ab093a37..dad12ba0 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java @@ -27,6 +27,7 @@ import org.simantics.db.Resource; import org.simantics.db.Session; import org.simantics.db.layer0.SelectionHints; import org.simantics.diagram.handler.CopyPasteHandler; +import org.simantics.diagram.handler.DeleteHandler; import org.simantics.diagram.synchronization.IModifiableSynchronizationContext; import org.simantics.diagram.synchronization.SynchronizationHints; import org.simantics.diagram.ui.DiagramModelHints; @@ -36,7 +37,6 @@ import org.simantics.g2d.canvas.ICanvasContext; import org.simantics.g2d.canvas.impl.CanvasContext; import org.simantics.g2d.connection.IConnectionAdvisor; import org.simantics.g2d.diagram.DiagramHints; -import org.simantics.g2d.diagram.participant.DeleteHandler; import org.simantics.g2d.diagram.participant.ElementPainter; import org.simantics.g2d.diagram.participant.pointertool.PointerInteractor; import org.simantics.g2d.element.ElementClass;