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

Andrus Adamchik commented on CAY-1837:
--------------------------------------

I applied pull request #22. A few things we might improve in class generator:

1. "Classes" tab: add an extra column with DataMap name. 
2. "Classes" tab: Column width must be stored in preferences, and restored on 
subsequent use. Maybe also add auto-resize of columns on doubleclick
3. "Code Generator" tab: better layout of multi-datamap field. Instead of  2 
lines for every field, let's d something like this:

   Field name
       datamap1: 
       datamap2:
      ...
Also if only one DataMap selected, let's add its name to the dialog title  
(e.g. Generate Classes - datamap1) but then in the dialog body do not display 
it for the fields. So the example above would simply look like this:

    Field name:

> Generate classes/ generate DB schema should be enabled when higher tree 
> objects are selected
> --------------------------------------------------------------------------------------------
>
>                 Key: CAY-1837
>                 URL: https://issues.apache.org/jira/browse/CAY-1837
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.2.M1
>            Reporter: Kravchenko
>         Attachments: 
> 0001-CAY-1837-Generate-classes-generate-DB-schema-should-.patch, Advanced 
> Mode.png, CAY-1837, Classes tab.png, Code generation for any DataMaps.png, 
> Generate DB schema  for any DataMaps.png, Generate classes and generate DB 
> schema is enabled .png, patch.txt
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Now you can generate cod and DB schema at the same time for any DataMaps



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to