public abstract class DNDDragListener<TYPE> extends DragSourceAdapter
| Modifier | Constructor and Description |
|---|---|
protected |
DNDDragListener(StructuredViewer viewer) |
protected |
DNDDragListener(Transfer[] transfers,
StructuredViewer viewer) |
| Modifier and Type | Method and Description |
|---|---|
void |
dragSetData(DragSourceEvent event) |
void |
dragStart(DragSourceEvent event) |
protected abstract TYPE |
getObject(IStructuredSelection selection) |
Transfer[] |
getTransfers() |
StructuredViewer |
getViewer() |
void |
setTransfers(Transfer[] transfers) |
dragFinishedprotected DNDDragListener(Transfer[] transfers, StructuredViewer viewer)
protected DNDDragListener(StructuredViewer viewer)
public Transfer[] getTransfers()
public void setTransfers(Transfer[] transfers)
public StructuredViewer getViewer()
public void dragSetData(DragSourceEvent event)
dragSetData in interface DragSourceListenerdragSetData in class DragSourceAdapterpublic void dragStart(DragSourceEvent event)
dragStart in interface DragSourceListenerdragStart in class DragSourceAdapterprotected abstract TYPE getObject(IStructuredSelection selection)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html