Hi Caspar,

I think, the following would be a simple and consistent behaviour:

Simple dragging should remove the previous parent, and add the dropped on
node as a new parent.

Ctrl+dragging should add the dropped on node as a new parent but should not
remove the previous parent. (On Mac Cmd+dragging)

Of course, if you decided not to include this feature, I respect that.

Cheers,
Miklos

On 1 July 2013 10:41, Goch, Caspar Jonas <[email protected]> wrote:

>  Hi Miklos,****
>
> ** **
>
> this feature has been discussed many times internally and we have finally
> decided to consciously not include it. The main problem is, that currently
> a node may have more than one parent in the data storage and when dragging
> and dropping it on another node it is not clear what should happen:****
>
> Should the dropped on node be the only parent?****
>
> Should it be added as a parent?****
>
> Should one of the parents be displaced?****
>
> ** **
>
> Because of this ambiguity we do not want to include this functionality for
> the data manager.****
>
> ** **
>
> Thank you for asking though,****
>
> Caspar****
>
> ** **
>
> *Von:* Miklos Espak [mailto:[email protected]]
> *Gesendet:* Freitag, 28. Juni 2013 17:01
> *An:* mitk-users
> *Betreff:* [mitk-users] data manager, make nodes derived by drag and drop*
> ***
>
> ** **
>
> Hi,****
>
> I added a little tweak to the data manager.****
>
> Currently, you can reorder the children of the same node by drag and drop
> to change their layer property. The proposed change distinguishes if the
> node has been dropped right on another or between two nodes. If in between,
> then the same is done as now. ****
>
> However, if the node is dropped *on* another then it will be removed from
> its parent and added to that node as a child. Also if it is dropped between
> nodes that have different parent.****
>
> What do you think of this change? Is worth merging it to the upstream?****
>
> The only drawback is that you have to position more precisely if you want
> "only" to reorder.****
>
> Cheers,
> Miklos****
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to