]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@22523 ac1ea38d-2e2b...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 4 Oct 2011 10:19:16 +0000 (10:19 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 4 Oct 2011 10:19:16 +0000 (10:19 +0000)
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java

index e60036533942fe732a789e9bfc759e01177f9598..b4efb9857712df006266f6affa53b6062c342e22 100644 (file)
@@ -147,7 +147,7 @@ public class DiagramViewer extends org.simantics.modeling.ui.diagramEditor.Diagr
        @Override\r
        protected void addKeyBindingParticipants(CanvasContext ctx) {\r
                ctx.add(new DeleteHandler(getEditorSite().getActionBars().getStatusLineManager()));\r
-               ctx.add(new CopyPasteHandler(getEditorSite().getActionBars().getStatusLineManager()));\r
+               ctx.add(new CopyPasteHandler(getEditorSite().getActionBars().getStatusLineManager()).setWorkbenchSite(getEditorSite()));\r
                ctx.add(new CreateVariablesShortcutParticipant(synchronizer));\r
        }\r
 \r