use of org.eclipse.ui.views.navigator.NavigatorDragAdapter in project eclipse.platform.text by eclipse.
the class FileSearchPage method addDragAdapters.
private void addDragAdapters(StructuredViewer viewer) {
Transfer[] transfers = new Transfer[] { ResourceTransfer.getInstance() };
int ops = DND.DROP_COPY | DND.DROP_LINK;
viewer.addDragSupport(ops, transfers, new NavigatorDragAdapter(viewer));
}
Aggregations