Eclipse Platform
2.0

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 DropTargetListener.dragFinished.

Specified by:
dragFinished in interface DragSourceListener
Overrides:
dragFinished in class DragSourceAdapter
Parameters:
event - the information associated with the drag finished event
See Also:
DragSourceListener.dragFinished(org.eclipse.swt.dnd.DragSourceEvent)

dragSetData

public void dragSetData(DragSourceEvent event)
Description copied from class: DragSourceAdapter
This implementation of dragSetData does nothing. For additional information see DropTargetListener.dragSetData.

Specified by:
dragSetData in interface DragSourceListener
Overrides:
dragSetData in class DragSourceAdapter
Parameters:
event - the information associated with the drag set data event
See Also:
DragSourceListener.dragSetData(org.eclipse.swt.dnd.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 DropTargetListener.dragStart.

Specified by:
dragStart in interface DragSourceListener
Overrides:
dragStart in class DragSourceAdapter
Parameters:
event - the information associated with the drag start event
See Also:
DragSourceListener.dragStart(org.eclipse.swt.dnd.DragSourceEvent)

Eclipse Platform
2.0

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