Project

General

Profile

bug #6835

Revise decission to color specimenOrObservations depending on there type

Added by Andreas Kohlbecker about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
07/18/2017
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

AM:

Die Occurrence Punktfarbe scheint vom Type abhängig zu sein:

EditGeoserviceUtitlities.82ff

    private static HashMap<SpecimenOrObservationType, Color> getDefaultSpecimenOrObservationTypeColors() {
        if(defaultSpecimenOrObservationTypeColors == null){
            defaultSpecimenOrObservationTypeColors = new HashMap<>();
            defaultSpecimenOrObservationTypeColors.put(SpecimenOrObservationType.FieldUnit, Color.ORANGE);
            defaultSpecimenOrObservationTypeColors.put(SpecimenOrObservationType.DerivedUnit, Color.RED);
            defaultSpecimenOrObservationTypeColors.put(SpecimenOrObservationType.LivingSpecimen, Color.GREEN);
            defaultSpecimenOrObservationTypeColors.put(SpecimenOrObservationType.Observation, Color.ORANGE);
            defaultSpecimenOrObservationTypeColors.put(SpecimenOrObservationType.PreservedSpecimen, Color.GRAY);
            defaultSpecimenOrObservationTypeColors.put(SpecimenOrObservationType.Media, Color.BLUE);
        }
        return defaultSpecimenOrObservationTypeColors;
    }

Das macht ziemlich wenig Sinn, weil letztlich ist das ja immer Information, die an der FieldUnit hängt.

History

#1 Updated by Andreas Müller about 2 years ago

  • Subject changed from revise descission to color different 'kinds' of specimens differently to Revise decission to color specimenOrObservations depending on there type

#2 Updated by Andreas Müller about 2 years ago

  • Description updated (diff)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)