#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 15 years ago by
Owner: | changed from anonymous to ilia |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Component: | General → Widgets |
---|---|
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 15 years ago by
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 15 years ago by
Milestone: | 0.3release → 0.4 |
---|
comment:7 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I mean, TreeDropTarget? *SHOULD* accept anything. There is no real obstacle, just not implemented.