Eclipse Platform
Release 3.2

org.eclipse.ui.navigator
Interface ICommonDropActionDelegate

All Superinterfaces:
IDropActionDelegate

public interface ICommonDropActionDelegate
extends IDropActionDelegate

Used by the org.eclipse.ui.navigator.dropHandler extension point to carry out pluggable Drag and Drop actions.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is a guarantee neither that this API will work nor that it will remain the same. Please do not use this API without consulting with the Platform/UI team.

Clients may implement this interface.

Since:
3.2

Method Summary
 void init(CommonViewer aViewer)
           Perform any necessary initialization using the CommonViewer.
 boolean run(ICommonDropAdapter dropAdapter, Object source, Object target)
          Carry out the DND operation
 
Methods inherited from interface org.eclipse.ui.part.IDropActionDelegate
run
 

Method Detail

init

public void init(CommonViewer aViewer)

Perform any necessary initialization using the CommonViewer.

Parameters:
aViewer - The instance of CommonViewerthat the current ICommonDropActionDelegate will be associated with

run

public boolean run(ICommonDropAdapter dropAdapter,
                   Object source,
                   Object target)
Carry out the DND operation

Parameters:
dropAdapter - The adapter to handle the drop.
source - The object being dragged
target - The object being dragged onto
Returns:
True if the operation completed.

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

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