|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.dnd.DragSourceAdapter
org.eclipse.ui.views.navigator.NavigatorDragAdapter
org.eclipse.gmf.runtime.common.ui.services.dnd.ide.drag.ResourceDragSourceListener
Concrete class that implements the IDragSourceListener. This class handles dragging files and folder elements.
| Constructor Summary | |
ResourceDragSourceListener(ISelectionProvider provider)
Constructs a new drag listener. |
|
| Method Summary | |
java.lang.String[] |
getSupportingTransferIds()
Returns the supporting transfer agent ids. |
boolean |
isDraggable(IDragSourceContext context)
Determines if the selection in the context is draggable. |
| Methods inherited from class org.eclipse.ui.views.navigator.NavigatorDragAdapter |
dragFinished, dragSetData, dragStart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.swt.dnd.DragSourceListener |
dragFinished, dragSetData, dragStart |
| Constructor Detail |
public ResourceDragSourceListener(ISelectionProvider provider)
provider - the selection provider| Method Detail |
public boolean isDraggable(IDragSourceContext context)
IDragSourceListener
isDraggable in interface IDragSourceListenercontext - The context associated with the drag source
public java.lang.String[] getSupportingTransferIds()
IDragSourceListener
getSupportingTransferIds in interface IDragSourceListener
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.