01: /*******************************************************************************
02: * Copyright (c) 2007 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.jdt.internal.corext.refactoring.reorg;
11:
12: import org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter;
13:
14: /**
15: * {@link ReorgDestinationFactory} can create concrete
16: * instances
17: */
18: public interface IReorgDestination {
19:
20: public static final int LOCATION_BEFORE = JdtViewerDropAdapter.LOCATION_BEFORE;
21: public static final int LOCATION_AFTER = JdtViewerDropAdapter.LOCATION_AFTER;
22: public static final int LOCATION_ON = JdtViewerDropAdapter.LOCATION_ON;
23:
24: public Object getDestination();
25:
26: public int getLocation();
27: }
|