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

Modeler: improve Java package refactoring

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1M1
    • Undefined future
    • None
    • None

    Description

      1. When clicking "Update.." on the DataMap "Java package", we provide a choice of updating a package of all ObjEntities/Embeddables or updating only entities that have an empty package. This doesn't make much sense... Instead of the radio buttons let's add two checkboxes - "Update ObjEntities", "Update Embeddables". Both should be checked by default. The action should respect the choices made by the user... Also these choices should be stored in the Modeler preferences.

      2. Add "Listener Java Package" field below "Java Package", with an update button that would update all DataMap and Entity listener packages. Additionally iof a package is entered, creating a new listener should prepopulate the listener creation dialog with the package name. The package setting should be persistent, just like java package. It will saved in DataMap XML as a property. E.g.:

      <property name="defaultListenerPackage" value="com.foo"/>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: