| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by any Command that supports detailed drag and drop feedback. This interface provides synonyms for all the important org.eclipse.swt.dnd.DND constants, so that commands can be written without reference to SWT.
Field Summary | |
static int | DROP_COPY
This is the same as org.eclipse.swt.dnd.DND.DROP_COPY. |
static int | DROP_LINK
This is the same as org.eclipse.swt.dnd.DND.DROP_LINK. |
static int | DROP_MOVE
This is the same as org.eclipse.swt.dnd.DND.DROP_MOVE. |
static int | DROP_NONE
This is the same as org.eclipse.swt.dnd.DND.DROP_NONE. |
static int | FEEDBACK_INSERT_AFTER
This is the same as org.eclipse.swt.dnd.DND.FEEDBACK_INSERT_AFTER. |
static int | FEEDBACK_INSERT_BEFORE
This is the same as org.eclipse.swt.dnd.DND.FEEDBACK_INSERT_BEFORE. |
static int | FEEDBACK_NONE
This is the same as org.eclipse.swt.dnd.DND.FEEDBACK_NONE. |
static int | FEEDBACK_SELECT
This is the same as org.eclipse.swt.dnd.DND.FEEDBACK_SELECT. |
Method Summary | |
int | getFeedback()
This returns one of the FEEDBACK_* values. |
int | getOperation()
This returns one of the DROP_* values. |
boolean | validate(Object owner,
float location,
int operations,
int operation,
Collection collection)
This is called repeatedly as the drag and drop information changes. |
Field Detail |
public static final int DROP_NONE
public static final int DROP_COPY
public static final int DROP_MOVE
public static final int DROP_LINK
public static final int FEEDBACK_NONE
public static final int FEEDBACK_SELECT
public static final int FEEDBACK_INSERT_BEFORE
public static final int FEEDBACK_INSERT_AFTER
Method Detail |
public boolean validate(Object owner, float location, int operations, int operation, Collection collection)
public int getFeedback()
public int getOperation()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |