Enhancement #5698

Sort formats more logically in diagram DnD monitor property view

Added by Tuukka Lehtonen over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2015-03-04
Priority:4Due date:2015-03-04
Assignee:Tuukka Lehtonen% Done:

100%

Category:-Spent time:-
Target version:1.18.1
Release notes:Diagram DnD monitor property view formatting field options are now sorted more logically. Previously the sorting was random (hash-based).
Tags: diagram, dnd, monitor
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

Currently the contents of the Formatting combo box selector are in random (hash) order.

They shall be organized more logically, i.e:

No Decimals
1 Decimals
2
3
5
Up To 15 Decimals
Engineering
Scientific

To achieve this, add a separate sortKey property for DIA.RealizedFormatter and use AlphanumComparator to sort the keys.

9931-format-order-random.png (19.2 KB) Tuukka Lehtonen, 2015-03-04 08:07 am

Associated revisions

Revision 31020
Added by Tuukka Lehtonen over 2 years ago

Added DIA.RealizedFormatter.sortKey to be able to logically sort the available formats.

refs #5698

Revision 31021
Added by Tuukka Lehtonen over 2 years ago

Merged trunk@31020 to branches/simantics-1.18 on 2015-03-04 for 1.18.1 release.

refs #5698

History

#1 Updated by Tuukka Lehtonen over 2 years ago

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
  • Release notes set to Diagram DnD monitor property view formatting field options are now sorted more logically. Previously the sorting was random (hash-based).

Also available in: Atom PDF