Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1986 closed enhancement (fixed)

Exporting annotation type columns

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.8
Component: web Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

The table exporter for annotation types need to improve how values are exported. There are some values that need to be transformed:

  • Value type: Is currently exported as an integer but it should be transformed to the values that are displayed in the GUI (but uppercase).
  • Item types: Is currently not exported at all. Should be exported as a comma-separated list of item type names.
  • Enumeration: Is currently exported as a boolean value but should export the actual enumeration values.
  • Min/max value: Is not included in the list at all.

Change History (8)

comment:1 Changed 5 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 5 years ago by Nicklas Nordborg

(In [7087]) References #1986: Exporting annotation type columns

Added ValueTypeFormatter for transforming the "Value type" integers to names.

Last edited 5 years ago by Nicklas Nordborg (previous) (diff)

comment:3 Changed 5 years ago by Nicklas Nordborg

(In [7088]) References #1986: Exporting annotation type columns

Added support for the "Item types" column. The AnnotationTypeItemsTypesLoader use AnnotationType.getEnabledItems() to get the items which are then formatted by the EnumFormatter.

comment:4 Changed 5 years ago by Nicklas Nordborg

(In [7089]) References #1986: Exporting annotation type columns

Added support for exporting the enumeration values. It is handled by the AnnotationTypeEnumerationLoader which uses the AnnotationType.getValues() to return a list with the allowed values.

comment:5 Changed 5 years ago by Nicklas Nordborg

(In [7103]) References #1986: Exporting annotation type columns

Added columns for 'Min value' and 'Max value'. The values are stored in a Map with String keys.

Support for exporting has been implemented using the MapValueLoader which can be automatically used by setting the exportproperty attribute to the following syntax: @map-name(key-name). The key may be an integer or a (quoted) string.

Filtering is not yet supported.

comment:6 Changed 5 years ago by Nicklas Nordborg

(In [7104]) References #1986: Exporting annotation type columns

Displaying min/max value information also on the single-item view page.

comment:7 Changed 5 years ago by Nicklas Nordborg

Description: modified (diff)

comment:8 Changed 5 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

Filtering support for "Min value" and "Max value" implemented in #1991.

Last edited 5 years ago by Nicklas Nordborg (previous) (diff)
Note: See TracTickets for help on using tickets.