You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Christopher Brind (JIRA)" <ji...@apache.org> on 2009/08/05 23:25:14 UTC

[jira] Resolved: (PIVOT-180) Add Resources.parent (resource hierarchy)

     [ https://issues.apache.org/jira/browse/PIVOT-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Brind resolved PIVOT-180.
-------------------------------------

    Resolution: Fixed

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

> Add Resources.parent (resource hierarchy)
> -----------------------------------------
>
>                 Key: PIVOT-180
>                 URL: https://issues.apache.org/jira/browse/PIVOT-180
>             Project: Pivot
>          Issue Type: New Feature
>          Components: core-util
>            Reporter: Todd Volkert
>            Assignee: Christopher Brind
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.