01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.part;
11:
12: /**
13: * Interface for actions supplied by extensions to the
14: * org.eclipse.ui.dropActions extension point.
15: */
16: public interface IDropActionDelegate {
17: /**
18: * Runs the drop action on the given source and target.
19: * @param source The object that is being dragged.
20: * @param target The object that the drop is occurring over.
21: * @return boolean True if the drop was successful, and false otherwise.
22: */
23: public boolean run(Object source, Object target);
24: }
|