I'm developping a plugin for eclipse and extending the org.eclipse.ui.views extension point. I want to use JFreeChart for drawing some graphics in eclipse view. Is it possible to use JFreeChart with SWT in eclipse view ?
Asked
Active
Viewed 3,988 times
8
-
I found two jar file (jfreechart-1.0.13-experimental.jar, jfreechart-1.0.13-swt.jar) and some demo codes about SWT in JFreeChart download. It says that jfreechart-1.0.13-swt.jar includes specific JFreeChart SWT classes. It might be an answer to my question. I'll try using them.. – penguru Sep 30 '09 at 17:30
1 Answers
4
Yes it is possible. The Eclipse-CS plugin does this if you want to see how it works.
Here is an example screen shot:

Glorfindel
- 21,988
- 13
- 81
- 109

Rich Seller
- 83,208
- 23
- 172
- 177
-
-
It's been a while since I looked at it last, but I believe they are – Rich Seller Sep 30 '09 at 17:10
-
1Here's the cvsweb page of the relevant source file. They use the SWT_AWT bridge, which is one way of doing it. http://eclipse-cs.cvs.sourceforge.net/viewvc/eclipse-cs/CheckstyleStatsPlugin/src/net/sf/eclipsecs/stats/views/GraphStatsView.java?revision=1.9&view=markup – rescdsk Feb 15 '10 at 19:13