JFreeChart with SWT
Asked Answered
I

1

8

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 ?

Indiscerptible answered 30/9, 2009 at 16:32 Comment(1)
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..Indiscerptible
E
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:

Eclipse CS screenshot

Eclogite answered 30/9, 2009 at 16:43 Comment(3)
Are the graphics drawed by JFreeChart?Indiscerptible
It's been a while since I looked at it last, but I believe they areEclogite
Here's the cvsweb page of the relevant source file. They use the SWT_AWT bridge, which is one way of doing it. eclipse-cs.cvs.sourceforge.net/viewvc/eclipse-cs/…Scutter

© 2022 - 2024 — McMap. All rights reserved.