public boolean doBeforeNodeDrop( TreePanel treePanel, TreeNode target, DragData dragData, String point,
DragDrop source, TreeNode dropNode, DropNodeCallback dropNodeCallback ) {
try {
if ( dragData instanceof TreeDragData ) {
IGWTFolder sourceFolder = (IGWTFolder) dropNode.getUserObject();
IGWTFolder targedFolder = (IGWTFolder) target.getUserObject();
ActionRegistry.MOVE_FOLDER.get( MoveFolderAction.class ).moveFolder( sourceFolder.getId(),
targedFolder.getId() );
return true;
}
else if ( dragData instanceof GridDragData ) {
if ( POINT_APPEND.equals( point ) ) {