]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed synchronousness problem in drag event transferable handling 86/2686/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 28 Sep 2018 06:19:02 +0000 (09:19 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 25 Feb 2019 10:21:25 +0000 (10:21 +0000)
commit8257c30918a213e580e048171078c7689926d68f
treea193872bbcc25167c234f9a0f2a667fdeb3d2a17
parentc92d827b26188f3c8cf6ae419576be5bb3f6b287
Fixed synchronousness problem in drag event transferable handling

Previously handleEvent would post the event for asynchronous handling
while handling the drag starting via Transferable requires the drag to
be started synchronously within the AWT drag start event handler.

Added syncHandleEvent to AbstractEventHandler to support this.

gitlab #112

Change-Id: I694844fbfc1be74b9f6b620afc8fc441a0ab4d31
(cherry picked from commit 96ae58fda842dcd8266192eeb1399324b092154a)
bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextNode.java
bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/events/adapter/AWTMouseEventAdapter.java
bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/events/adapter/AbstractEventAdapter.java