Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: UDIG 0.8
-
Fix Version/s: UDIG 0.8
-
Component/s: None
-
Labels:None
Description
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.
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.