Community
Participate
Working Groups
Build Identifier: M20110210-1200 In 3.6 the TocManager class switched from storing the TocContributions in an ArrayList to a HashMap (method: getAndCacheTocContributions()) in order to allow the contributions to be sorted alphabetically if the sort attribute is set to true. This is great if what you want to do is sort the help alphabetically. However, in previous versions of eclipse, when the contributions were stored in an ArrayList, the order found in the plugin.xml was preserved in the ArrayList and that way it was possible to define your own specific non-alphabetical toc order. This useful functionality is now gone. Now, the HashMap does not preserve that order, so you can either sort alphabetically or you can use the hashcode order that the HashMap stores the elements in (this is completely useless). This could be fixed if instead of HashMap, TocManager more specifically used a LinkedHashMap, where order would be preserved. This would still allow the sort attribute to work as well and sort the toc alphabetically if the user so chose. Reproducible: Always
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.