Community
Participate
Working Groups
I'd like to have two more methods in the IProjectFacet API that are related to supported facets by an IRuntime: - getSupportedVersions(IRuntime runtime) - getSortedSupportedVersions(boolean ascending, IRuntime runtime)
Created attachment 173290 [details] patch Here is a patch that implements these two methods.
Thanks for the patch. I like the idea of adding the proposed api. You haven't specified, but this doesn't look like a critical adopter issue. I am targeting this to the 2.0 release as the 1.x stream will only carry bug fixes and adopter-critical enhancements.
There has been some work in 2.0 stream that affects the exact structure of the proposed API. See Bug 318765. Will attach a modified patch.
Created attachment 173333 [details] Patch v2 This patch ports the original patch to the 2.0 code line and adjusts it for API changes in that code line.
Patch released.
(In reply to comment #2) > Thanks for the patch. I like the idea of adding the proposed api. > > You haven't specified, but this doesn't look like a critical adopter issue. I > am targeting this to the 2.0 release as the 1.x stream will only carry bug > fixes and adopter-critical enhancements. Not a critical at all. I just found myself using such logic in our adopter's code and thought it may be a good idea to have it in the API. Thanks for releasing the patch.