1 11 12 package org.eclipse.ui.internal.navigator.extensions; 13 14 import org.eclipse.jface.viewers.IStructuredSelection; 15 import org.eclipse.swt.dnd.DragSourceEvent; 16 import org.eclipse.swt.dnd.Transfer; 17 import org.eclipse.ui.navigator.CommonDragAdapterAssistant; 18 19 25 public final class SkeletonCommonDragAssistant extends 26 CommonDragAdapterAssistant { 27 28 31 public static final SkeletonCommonDragAssistant INSTANCE = new SkeletonCommonDragAssistant(); 32 33 private static final Transfer[] NO_TRANSFER_TYPES = new Transfer[0]; 34 35 private SkeletonCommonDragAssistant() { 36 } 37 38 43 public Transfer[] getSupportedTransferTypes() { 44 return NO_TRANSFER_TYPES; 45 } 46 47 53 public boolean setDragData(DragSourceEvent anEvent, 54 IStructuredSelection aSelection) { 55 return false; 56 57 } 58 59 } 60 | Popular Tags |