Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IExtensionRegistry in eclipse 3.1 gives com.sun.jdi.InvocationException
IExtensionRegistry in eclipse 3.1 gives com.sun.jdi.InvocationException [message #290942] Mon, 05 September 2005 10:04 Go to next message
Pravinsinh is currently offline PravinsinhFriend
Messages: 16
Registered: July 2009
Junior Member
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.

Any pointers are welcome.

Regards,

Pravin.
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #290999 is a reply to message #290951] Tue, 06 September 2005 04:50 Go to previous messageGo to next message
Pravinsinh is currently offline PravinsinhFriend
Messages: 16
Registered: July 2009
Junior Member
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.


Thanks & Regards,
Pravin.
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:who and where edit org.eclipse.swt.widgets.Display 's value eventQueue attributes?
Next Topic:How to prevent eclipse from stopping when an exception occurs
Goto Forum:
  


Current Time: Thu Apr 25 20:58:01 GMT 2024

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

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

Back to the top