Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

Revision as of 16:13, 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:

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

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.


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top