getExtensionPoint [message #12514] |
Thu, 10 July 2008 13:22  |
Eclipse User |
|
|
|
Originally posted by: cagiva92.hotmail.com
Is there way to control the order/senquence that the getExtensionPoint
method obtains the registered extension points?
Thanks!
|
|
|
|
Re: getConfigurationElements [message #12555 is a reply to message #12535] |
Fri, 11 July 2008 22:11  |
Eclipse User |
|
|
|
This question probably fits better in the eclipse.platform newsgroup.
How do you want them sorted? (i.e. by what criteria?).
I believe the answer is "no", but you could probably sort the array
yourself using Arrays.sort(Object[], Comparator)
Wayne
On Thu, 2008-07-10 at 17:26 +0000, Ben wrote:
> Sorry, I meant getConfigurationElements instead of getExtensionPoint.
>
> In other words, I want to control the order in which the extension point
> configurations are retrieved/found.
>
> IConfigurationElement[] extensions =
> extensionPoint.getConfigurationElements();
>
|
|
|
Re: getConfigurationElements [message #572913 is a reply to message #12514] |
Thu, 10 July 2008 13:26  |
Eclipse User |
|
|
|
Sorry, I meant getConfigurationElements instead of getExtensionPoint.
In other words, I want to control the order in which the extension point
configurations are retrieved/found.
IConfigurationElement[] extensions =
extensionPoint.getConfigurationElements();
|
|
|
Re: getConfigurationElements [message #572946 is a reply to message #12535] |
Fri, 11 July 2008 22:11  |
Eclipse User |
|
|
|
This question probably fits better in the eclipse.platform newsgroup.
How do you want them sorted? (i.e. by what criteria?).
I believe the answer is "no", but you could probably sort the array
yourself using Arrays.sort(Object[], Comparator)
Wayne
On Thu, 2008-07-10 at 17:26 +0000, Ben wrote:
> Sorry, I meant getConfigurationElements instead of getExtensionPoint.
>
> In other words, I want to control the order in which the extension point
> configurations are retrieved/found.
>
> IConfigurationElement[] extensions =
> extensionPoint.getConfigurationElements();
>
|
|
|
Powered by
FUDForum. Page generated in 0.03428 seconds