e.status.setStatus(false);
}
}
});
TreeDropTarget dropTarget = new TreeDropTarget(binder);
dropTarget.setAllowSelfAsSource(true);
dropTarget.setFeedback(Feedback.APPEND);
dropTarget.setOperation(Operation.MOVE);
dropTarget.addDNDListener(new DNDListener() {
public void dragDrop(final DNDEvent e) {
final TreeItem target = tree.findItem(e.getTarget());
if (target != null) {
XObject wrappedObj = browserModel.getWrappedXObject((TreeNode) target.getModel());
if (wrappedObj instanceof XStaticFolder) {