Vasil Tarasevich updated CAY-900:
---------------------------------
Attachment: CAY-900_core.patch
small modification: new utility methods added to CallbackDescriptor and CallbackMap
> 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
>
>
> 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.
This archive was generated by hypermail 2.0.0 : Thu Nov 01 2007 - 04:43:18 EDT