sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-130) Allow localization of column names in AbstractMetadata.asTreeTable().
Date Mon, 26 Aug 2013 15:19:52 GMT
Martin Desruisseaux created SIS-130:
---------------------------------------

             Summary: Allow localization of column names in AbstractMetadata.asTreeTable().
                 Key: SIS-130
                 URL: https://issues.apache.org/jira/browse/SIS-130
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Metadata
    Affects Versions: 0.3
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux


{{AbstractMetadata.asTreeTable()}} currently provides a {{NAME}} column with values of type
{{CharSequence}}. Consequently there is room for providing {{InternationalString}} instances.
In SIS 0.3, the names are {{String}} instances which may be any of the following {{KeyNamePolicy}}
enumeration:

* UML identifier (e.g. "{{alternativeTitle}}").
* Java Beans property name (e.g. "{{alternativeTitles}}").
* Method name (e.g. "{{getAlternativeTitles()}}").
* Sentence (e.g. "{{Alternative titles}}").

We need to provide one more alternative: {{KeyNamePolicy.QUALIFIED_IDENTIFIER}}:

* Fully qualified UML identifier (e.g. "{{CI_Citation.alternativeTitle}}").

Then, we need to provide some way for the user to plugin his own resource bundles, with a
{{setResourceBundle(ResourceBundle)}} method in the {{TreeTable}} interface. Alternatively
we may provide the {{setResourceBundle}} method in an internal interface for starting, in
order to test if it works well in practice.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message