@ Override protected void pushToSystem ( HashMap < String , Object > cacheData , int supportedActions ) { MouseInput . getInstance ( ) . notifyDragStart ( ) ; ( ( MonocleApplication ) Application . GetApplication ( ) ) . enterDnDEventLoop ( ) ; actionPerformed ( Clipboard . ACTION_COPY_OR_MOVE ) ; }
Here the magic happens . When this method is called all input events should be grabbed and appropriate drag notifications should be sent instead of regular input events