Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Google vizualization
Google vizualization [message #1077962] Fri, 02 August 2013 11:13 Go to next message
Julia Kurde is currently offline Julia KurdeFriend
Messages: 91
Registered: November 2011
Location: Berlin, Germany
Member
Hello!

How do I use the plugins of the incubator project "Google Visualization"?

This is some how a stupid question but can't get it run!

I downloaded the nightly builds from the repository given at
http://eclipse.org/rap/incubator/
using the Eclipse Help > Install new Software... wizard.

I see some new or updated plugins in the eclipse/plugins folder:

org.eclipse.rap.rwt.visualization.jit.source_1.5.0.20120725-0824.jar
org.eclipse.rap.rwt.visualization.google.source_1.5.0.20120725-0824.jar
org.eclipse.rap.rwt.excanvas.source_1.5.0.20120725-0824.jar
org.eclipse.rap.rwt.visualization.jit_1.5.0.20120725-0824.jar
org.eclipse.rap.rwt.visualization.jit.demo_1.5.0.20120725-0824.jar
org.eclipse.rap.rwt.visualization.google_1.5.0.20120725-0824.jar
org.eclipse.rap.rwt.excanvas_1.5.0.20120725-0824.jar
org.eclipse.rap.rwt.visualization.google.demo_1.5.0.20120725-0824.jar
org.eclipse.rap.ui.workbench_2.1.0.20130506-1748.jar
org.eclipse.rap.rwt_2.1.0.20130611-2139.jar
org.json_1.0.0.v201011060100.jar
org.eclipse.rap.jface_2.1.0.20130506-1748.jar
org.eclipse.rap.rwt.osgi_2.1.0.20130506-1748.jar
org.eclipse.rap.ui_2.1.0.20130604-1251.jar
org.eclipse.rap.jface.databinding_2.1.0.20130506-1748.jar

Then, this is what I tried:

1) There are some new views available under Window > Show View > Other...
These views have the name of charts, e.g. Line Chart. When opening any of these views I get
org.eclipse.rap.rwt.visualization.google.demo.Application$LineChartExample cannot be cast to org.eclipse.ui.IViewPart

2) Double-clicking the org.eclipse.rap.rwt.visualization.google.demo_1.5.0.20120725-0824.jar
-> Nothing happens

3) Importing org.eclipse.rap.rwt.visualization.google.demo_1.5.0.20120725-0824.jar into workspace -> no plugins available

4) Importing org.eclipse.rap.rwt.visualization.google.source_1.5.0.20120725-0824.jar
into workspace -> lots of unresolved dependencies

5) Copying some example code into a new plugin -> some unresolved dependencies
I can't add the missing plugins to the required plugins in the plugin.xml because they don't appear as a choice there.
So I went to Build Path > Configure Build Path... > Libraries and Add External Jars.... When
org.eclipse.rap.rwt.visualization.google_1.5.0.20120725-0824.jar and
org.json_1.0.0.v201011060100.jar
are under Referenced Libraries all compile errors are gone.
Then I try Run As... RAP Application and I get
java.lang.NoClassDefFoundError: org/eclipse/rap/rwt/visualization/google/json/JSONGoogleDataTable
I tried to add these two plugins in the run configuration but they don't appear there.
Finally, when I do Plug-in Tools > Update Classpath..., the referenced libraries are removed and the compile errors are back!

I have the feeling I'm totally doing something wrong!

Are there any ideas?

Thanks...
Julia
Re: Google vizualization [message #1078844 is a reply to message #1077962] Sat, 03 August 2013 17:28 Go to previous message
Paul Bilnoski is currently offline Paul BilnoskiFriend
Messages: 28
Registered: August 2010
Junior Member
Julia-
The current version built in the incubator of the Google visualization project (v 1.5) is not compatible with the RAP 2.x protocol.

My group has been working on converting these to be compliant and have recently finished, but we have not yet contributed those changes to the incubator project. We will try to get this pushed back soon so you and the rest of the community can use the Google (as well as Jit) visualization widgets in RAP 2.x.
--Paul
Previous Topic:setMessage Hints with < character
Next Topic:Disable the scrolling in Combo
Goto Forum:
  


Current Time: Thu Apr 18 05:55:53 GMT 2024

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

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

Back to the top