Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Using nebula widgets in a view of eclipse
Using nebula widgets in a view of eclipse [message #31299] Fri, 09 March 2007 04:58 Go to next message
zakir Hussain is currently offline zakir HussainFriend
Messages: 76
Registered: July 2009
Member
Hi All,

I am using nebula widgets in my eclipse plugins view....

I have added the jar of the corresponding nebula wiget...

I am not getting any compilation error in my code...

My only problem is in the runtime it is firing class not found
exception.....

Could any one suggest me regarding this....

Thanks in Advance...

Regards,

Zakir
Re: Using nebula widgets in a view of eclipse [message #31329 is a reply to message #31299] Fri, 09 March 2007 09:14 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
How did you add the jar top your plugin project?

zakir schrieb:
> Hi All,
>
> I am using nebula widgets in my eclipse plugins view....
>
> I have added the jar of the corresponding nebula wiget...
>
> I am not getting any compilation error in my code...
>
> My only problem is in the runtime it is firing class not found
> exception.....
>
> Could any one suggest me regarding this....
>
> Thanks in Advance...
>
> Regards,
>
> Zakir
>
Re: Using nebula widgets in a view of eclipse [message #31353 is a reply to message #31329] Fri, 09 March 2007 10:10 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
You need to add the jar as a plugin dependency in order for it to show
up. If the jar is not allready a plugin you first should convert the jar
into a plugin. Use the wizard that creates a new Plugin-Project from
existing Jar. Then add this plugin as a dependecy to the plugin that
contains your view. Now you should be all set to use the widget from
within your view.
Don't forget to remove the jar from your buildpathpropertie or else you
will run into problems since Eclipse will see the jar on the buildpath
but the osgi runtime running your Eclipseinstance will not.

Regards
Stefan

P.S: I'm forwarding this to the newsgroup so others can benefit from it!

zakir wrote:
> Hi Stefan,
>
> I had added the jar in the javabuildpath...
>
> Right click on the
> project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> in
> this way I had added the nebulas corresponding jar...
>
> Could you plz help me regarding this....
> [...]
>
>> Stefan Langer schrieb:
>> How did you add the jar top your plugin project?
>>
>> zakir schrieb:
>>> Hi All,
>>>
>>> I am using nebula widgets in my eclipse plugins view....
>>>
>>> I have added the jar of the corresponding nebula wiget...
>>>
>>> I am not getting any compilation error in my code...
>>>
>>> My only problem is in the runtime it is firing class not found
>>> exception.....
>>>
>>> Could any one suggest me regarding this....
>>>
>>> Thanks in Advance...
>>>
>>> Regards,
>>>
>>> Zakir
>>>
Re: Using nebula widgets in a view of eclipse [message #31403 is a reply to message #31353] Fri, 09 March 2007 19:59 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
We are changing how we package and structure Nebula widgets so you won't
have to do this in the future. Widgets jars will be full-fledged plugins.

Regards,
-Chris

Stefan Langer wrote:
> You need to add the jar as a plugin dependency in order for it to show
> up. If the jar is not allready a plugin you first should convert the jar
> into a plugin. Use the wizard that creates a new Plugin-Project from
> existing Jar. Then add this plugin as a dependecy to the plugin that
> contains your view. Now you should be all set to use the widget from
> within your view.
> Don't forget to remove the jar from your buildpathpropertie or else you
> will run into problems since Eclipse will see the jar on the buildpath
> but the osgi runtime running your Eclipseinstance will not.
>
> Regards
> Stefan
>
> P.S: I'm forwarding this to the newsgroup so others can benefit from it!
>
> zakir wrote:
> > Hi Stefan,
> >
> > I had added the jar in the javabuildpath...
> >
> > Right click on the
> > project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> > in
> > this way I had added the nebulas corresponding jar...
> >
> > Could you plz help me regarding this....
> > [...]
> >
> >> Stefan Langer schrieb:
>>> How did you add the jar top your plugin project?
>>>
>>> zakir schrieb:
>>>> Hi All,
>>>>
>>>> I am using nebula widgets in my eclipse plugins view....
>>>>
>>>> I have added the jar of the corresponding nebula wiget...
>>>>
>>>> I am not getting any compilation error in my code...
>>>>
>>>> My only problem is in the runtime it is firing class not found
>>>> exception.....
>>>>
>>>> Could any one suggest me regarding this....
>>>>
>>>> Thanks in Advance...
>>>>
>>>> Regards,
>>>>
>>>> Zakir
>>>>
Re: Using nebula widgets in a view of eclipse [message #32894 is a reply to message #31353] Wed, 11 April 2007 13:18 Go to previous message
Eclipse UserFriend
Originally posted by: bsimpson.mstc.state.ms.us

Also make sure to add org.eclipse.swt under "Required Plug-in" on the
Dependency tab in the plugin's manifest editor. I think I had some
strange class not found exceptions until I did that, at least with
CDateTime 0.9.0.

Stefan Langer wrote:
> You need to add the jar as a plugin dependency in order for it to show
> up. If the jar is not allready a plugin you first should convert the jar
> into a plugin. Use the wizard that creates a new Plugin-Project from
> existing Jar. Then add this plugin as a dependecy to the plugin that
> contains your view. Now you should be all set to use the widget from
> within your view.
> Don't forget to remove the jar from your buildpathpropertie or else you
> will run into problems since Eclipse will see the jar on the buildpath
> but the osgi runtime running your Eclipseinstance will not.
>
> Regards
> Stefan
>
> P.S: I'm forwarding this to the newsgroup so others can benefit from it!
>
> zakir wrote:
> > Hi Stefan,
> >
> > I had added the jar in the javabuildpath...
> >
> > Right click on the
> > project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> > in
> > this way I had added the nebulas corresponding jar...
> >
> > Could you plz help me regarding this....
> > [...]
> >
> >> Stefan Langer schrieb:
>>> How did you add the jar top your plugin project?
>>>
>>> zakir schrieb:
>>>> Hi All,
>>>>
>>>> I am using nebula widgets in my eclipse plugins view....
>>>>
>>>> I have added the jar of the corresponding nebula wiget...
>>>>
>>>> I am not getting any compilation error in my code...
>>>>
>>>> My only problem is in the runtime it is firing class not found
>>>> exception.....
>>>>
>>>> Could any one suggest me regarding this....
>>>>
>>>> Thanks in Advance...
>>>>
>>>> Regards,
>>>>
>>>> Zakir
>>>>
Re: Using nebula widgets in a view of eclipse [message #579849 is a reply to message #31299] Fri, 09 March 2007 09:14 Go to previous message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
How did you add the jar top your plugin project?

zakir schrieb:
> Hi All,
>
> I am using nebula widgets in my eclipse plugins view....
>
> I have added the jar of the corresponding nebula wiget...
>
> I am not getting any compilation error in my code...
>
> My only problem is in the runtime it is firing class not found
> exception.....
>
> Could any one suggest me regarding this....
>
> Thanks in Advance...
>
> Regards,
>
> Zakir
>
Re: Using nebula widgets in a view of eclipse [message #579863 is a reply to message #31329] Fri, 09 March 2007 10:10 Go to previous message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
You need to add the jar as a plugin dependency in order for it to show
up. If the jar is not allready a plugin you first should convert the jar
into a plugin. Use the wizard that creates a new Plugin-Project from
existing Jar. Then add this plugin as a dependecy to the plugin that
contains your view. Now you should be all set to use the widget from
within your view.
Don't forget to remove the jar from your buildpathpropertie or else you
will run into problems since Eclipse will see the jar on the buildpath
but the osgi runtime running your Eclipseinstance will not.

Regards
Stefan

P.S: I'm forwarding this to the newsgroup so others can benefit from it!

zakir wrote:
> Hi Stefan,
>
> I had added the jar in the javabuildpath...
>
> Right click on the
> project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> in
> this way I had added the nebulas corresponding jar...
>
> Could you plz help me regarding this....
> [...]
>
>> Stefan Langer schrieb:
>> How did you add the jar top your plugin project?
>>
>> zakir schrieb:
>>> Hi All,
>>>
>>> I am using nebula widgets in my eclipse plugins view....
>>>
>>> I have added the jar of the corresponding nebula wiget...
>>>
>>> I am not getting any compilation error in my code...
>>>
>>> My only problem is in the runtime it is firing class not found
>>> exception.....
>>>
>>> Could any one suggest me regarding this....
>>>
>>> Thanks in Advance...
>>>
>>> Regards,
>>>
>>> Zakir
>>>
Re: Using nebula widgets in a view of eclipse [message #579904 is a reply to message #31353] Fri, 09 March 2007 19:59 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
We are changing how we package and structure Nebula widgets so you won't
have to do this in the future. Widgets jars will be full-fledged plugins.

Regards,
-Chris

Stefan Langer wrote:
> You need to add the jar as a plugin dependency in order for it to show
> up. If the jar is not allready a plugin you first should convert the jar
> into a plugin. Use the wizard that creates a new Plugin-Project from
> existing Jar. Then add this plugin as a dependecy to the plugin that
> contains your view. Now you should be all set to use the widget from
> within your view.
> Don't forget to remove the jar from your buildpathpropertie or else you
> will run into problems since Eclipse will see the jar on the buildpath
> but the osgi runtime running your Eclipseinstance will not.
>
> Regards
> Stefan
>
> P.S: I'm forwarding this to the newsgroup so others can benefit from it!
>
> zakir wrote:
> > Hi Stefan,
> >
> > I had added the jar in the javabuildpath...
> >
> > Right click on the
> > project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> > in
> > this way I had added the nebulas corresponding jar...
> >
> > Could you plz help me regarding this....
> > [...]
> >
> >> Stefan Langer schrieb:
>>> How did you add the jar top your plugin project?
>>>
>>> zakir schrieb:
>>>> Hi All,
>>>>
>>>> I am using nebula widgets in my eclipse plugins view....
>>>>
>>>> I have added the jar of the corresponding nebula wiget...
>>>>
>>>> I am not getting any compilation error in my code...
>>>>
>>>> My only problem is in the runtime it is firing class not found
>>>> exception.....
>>>>
>>>> Could any one suggest me regarding this....
>>>>
>>>> Thanks in Advance...
>>>>
>>>> Regards,
>>>>
>>>> Zakir
>>>>
Re: Using nebula widgets in a view of eclipse [message #580987 is a reply to message #31353] Wed, 11 April 2007 13:18 Go to previous message
Eclipse UserFriend
Originally posted by: bsimpson.mstc.state.ms.us

Also make sure to add org.eclipse.swt under "Required Plug-in" on the
Dependency tab in the plugin's manifest editor. I think I had some
strange class not found exceptions until I did that, at least with
CDateTime 0.9.0.

Stefan Langer wrote:
> You need to add the jar as a plugin dependency in order for it to show
> up. If the jar is not allready a plugin you first should convert the jar
> into a plugin. Use the wizard that creates a new Plugin-Project from
> existing Jar. Then add this plugin as a dependecy to the plugin that
> contains your view. Now you should be all set to use the widget from
> within your view.
> Don't forget to remove the jar from your buildpathpropertie or else you
> will run into problems since Eclipse will see the jar on the buildpath
> but the osgi runtime running your Eclipseinstance will not.
>
> Regards
> Stefan
>
> P.S: I'm forwarding this to the newsgroup so others can benefit from it!
>
> zakir wrote:
> > Hi Stefan,
> >
> > I had added the jar in the javabuildpath...
> >
> > Right click on the
> > project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> > in
> > this way I had added the nebulas corresponding jar...
> >
> > Could you plz help me regarding this....
> > [...]
> >
> >> Stefan Langer schrieb:
>>> How did you add the jar top your plugin project?
>>>
>>> zakir schrieb:
>>>> Hi All,
>>>>
>>>> I am using nebula widgets in my eclipse plugins view....
>>>>
>>>> I have added the jar of the corresponding nebula wiget...
>>>>
>>>> I am not getting any compilation error in my code...
>>>>
>>>> My only problem is in the runtime it is firing class not found
>>>> exception.....
>>>>
>>>> Could any one suggest me regarding this....
>>>>
>>>> Thanks in Advance...
>>>>
>>>> Regards,
>>>>
>>>> Zakir
>>>>
Previous Topic:Merging two adjacent cells in Grid
Next Topic:[CompositeTable] Bug - CompositeTableSnippet6 Crash
Goto Forum:
  


Current Time: Thu Mar 28 17:30:11 GMT 2024

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

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

Back to the top