]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed synchronousness problem in drag event transferable handling 54/2254/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 28 Sep 2018 06:19:02 +0000 (09:19 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 28 Sep 2018 06:19:02 +0000 (09:19 +0300)
commit96ae58fda842dcd8266192eeb1399324b092154a
tree9541aff94b09b0ec979ac97963232c42c050e15f
parent1b6efbcb17b7cf648145f83b1a82f6e1c1dce22e
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
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