Eclipse Platform
2.1

org.eclipse.ui.views.navigator
Class NavigatorDragAdapter

java.lang.Object
  |
  +--org.eclipse.swt.dnd.DragSourceAdapter
        |
        +--org.eclipse.ui.views.navigator.NavigatorDragAdapter
All Implemented Interfaces:
DragSourceListener, EventListener, org.eclipse.swt.internal.SWTEventListener

public class NavigatorDragAdapter
extends DragSourceAdapter

Implements drag behaviour when items are dragged out of the resource navigator.

Since:
2.0

Constructor Summary
NavigatorDragAdapter(ISelectionProvider provider)
          Constructs a new drag adapter.
 
Method Summary
 void dragFinished(DragSourceEvent event)
          This implementation of dragFinished does nothing.
 void dragSetData(DragSourceEvent event)
          This implementation of dragSetData does nothing.
 void dragStart(DragSourceEvent event)
          This implementation of dragStart permits the drag operation to start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigatorDragAdapter

public NavigatorDragAdapter(ISelectionProvider provider)
Constructs a new drag adapter.
Method Detail

dragFinished

public void dragFinished(DragSourceEvent event)
Description copied from class: DragSourceAdapter
This implementation of dragFinished does nothing. For additional information see DragSourceListener.dragFinished.
Overrides:
dragFinished in class DragSourceAdapter
Following copied from interface: org.eclipse.swt.dnd.DragSourceListener
Parameters:
event - the information associated with the drag finished event
See Also:
DragSourceEvent

dragSetData

public void dragSetData(DragSourceEvent event)
Description copied from class: DragSourceAdapter
This implementation of dragSetData does nothing. For additional information see DragSourceListener.dragSetData.
Overrides:
dragSetData in class DragSourceAdapter
Following copied from interface: org.eclipse.swt.dnd.DragSourceListener
Parameters:
event - the information associated with the drag set data event
See Also:
DragSourceEvent

dragStart

public void dragStart(DragSourceEvent event)
Description copied from class: DragSourceAdapter
This implementation of dragStart permits the drag operation to start. For additional information see DragSourceListener.dragStart.
Overrides:
dragStart in class DragSourceAdapter
Following copied from interface: org.eclipse.swt.dnd.DragSourceListener
Parameters:
event - the information associated with the drag start event
See Also:
DragSourceEvent

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.