| Summary: | include "pretty name" in person content assist | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thomas Ehrnhoefer <thomas.ehrnhoefer> | ||||||||
| Component: | Mylyn | Assignee: | Thomas Ehrnhoefer <thomas.ehrnhoefer> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | steffen.pingel | ||||||||
| Version: | unspecified | Keywords: | contributed, noteworthy, plan | ||||||||
| Target Milestone: | 3.7 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Thomas Ehrnhoefer
Created attachment 199078 [details]
patch v1
A first go on this. Will need to verify it fixes the behaviour in my connector, but it should.
It will simply apply the filter text to the proposals a connector can provide (ID/prettyname pairs), and add the ID to the set if a match is found.
A bit ugly due to the read-only set that .subset is returning, but I think creating a new TreeSet should not interfere anywhere.
Created attachment 199079 [details]
mylyn/context/zip
I just verified that this works for my connector (and should do so for every connector supplying an ID/prettyName pair). Thank for the great patch, Thomas! I have applied it to master and also made this work for Bugzilla. Additionally, I tweaked the matching strategy slightly to be case insensitive and to match any word of the pretty name. Created attachment 199981 [details]
screenshot
|