[ 
https://issues.apache.org/cayenne/browse/CAY-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vasil Tarasevich updated CAY-900:
---------------------------------

    Attachment: CAY-900_modeler_4.patch

Added the following features:
1. Possible to add several callback methods in a row (untitled1....untitledN)
2. Callback type dropdown displays callback methods counter.

> Create CayenneModeler Swing UI for managing callbacks and lifecycle listeners
> -----------------------------------------------------------------------------
>
>                 Key: CAY-900
>                 URL: https://issues.apache.org/cayenne/browse/CAY-900
>             Project: Cayenne
>          Issue Type: Task
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0
>
>         Attachments: CAY-900_core.patch, CAY-900_images.zip, 
> CAY-900_images_2.zip, CAY-900_modeler.patch, CAY-900_modeler_2.patch, 
> CAY-900_modeler_3.patch, CAY-900_modeler_4.patch
>
>
> This builds on CAY-879. We need a UI support for editing callbacks and 
> lifecycle listeners. The UI I am suggesting (although I am open to other 
> suggestions) is this:
> ObjEntity:
>    two new tabs "Callbacks" and "Listeners"
> DataMap: 
>    place the main editor in a tabbed panel, with two tabs: "DataMap" and 
> "Listeners"
> "Listeners" tab would consist of a JTable with the following columns:
> * "Class Name" - a listener class
> * "Method" - a callback method name
> * "Callback Type" (a dropdown with types of callbacks)
> "Callbacks" tab would consist of a JTable with the following columns:
> * "Method" - a callback method name
> * "Callback Type" (a dropdown with types of callbacks)
> Each tab would have a toolbar (similar to what we have for entities now) with 
> buttons to add/delete callbacks/listeners (button will be created, may use 
> placeholders for now)
> Since the order of callbacks is significant, we need a reordering capability 
> (via drag and drop? or in the worst case using up and down arrows on the 
> toolbar like the stored procedure parameters table does) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to