public void dragAndDropOn ( QuickWidget widget , DropPosition dropPos ) { /* * FIXME: Handle MousePosition */ Point currentLocation = getCenterLocation ( ) ; Point dropPoint = getDropPoint ( widget , dropPos ) ; List < ModifierPressed > alist = new ArrayList < ModifierPressed > ( ) ; alist . add ( ModifierPressed . NONE ) ; getSystemInputManager ( ) . mouseDown ( currentLocation , MouseButton . LEFT , alist ) ; getSystemInputManager ( ) . mouseMove ( dropPoint , MouseButton . LEFT , alist ) ; getSystemInputManager ( ) . mouseUp ( dropPoint , MouseButton . LEFT , alist ) ; }
Drags this widget onto the specified widget at the given drop position