Community
Participate
Working Groups
Most connectors have a different number than 5 for priority options. Some framework support for trying to map any ordered collection of priorities into those 5 buckets in Mylyn would be great. I assume lots of connectors implement something like this (most of them hardcoded), but also lots of connectors will have customizable options, so a generic approach seems like a good solution (of course with the connector being able to override that behaviour)
I'll look into extracting the code from the Trac connector to a reusable framework utility.
I have added PriorityLevel.fromValue() which returns a mapped value based on a list of priorities and a priority value.
Created attachment 210883 [details] mylyn/context/zip