You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/06/24 20:45:21 UTC

[jira] [Comment Edited] (CAY-1839) Allow to link DataMaps to DataNodes from DataNode editor. Also when creating the first DN in the project, auto link all DMs to it.

    [ https://issues.apache.org/jira/browse/CAY-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692232#comment-13692232 ] 

Andrus Adamchik edited comment on CAY-1839 at 6/24/13 6:44 PM:
---------------------------------------------------------------

Artyom, thanks for the patch. I have a comment on the UI.. Everything is great, except the scroller for the DataMap list. Most projects will have only 1-2 DMs so it just takes too much space and looks a bit odd... So maybe we can have a regular panel without a scroller that expands dynamically as more maps are added to the project (there's a scroller for the main tab panel already, if that gets too long).

Or an alternative idea - instead of using checkboxes on the right-hand panel, linking DataMaps can be performed by dragging them on to a DataNode.

What do you think?
                
      was (Author: andrus):
    Artyom, thanks for the patch. I have a comment on he UI.. Everything is great, except the scroller for the DataMap list. Most projects will have only 1-2 DMs so it just takes too much space... So maybe we can have dynamically expanding panel without a scroller (there's a scroller for the main tab panel already, if that gets too long).

Or an alternative idea - instead of using checkboxes on the right-hand panel, link DataMaps by dragging them on to the DataNode.

What do you think?
                  
> Allow to link DataMaps to DataNodes from DataNode editor. Also when creating the first DN in the project, auto link all DMs to it.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAY-1839
>                 URL: https://issues.apache.org/jira/browse/CAY-1839
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.2M1
>         Environment: Linux
>            Reporter: ArtyomN
>         Attachments: after1.png, after2.png, after3.png, after4.png, after5.png, after6.png, after7.png, before.png, patch.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> When creating the first DataNode in the project, auto link all DataMaps to it. If in the project a few DNs, then new creating DMs have no links. Links for DMs your can select or clear from DataNode editor specifying the appropriate checkbox or from DataMap editor. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira