Search in sources :

Example 1 with LocalSelectionTransfer

use of org.eclipse.ui.views.navigator.LocalSelectionTransfer in project tdi-studio-se by Talend.

the class JobHierarchyTransferDropAdapter method getSelection.

private IStructuredSelection getSelection() {
    LocalSelectionTransfer transfer = (LocalSelectionTransfer) getTransfer();
    IStructuredSelection selection = (IStructuredSelection) transfer.getSelection();
    return selection;
}
Also used : IStructuredSelection(org.eclipse.jface.viewers.IStructuredSelection) LocalSelectionTransfer(org.eclipse.ui.views.navigator.LocalSelectionTransfer)

Aggregations

IStructuredSelection (org.eclipse.jface.viewers.IStructuredSelection)1 LocalSelectionTransfer (org.eclipse.ui.views.navigator.LocalSelectionTransfer)1