Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 164853 Details for
Bug 309159
[visualization] Google widgets crash application in offline situations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Fix to prevent the application from crashing.
patch.txt (text/plain), 20.00 KB, created by
Austin Riddle
on 2010-04-14 12:52:58 EDT
(
hide
)
Description:
Fix to prevent the application from crashing.
Filename:
MIME Type:
Creator:
Austin Riddle
Created:
2010-04-14 12:52:58 EDT
Size:
20.00 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.visualization.google >Index: src/org/eclipse/rap/rwt/visualization/google/internal/areachartkit/AreaChartAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/areachartkit/AreaChartAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 AreaChartAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/areachartkit/AreaChartAPI.js 3 Feb 2010 19:31:10 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/areachartkit/AreaChartAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['areachart']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['areachart']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Area Chart API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file >Index: src/org/eclipse/rap/rwt/visualization/google/internal/piechartkit/PieChartAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/piechartkit/PieChartAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 PieChartAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/piechartkit/PieChartAPI.js 3 Feb 2010 19:31:11 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/piechartkit/PieChartAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load("visualization", "1", {packages:["piechart"]}); >+try { >+ google.load("visualization", "1", {packages:["piechart"]}); >+} >+catch (e) { >+ var mesg = "Error loading Google Pie Chart API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >Index: src/org/eclipse/rap/rwt/visualization/google/internal/intensitymapkit/IntensityMapAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/intensitymapkit/IntensityMapAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 IntensityMapAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/intensitymapkit/IntensityMapAPI.js 3 Feb 2010 19:31:09 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/intensitymapkit/IntensityMapAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['intensitymap']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['intensitymap']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Intensity Map API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file >Index: src/org/eclipse/rap/rwt/visualization/google/internal/scatterchartkit/ScatterChartAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/scatterchartkit/ScatterChartAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 ScatterChartAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/scatterchartkit/ScatterChartAPI.js 3 Feb 2010 19:31:11 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/scatterchartkit/ScatterChartAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load("visualization", "1", {packages:["scatterchart"]}); >+try { >+ google.load("visualization", "1", {packages:["scatterchart"]}); >+} >+catch (e) { >+ var mesg = "Error loading Google Scatter Chart API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >Index: src/org/eclipse/rap/rwt/visualization/google/internal/geomapkit/GeomapAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/geomapkit/GeomapAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 GeomapAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/geomapkit/GeomapAPI.js 3 Feb 2010 19:31:09 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/geomapkit/GeomapAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['geomap']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['geomap']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Geomap API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file >Index: src/org/eclipse/rap/rwt/visualization/google/internal/columnchartkit/ColumnChartAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/columnchartkit/ColumnChartAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 ColumnChartAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/columnchartkit/ColumnChartAPI.js 3 Feb 2010 19:31:09 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/columnchartkit/ColumnChartAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['columnchart']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['columnchart']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Column Chart API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file >Index: src/org/eclipse/rap/rwt/visualization/google/internal/linechartkit/LineChartAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/linechartkit/LineChartAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 LineChartAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/linechartkit/LineChartAPI.js 3 Feb 2010 19:31:10 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/linechartkit/LineChartAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load("visualization", "1", {packages:["linechart"]}); >+try { >+ google.load("visualization", "1", {packages:["linechart"]}); >+} >+catch (e) { >+ var mesg = "Error loading Google Line Chart API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >Index: src/org/eclipse/rap/rwt/visualization/google/internal/motionchartkit/MotionChartAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/motionchartkit/MotionChartAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 MotionChartAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/motionchartkit/MotionChartAPI.js 3 Feb 2010 19:31:08 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/motionchartkit/MotionChartAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['motionchart']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['motionchart']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Motion Chart API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file >Index: src/org/eclipse/rap/rwt/visualization/google/internal/annotatedtimelinekit/AnnotatedTimeLineAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/annotatedtimelinekit/AnnotatedTimeLineAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 AnnotatedTimeLineAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/annotatedtimelinekit/AnnotatedTimeLineAPI.js 3 Feb 2010 19:31:10 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/annotatedtimelinekit/AnnotatedTimeLineAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,19 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load("visualization", "1", {packages:["annotatedtimeline"]}); >+try { >+ google.load("visualization", "1", {packages:["annotatedtimeline"]}); >+} >+catch (e) { >+ var mesg = "Error loading Google Annotated Timeline API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >+ >Index: src/org/eclipse/rap/rwt/visualization/google/internal/gaugekit/GaugeAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/gaugekit/GaugeAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 GaugeAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/gaugekit/GaugeAPI.js 3 Feb 2010 19:31:11 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/gaugekit/GaugeAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['gauge']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['gauge']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Gauge API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file >Index: src/org/eclipse/rap/rwt/visualization/google/internal/barchartkit/BarChartAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/barchartkit/BarChartAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 BarChartAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/barchartkit/BarChartAPI.js 3 Feb 2010 19:31:10 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/barchartkit/BarChartAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['barchart']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['barchart']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Bar Chart API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file >Index: src/org/eclipse/rap/rwt/visualization/google/internal/tablekit/TableAPI.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/incubator/visualization/org.eclipse.rap.rwt.visualization.google/src/org/eclipse/rap/rwt/visualization/google/internal/tablekit/TableAPI.js,v >retrieving revision 1.1 >diff -u -r1.1 TableAPI.js >--- src/org/eclipse/rap/rwt/visualization/google/internal/tablekit/TableAPI.js 3 Feb 2010 19:31:10 -0000 1.1 >+++ src/org/eclipse/rap/rwt/visualization/google/internal/tablekit/TableAPI.js 14 Apr 2010 16:47:44 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2009-2010 David Donahue. >+ * Copyright (c) 2009-2010 David Donahue and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -7,5 +7,18 @@ > * > * Contributors: > * David Donahue - initial API, implementation and documentation >+ * Austin Riddle (Texas Center for Applied Technology) - >+ * added fault tolerance for offline situations > ******************************************************************************/ >-google.load('visualization', '1', {'packages':['table']}); >\ No newline at end of file >+try { >+ google.load('visualization', '1', {'packages':['table']}); >+} >+catch (e) { >+ var mesg = "Error loading Google Table API: "+e; >+ if (console) { >+ console.log(mesg); >+ } >+ else { >+ alert(mesg); >+ } >+} >\ No newline at end of file
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 309159
: 164853