01: package org.apache.ojb.tools.mapping.reversedb2.dnd2;
02:
03: /* Copyright 2002-2005 The Apache Software Foundation
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: import java.awt.dnd.DnDConstants;
19:
20: /** This interface just contains the constants used within the DnD framework
21: * @author <a href="mailto:bfl@florianbruckner.com">Florian Bruckner</a>
22: * @version $Id: DnDWorkerConstants.java,v 1.1.2.1 2005/12/21 22:32:42 tomdz Exp $
23: */
24: public interface DnDWorkerConstants {
25: /** No action is acceptable or has been performed (depending on the
26: * context this constant is used in)
27: */
28: public static final int NONE = DnDConstants.ACTION_NONE;
29:
30: /** A "copy" action is acceptable or has been performed (depending on the
31: * context this constant is used in)
32: */
33: public static final int DRAG_COPY = DnDConstants.ACTION_COPY;
34:
35: /** A "move" action is acceptable or has been performed (depending on the
36: * context this constant is used in)
37: */
38: public static final int DRAG_MOVE = DnDConstants.ACTION_MOVE;
39:
40: /** A "link" action is acceptable or has been performed (depending on the
41: * context this constant is used in)
42: */
43: public static final int DRAG_LINK = DnDConstants.ACTION_LINK;
44:
45: /** A clipboard copy action is requested or has been performed, depending on the
46: * context this constant is used in.
47: */
48: public static final int CLIP_COPY = 0xFE;
49:
50: /** A clipboard cut action is requested or has been performed. */
51: public static final int CLIP_CUT = 0xFF;
52: }
|