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

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

  




 

 

Runtime

org.eclipse.gmf.runtime.common.ui.services.dnd.drop
Class SelectionDropAdapter

java.lang.Object
  extended by 

org.eclipse.gmf.runtime.common.ui.services.dnd.drop.TransferDropTargetAdapter
      extended by 
org.eclipse.gmf.runtime.common.ui.services.dnd.drop.SelectionDropAdapter
All Implemented Interfaces:
java.util.EventListener, ITransferDropTargetListener, DropTargetListener, org.eclipse.swt.internal.SWTEventListener

public class SelectionDropAdapter
extends TransferDropTargetAdapter

Concrete implementation of the transfer drop target adapter for the selection transfer type.


Constructor Summary
SelectionDropAdapter ( ITransferAgent transferAgent)
          Constructor for SelectionDropAdapter.
 
Method Summary
 boolean canSupport ( DropTargetEvent event)
          Returns whether the drop operation for the current drop event is supported by this listener.
 
Methods inherited from class org.eclipse.gmf.runtime.common.ui.services.dnd.drop. TransferDropTargetAdapter
canSupportTransferData, dragEnter, dragLeave, dragOperationChanged, dragOver, drop, dropAccept, getContext, getListener, getTransferAgent, init, isSupportingListenerAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionDropAdapter

public SelectionDropAdapter(
ITransferAgent transferAgent)
Constructor for SelectionDropAdapter.

Parameters:
transferAgent - ITransferAgent to use
Method Detail

canSupport

public boolean canSupport(
DropTargetEvent event)
Description copied from interface: ITransferDropTargetListener
Returns whether the drop operation for the current drop event is supported by this listener. This listener will have access to the IDropActionContext and the current drop target listener when this method is invoked.

Specified by:
canSupport in interface ITransferDropTargetListener
Overrides:
canSupport in class TransferDropTargetAdapter
Parameters:
event - The drop target event
Returns:
true if can support, false otherwise

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


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