Eclipse Platform
Release 3.2

org.eclipse.ui.views.navigator
Class LocalSelectionTransfer

java.lang.Object
  extended byorg.eclipse.swt.dnd.Transfer
      extended byorg.eclipse.swt.dnd.ByteArrayTransfer
          extended byorg.eclipse.jface.util.LocalSelectionTransfer
              extended byorg.eclipse.ui.views.navigator.LocalSelectionTransfer

public class LocalSelectionTransfer
extends LocalSelectionTransfer

A LocalSelectionTransfer may be used for drag and drop operations within the same instance of Eclipse. The selection is made available directly for use in the DropTargetListener. dropAccept method. The DropTargetEvent passed to dropAccept does not contain the drop data. The selection may be used for validation purposes so that the drop can be aborted if appropriate. This class is not intended to be subclassed.

Since:
2.1

Method Summary
static LocalSelectionTransfer getInstance()
          Returns the singleton.
 
Methods inherited from class org.eclipse.jface.util.LocalSelectionTransfer
getSelection, getSelectionSetTime, getTransfer, getTypeIds, getTypeNames, javaToNative, nativeToJava, setSelection, setSelectionSetTime
 
Methods inherited from class org.eclipse.swt.dnd.ByteArrayTransfer
getSupportedTypes, isSupportedType
 
Methods inherited from class org.eclipse.swt.dnd.Transfer
registerType, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LocalSelectionTransfer getInstance()
Returns the singleton.

Returns:
the singleton

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.