Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Plugins and Extensions
Plugins and Extensions [message #68488] Thu, 08 June 2006 09:38 Go to next message
Eclipse UserFriend
Originally posted by: andrew.easter.gmail.com

Does a plugin have to contribute an extension? For example I want to write a plugin that simply discovers a bunch of extensions that contribute factory classes for creating objects and provides a simple interface for retrieving objects created by the factories.

e.g.

- extension-point : com.example.ExampleFactory
- Factory interface allows creation of Example objects.
- My plugin queries extension registry and gets all ExampleFactory extensions.
- My plugin then provides an interface to get access to all Example objects created from the ExampleFactory extensions.

The point is that my plugin doesn't extend any obvious extension point defined by the Eclipse Platform so can I just discard the "plugin.xml" file?

Is this a common requirement for Eclipse development? I am assuming that something like the SWT plugin is similar.

Thanks,

Andrew Easter
Re: Plugins and Extensions [message #68501 is a reply to message #68488] Thu, 08 June 2006 10:03 Go to previous message
Eclipse UserFriend
Originally posted by: yavin.gmx.com

Andrew Easter schrieb:
> The point is that my plugin doesn't extend any obvious extension point defined by the Eclipse Platform so can I just discard the "plugin.xml" file?

No you can't. The definition of the extension point is in the plugin.xml.
Previous Topic:How to debug the Exporting of a plugin
Next Topic:equinox security help
Goto Forum:
  


Current Time: Thu Apr 25 08:38:28 GMT 2024

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

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

Back to the top