Jump to: navigation, search

FAQ Why is the interface for my new extension point not visible?

Revision as of 14:53, 14 March 2006 by Claffra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When you declare a new extension point and a corresponding interface to implement, plug-ins that contribute to your extension point sometimes cannot see your interface. The reason is that your interface may not match the export tag’ regular expression in your plug-in’s runtime library tag. If your interface is called com.xyz.MyInterface, your plugin.xml should look like this:

      <library> name="sample.jar">
         <export name="com.xyz.MyInterface"/>

Multiple export tags can be used, in addition to wildcards. The default tag set by the PDE is &#147;*&#148;, indicating that all types in the JAR should be exported.