Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#542 closed defect (fixed)

TreeDragAndDrop only allows TreeNodes to be dragged on

Reported by: ilia Owned by: ilia
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

Generally, TreeDropTarget? may accept any node.. If its not a treeNode than call a special method on it.

If method returns TreeNode? then insert it.

Change History (8)

comment:1 Changed 13 years ago by ilia

Owner: changed from anonymous to ilia

comment:2 Changed 13 years ago by ilia

I mean, TreeDropTarget? *SHOULD* accept anything. There is no real obstacle, just not implemented.

comment:3 Changed 13 years ago by bill

Component: GeneralWidgets
Milestone: 0.3release

thanks, much clearer :-) just for clarity, there are two scenarios to handle:

1) the simple case like dropping a mail message onto a folder in the tree. in this case the tree doesn't change.

2) the complicated case where you drop an object (NOT a TreeNode?) onto the tree, and it becomes a node in the tree.

comment:4 Changed 13 years ago by anonymous

2) yes, it may become a node if special method exists and it does return TreeNode? object. If no special method => error, if special method does not return then no node inserted..

comment:5 Changed 13 years ago by sjmiles

Milestone: 0.3release0.4

comment:6 Changed 13 years ago by ilia

Enhanced in TreeV3

comment:7 Changed 13 years ago by ilia

Resolution: fixed
Status: newclosed

comment:8 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.