|
Re: IExtensionRegistry in eclipse 3.1 gives com.sun.jdi.InvocationException [message #290951 is a reply to message #290942] |
Mon, 05 September 2005 12:11 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"pravinsinh" <pravinsinh_chavda@infosys.com> wrote in message
news:3286690a0b43475da36eca99b2b2b544$1@www.eclipse.org...
> Hi,
>
> I have developed a plugin in eclipse 3.0. The plugin has an editor for
> editing xml files.
>
> I have used the following code to get the extensions defined:
>
> IExtensionRegistry registry = Platform.getExtensionRegistry();
> IExtensionPoint extensionPoint =
> registry.getExtensionPoint("a.b.c.view");
> // IExtensionPoint extensionPoint =
> registry.getExtensionPoint("view");
> IExtension extensions[] = extensionPoint.getExtensions();
>
> The problem here is I have three different extensions defined in my
> plugin.xml but the code gives only two extension in eclipse 3.1 whereas
> the same code works perfectly fine with eclipse 3.0.
>
> Is there anything that i need to change with respect to IExtensionRegistry
> for migrating my plugin to eclipse 3.1 from eclipse 3.0.
>
What is the extension that doesn't show up?
---
Sunil
|
|
|
|
Re: IExtensionRegistry in eclipse 3.1 gives com.sun.jdi.InvocationException [message #291029 is a reply to message #290999] |
Tue, 06 September 2005 15:09 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"pravinsinh" <pravinsinh_chavda@infosys.com> wrote in message
news:18ca2d671d84db6e21ffd9f26b5dba9b$1@www.eclipse.org...
> Hi,
>
> The extension that doesnt show up is an extension point to view the files
> in editor which i have defined in the plugin project. The three fragment
> projects that i have defined to view three different xml files refer the
> plugin project and add the extension from the plugin project in the
> fragment.xml.
> The extension is basically a content provider for the editor.
> The code works perfectly fine for eclipse 3.0.
>
What is the xml for the extension point and extension definitions?
---
Sunil
|
|
|
Powered by
FUDForum. Page generated in 0.03296 seconds