Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » getExtensionPoint
getExtensionPoint [message #12514] Thu, 10 July 2008 13:22 Go to next message
Eclipse UserFriend
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 #12535 is a reply to message #12514] Thu, 10 July 2008 13:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cagiva92.hotmail.com

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 #12555 is a reply to message #12535] Fri, 11 July 2008 22:11 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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();
>
Previous Topic:getExtensionPoint
Next Topic:Does Equinox P2 support plain OSGI features and plugins?
Goto Forum:
  


Current Time: Wed Apr 16 11:38:17 EDT 2025

Powered by FUDForum. Page generated in 0.03428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top