Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef.dnd
Class AbstractTransferDragSourceListener

java.lang.Object
  extended by
org.eclipse.gef.dnd.AbstractTransferDragSourceListener
All Implemented Interfaces:
TransferDragSourceListener
Direct Known Subclasses:
TemplateTransferDragSourceListener

public abstract class AbstractTransferDragSourceListener
extends java.lang.Object
implements TransferDragSourceListener

An abstract implementation of TransferDragSourceListener associated with an EditPartViewer


Constructor Summary
AbstractTransferDragSourceListener ( EditPartViewer viewer)
          Constructs an AbstractTransferDragSourceListener for the given EditPartViewer.
AbstractTransferDragSourceListener ( EditPartViewer viewer, Transfer xfer)
          Constructs an AbstractTransferDragSourceListener with the specified EditPartViewer and Transfer.
 
Method Summary
 void dragFinished (DragSourceEvent event)
           
 void dragStart (DragSourceEvent event)
           
 Transfer getTransfer ()
           
protected   EditPartViewer getViewer ()
          Returns the EditPartViewer.
protected  void setTransfer (Transfer xfer)
          Sets the Transfer for this listener.
protected  void setViewer ( EditPartViewer viewer)
          Sets the EditPartViewer for this listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTransferDragSourceListener

public AbstractTransferDragSourceListener(
EditPartViewer viewer)
Constructs an AbstractTransferDragSourceListener for the given EditPartViewer.

Parameters:
viewer - the EditPartViewer

AbstractTransferDragSourceListener

public AbstractTransferDragSourceListener(
EditPartViewer viewer,
                                          Transfer xfer)
Constructs an AbstractTransferDragSourceListener with the specified EditPartViewer and Transfer.

Parameters:
viewer - the EditPartViewer
xfer - the Transfer
Method Detail

dragFinished

public void dragFinished(DragSourceEvent event)
See Also:
org.eclipse.swt.dnd.DragSourceListener#dragFinished(DragSourceEvent)

dragStart

public void dragStart(DragSourceEvent event)
See Also:
org.eclipse.swt.dnd.DragSourceListener#dragStart(DragSourceEvent)

getTransfer

public Transfer getTransfer()
See Also:
TransferDragSourceListener#getTransfer()

getViewer

protected 
EditPartViewer getViewer()
Returns the EditPartViewer.

Returns:
the EditPartViewer

setTransfer

protected void setTransfer(Transfer xfer)
Sets the Transfer for this listener.

Parameters:
xfer - the Transfer

setViewer

protected void setViewer(
EditPartViewer viewer)
Sets the EditPartViewer for this listener.

Parameters:
viewer - the EditPartViewer

Eclipse GEF
3.3

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire