Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't use nebula xygraph
Can't use nebula xygraph [message #1818923] Thu, 02 January 2020 21:11 Go to next message
ivar zam is currently offline ivar zamFriend
Messages: 6
Registered: January 2020
Junior Member
I'm trying to use this package.

https://www.eclipse.org/nebula/widgets/visualization/html/GettingStarted.html

On this site it is listed which jars I need to import and I have found them looking around with google. The org.csstudio.swt.xygraph.jar was from 2012 but it was all I found.

org.eclipse.draw2d.jar I found by searching around the internet. And the others in the nebula folder from eclipse.

First, it all seems like a mess, having to search for jars with google, are they not located in eclipse somewhere?

I tried to add software sites but I just don't find these preferences in eclipse.:
https://help.eclipse.org/2019-12/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/tasks-127.htm

Can someone please help me? I just want to be able make plots.

Re: Can't use nebula xygraph [message #1818927 is a reply to message #1818923] Thu, 02 January 2020 22:30 Go to previous messageGo to next message
Nitin Dahyabhai is currently online Nitin DahyabhaiFriend
Messages: 3570
Registered: July 2009
Senior Member

The "Pure Java" jars it lists are missing version numbers; ALL of them should be installable from http://download.eclipse.org/releases/latest, after which the "these jar files are generally available with your eclipse installation under eclipse/plugins folder" will be true. You might need to uncheck the Group Items by Category option to find some of them, or else pull them down using the P2 Director CLI: https://wiki.eclipse.org/Equinox/p2/Director_application .

Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Thu, 02 January 2020 22:31]

Report message to a moderator

Re: Can't use nebula xygraph [message #1818928 is a reply to message #1818927] Thu, 02 January 2020 23:08 Go to previous messageGo to next message
ivar zam is currently offline ivar zamFriend
Messages: 6
Registered: January 2020
Junior Member
I found all of them except org.csstudio.swt.xygraph.jar


How do I use:
P2 Director CLI: https://wiki.eclipse.org/Equinox/p2/Director_application .

I don't find it in my eclipse.
Re: Can't use nebula xygraph [message #1818930 is a reply to message #1818928] Fri, 03 January 2020 00:06 Go to previous messageGo to next message
Nitin Dahyabhai is currently online Nitin DahyabhaiFriend
Messages: 3570
Registered: July 2009
Senior Member

https://help.eclipse.org/2019-12/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html should work. I'll update the wiki page.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Can't use nebula xygraph [message #1818931 is a reply to message #1818930] Fri, 03 January 2020 00:26 Go to previous messageGo to next message
ivar zam is currently offline ivar zamFriend
Messages: 6
Registered: January 2020
Junior Member
why is org.csstudio.swt.xygraph.jar

not available at http://download.eclipse.org/releases/latest

?

Re: Can't use nebula xygraph [message #1818941 is a reply to message #1818931] Fri, 03 January 2020 06:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30820
Registered: July 2009
Senior Member
You can use these instructions to find Eclipse update sites:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#How_to_find_a_P2_repository_at_Eclipse_using_the_Repository_Explorer

E.g., this update site includes that bundle:

http://download.eclipse.org/nebula/snapshot

And you can look at all their update sites starting from:

https://download.eclipse.org/nebula/
Re: Can't use nebula xygraph [message #1818976 is a reply to message #1818941] Sat, 04 January 2020 00:26 Go to previous messageGo to next message
ivar zam is currently offline ivar zamFriend
Messages: 6
Registered: January 2020
Junior Member
I have already installed that bundle, but I still get missing classes, these are not found, they are from an example.

import org.eclipse.nebula.visualization.xygraph.figures.ZoomType;
import org.eclipse.nebula.visualization.xygraph.figures.Trace.BaseLine;
import org.eclipse.nebula.visualization.xygraph.figures.Trace.ErrorBarType;
import org.eclipse.nebula.visualization.xygraph.figures.Trace.PointStyle;
import org.eclipse.nebula.visualization.xygraph.figures.Trace.TraceType;
import org.eclipse.nebula.visualization.xygraph.linearscale.AbstractScale.LabelSide;



All other classes in the example are found. I am trying to run this example:

https://raw.githubusercontent.com/eclipse/nebula/master/examples/org.eclipse.nebula.snippets/src/org/eclipse/nebula/snippets/visualization/ComprehensiveExample.java


I have this installed (and others) but this should be the relevant one:
org.eclipse.nebula.visualization.xygraph


[Updated on: Sat, 04 January 2020 00:27]

Report message to a moderator

Re: Can't use nebula xygraph [message #1818982 is a reply to message #1818976] Sat, 04 January 2020 07:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30820
Registered: July 2009
Senior Member
Installing the plugin doesn't put it on the classpath. Is this a plain Java project or a Plug-in project that your working on? What you have done so far to ensure the jars for the imported packages are on the classpath.
Re: Can't use nebula xygraph [message #1818993 is a reply to message #1818982] Sat, 04 January 2020 08:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30820
Registered: July 2009
Senior Member
BTW, I assume you downloaded https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2019-12/R/eclipse-inst-linux64.tar.gz and that works for me on Ubuntu...
Re: Can't use nebula xygraph [message #1819010 is a reply to message #1818982] Sat, 04 January 2020 16:24 Go to previous messageGo to next message
ivar zam is currently offline ivar zamFriend
Messages: 6
Registered: January 2020
Junior Member
I installed them from the 'install new software' dialogue

then I added them to the 'java build path' under 'projects'

I also added external jars which I downloaded, I also tried only one of the methods at a time.

adding external jars worked well for swtchart
Re: Can't use nebula xygraph [message #1819011 is a reply to message #1818993] Sat, 04 January 2020 16:25 Go to previous message
ivar zam is currently offline ivar zamFriend
Messages: 6
Registered: January 2020
Junior Member
I use eclipse 3.8 and Xubuntu 16.04
Previous Topic:ESP32 Unresolved Inclusion
Next Topic:Can't debug startup code Reset_Handler
Goto Forum:
  


Current Time: Mon Jan 27 11:01:40 GMT 2020

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

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

Back to the top