Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-900

Create CayenneModeler Swing UI for managing callbacks and lifecycle listeners

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M3
    • Modeler
    • None

    Description

      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)

      Attachments

        1. CAY-900_core.patch
          4 kB
          Vasil Tarasevich
        2. CAY-900_images_2.zip
          2 kB
          Vasil Tarasevich
        3. CAY-900_images.zip
          3 kB
          Vasil Tarasevich
        4. CAY-900_modeler_2.patch
          107 kB
          Vasil Tarasevich
        5. CAY-900_modeler_3.patch
          105 kB
          Vasil Tarasevich
        6. CAY-900_modeler_4.patch
          8 kB
          Vasil Tarasevich
        7. CAY-900_modeler.patch
          130 kB
          Vasil Tarasevich

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: