org.eclipse.cdt.internal.ui.navigator
Class CNavigatorDragAdapterAssistant

java.lang.Object
  extended by org.eclipse.ui.navigator.CommonDragAdapterAssistant
      extended by org.eclipse.cdt.internal.ui.navigator.CNavigatorDragAdapterAssistant

public class CNavigatorDragAdapterAssistant
extends org.eclipse.ui.navigator.CommonDragAdapterAssistant

A Common Navigator drag assistant for ICElements being also ISourceReferences.

See Also:
SelectionTransferDragAdapter

Constructor Summary
CNavigatorDragAdapterAssistant()
           
 
Method Summary
 org.eclipse.swt.dnd.Transfer[] getSupportedTransferTypes()
           
 boolean setDragData(org.eclipse.swt.dnd.DragSourceEvent event, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 
Methods inherited from class org.eclipse.ui.navigator.CommonDragAdapterAssistant
getContentService, getShell, setContentService
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CNavigatorDragAdapterAssistant

public CNavigatorDragAdapterAssistant()
Method Detail

getSupportedTransferTypes

public org.eclipse.swt.dnd.Transfer[] getSupportedTransferTypes()
Specified by:
getSupportedTransferTypes in class org.eclipse.ui.navigator.CommonDragAdapterAssistant

setDragData

public boolean setDragData(org.eclipse.swt.dnd.DragSourceEvent event,
                           org.eclipse.jface.viewers.IStructuredSelection selection)
Specified by:
setDragData in class org.eclipse.ui.navigator.CommonDragAdapterAssistant