Skip to main content



      Home
Home » Newcomers » Newcomers » Can't use nebula xygraph
Can't use nebula xygraph [message #1818923] Thu, 02 January 2020 16:11 Go to next message
Eclipse UserFriend
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 17:30 Go to previous messageGo to next message
Eclipse UserFriend
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 .

[Updated on: Thu, 02 January 2020 17:31] by Moderator

Re: Can't use nebula xygraph [message #1818928 is a reply to message #1818927] Thu, 02 January 2020 18:08 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 02 January 2020 19:06 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Can't use nebula xygraph [message #1818931 is a reply to message #1818930] Thu, 02 January 2020 19:26 Go to previous messageGo to next message
Eclipse UserFriend
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 01:24 Go to previous messageGo to next message
Eclipse UserFriend
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] Fri, 03 January 2020 19:26 Go to previous messageGo to next message
Eclipse UserFriend
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: Fri, 03 January 2020 19:27] by Moderator

Re: Can't use nebula xygraph [message #1818982 is a reply to message #1818976] Sat, 04 January 2020 02:04 Go to previous messageGo to next message
Eclipse UserFriend
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 03:33 Go to previous messageGo to next message
Eclipse UserFriend
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 11:24 Go to previous messageGo to next message
Eclipse UserFriend
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 11:25 Go to previous message
Eclipse UserFriend
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 Jul 07 22:05:27 EDT 2025

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

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

Back to the top