Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7558

remove duplicate action code for instance, image and cloud view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.CR1
    • 3.2.0.Beta2
    • deltacloud
    • None

    Description

      current implementation has a lot of duplicate code in order to handle actions on the same deltacloud instances and images in the different views.

      The cloud view uses:

      CVInstanceElement and CVImageElement

      The image view uses:

      DeltaCloudImage

      The instance view uses:

      DeltaCloudInstance

      The current code does not use adapters and therefore duplicated action-, providers etc. to handle these different object types. The result is that changes (a lot of the current issues) get tedious.

      The solution is pretty simple:
      Use the DeltaCloudInstance and DeltaCloudImage everywhere, wire UI by using adapters.

      Attachments

        Activity

          People

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: