Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Specify qualified name for extension point


Hi Jason,
A description of qualified IDs in plugin.xml can be found in Eclipse help under Platform Plug-in Developer Guide -> Reference -> Other reference information -> Plug-in manifest.

Since Eclipse 3.2 it is possible to specify qualified name for the extensions and extension points in the plugin.xml files. I feel that this ability should be used only when necessary and should not be a default mode of action. Unless you are faced with special circumstances such as renaming an existing plugin, I would recommend using "simple" non-qualified names.

If you need to use qualified names, check the paragraph at the end of the Eclipse help page titled "Note on the ExtensionId and ExtensionPointId". In a non-formal language what it says is that if you have an older plugin.xml, the "eclipse version" tag in that file needs to be set to "3.2" to enable proper processing of qualified names.

If you have any further questions on the Eclipse extension registry or Equinox bundles, it is best to ask them in the Equinox forums - equinox-dev@xxxxxxxxxxx or eclipse.technology.equinox newsgoups. Those forums are more active and chances are you'll get more replies there.

Sincerely,
Oleg Besedin



==========================================================================================

All,

In Java doc of
org.eclipse.core.runtime.IExtensionPoint, it says, "Since 3.2, the extension registry allows elements to specify qualified name. The extension point of the plug-in org.abc could specify org.zzz.MyExtPoint as an Id. In this case, namespace name is org.zzz, but the contributor name is org.abc." I wonder how to do this. I tried to specify qualified name in .exsd. It seemed whatever I specified the bundle ID was always be used as qualified name. Is there any document I can refer to or any example I can check?

Thanks.

--
Best Regards,

Jason Hao
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-core-dev

Back to the top