Issue Details (XML | Word | Printable)

Key: UDIG-217
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jody Garnett
Reporter: Jesse Eichar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uDIG

Names of "things" Layers, catalog, maps should have consistent defaults.

Created: 25/Jan/05 04:01 PM   Updated: 20/Feb/05 05:21 PM
Component/s: None
Affects Version/s: UDIG 0.8
Fix Version/s: UDIG 0.8


 Description  « Hide
Names of "things" Layers, catalog, maps should have consistent defaults.

The default name of a "thing" (lets discuss IGeoResource) should first attempt to be Name field, next Title field, next id field, etc... All "things" should have the same name finding heuristic.

Names of "things" Layers, catalog, maps should have consistent defaults.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jody Garnett added a comment - 26/Jan/05 02:25 PM
This has been mostly done for icon generation for IGeoResource. Label generation will follow.

Note this issue is *complicted*:
- name based on IGeoResource uri can be figured out all the time
- name based on name, title can only be figured out with a blocking opperation

That means that any Viewer that needs to do this kind of thing needs to do the label decorator dance. LayerLabelProvider and LayerGeneratedLabelDecorator provide the template for this.

Jody Garnett added a comment - 20/Feb/05 05:21 PM
the default name issue is fixed for IGeoResource, since Layer uses this as a default I will consider the name issue fixed.