Pivot
  1. Pivot
  2. PIVOT-180

Add Resources.parent (resource hierarchy)

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: core-util
    • Labels:
      None

      Description

      Writing a large-scale Pivot app, I have a use case for a common Resources class that holds things like OK, Cancel, etc. However, a WTKXSerializer is associated with only 1 Resources instance, so within my WTKX file, I cannot reference local resources and common resources. Thus, I'm forced to duplicate my common resources in each local Resources instance.

      What would be nice is for Resources to have a parent Resources object (similar to ClassLoader) creating a resources hierarchy. Then I could put all my common resources in the root Resources, and have that be the parent of my local Resources instances.

        Activity

        Hide
        Christopher Brind added a comment -

        Changes made to Resources and WTKSerializer to accommodate 'parent' Resources

        Show
        Christopher Brind added a comment - Changes made to Resources and WTKSerializer to accommodate 'parent' Resources

          People

          • Assignee:
            Christopher Brind
            Reporter:
            Todd Volkert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development