public class DragSourceEffect extends DragSourceAdapter
The drag source effect has the same API as the
DragSourceAdapter so that it can provide custom visual
feedback when a
Classes that wish to provide their own drag source effect such as
displaying a default source image during a drag can extend the
class, override the
DragSourceAdapter.dragStart method and set
DragSourceEvent.image with their own image.
The image should be disposed when
DragSourceAdapter.dragFinished is called.
|Constructor and Description|
Creates a new
|Modifier and Type||Method and Description|
Returns the Control which is registered for this DragSourceEffect.
dragFinished, dragSetData, dragStart
public Control getControl()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.