uDIG

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

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major 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.

Activity

Hide
Jody Garnett added a comment -
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.
Show
Jody Garnett added a comment - 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.
Hide
Jody Garnett added a comment -
the default name issue is fixed for IGeoResource, since Layer uses this as a default I will consider the name issue fixed.
Show
Jody Garnett added a comment - the default name issue is fixed for IGeoResource, since Layer uses this as a default I will consider the name issue fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: