Community
Participate
Working Groups
The MultiReferenceSWTRenderer should sort the referenced objects based on their labels shown in the table viewer (which has exactly one column showing the labels). The current sorting is not intuitive as it does not use the displayed labels. Consequently, the sorting appears to be arbitrary.
New Gerrit change created: https://git.eclipse.org/r/130126
Gerrit change https://git.eclipse.org/r/130126 was merged to [develop]. Commit: http://git.eclipse.org/c/emfclient/org.eclipse.emf.ecp.core.git/commit/?id=f720d1058e2a2bba4752e0a2e8788e6138bc9c76
@Lucas: Isn't the "test" tag missing here?
TEST INFORMATION Summary of the critical part of the change The ordering of objects shown by the Multi Reference SWT Renderer changed. When sorting, the objects are now sorted by their displayed label. Potential regressions Before this change, the objects were sorted by their String representation. Now they are sorted by their label. While sorting based on the label should be more intuitive for the user, sorting by the String representation could be preferable in special use cases. Affected areas / use cases Sorting objects showed by the Multi Reference Renderer. Things that shall be tested That the sorting behaves as expected.