net.sourceforge.geeboss.controller.dnd
Class PatchTreeDnd

java.lang.Object
  extended by net.sourceforge.geeboss.controller.dnd.PatchTreeDnd

public class PatchTreeDnd
extends java.lang.Object

Drag and drop sample file


Constructor Summary
PatchTreeDnd(PatchTree patchTree)
          Instantiate a new PatchTreeDnd
 
Method Summary
 void dispose()
          Dispose DragSource and DragTarget
 org.eclipse.swt.widgets.Item getDragSourceItem()
          Get the item that is currently being dragged.
 void setDragSourceItem(org.eclipse.swt.widgets.Item dragSourceItem)
          Set the item that is currently being dragged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchTreeDnd

public PatchTreeDnd(PatchTree patchTree)
Instantiate a new PatchTreeDnd

Parameters:
patchTree - the patch tree
Method Detail

dispose

public void dispose()
Dispose DragSource and DragTarget


getDragSourceItem

public org.eclipse.swt.widgets.Item getDragSourceItem()
Get the item that is currently being dragged. This may either be a treeitem or a tabitem

Returns:
Item The item that is currently dragged

setDragSourceItem

public void setDragSourceItem(org.eclipse.swt.widgets.Item dragSourceItem)
Set the item that is currently being dragged. This may either be a treeitem or a tabitem.

Parameters:
dragSourceItem - The dragged item


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.