01: /*******************************************************************************
02: * Copyright (c) 2004, 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.internal.dnd;
11:
12: import org.eclipse.swt.graphics.Cursor;
13: import org.eclipse.swt.graphics.Rectangle;
14:
15: /**
16: */
17: public abstract class AbstractDropTarget implements IDropTarget {
18: /* (non-Javadoc)
19: * @see org.eclipse.ui.internal.dnd.IDropTarget#drop()
20: */
21: public abstract void drop();
22:
23: /* (non-Javadoc)
24: * @see org.eclipse.ui.internal.dnd.IDropTarget#getCursor()
25: */
26: public abstract Cursor getCursor();
27:
28: /* (non-Javadoc)
29: * @see org.eclipse.ui.internal.dnd.IDropTarget#getSnapRectangle()
30: */
31: public Rectangle getSnapRectangle() {
32: return null;
33: }
34: }
|