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 ?
JFreeChart with SWT
Asked Answered
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
Yes it is possible. The Eclipse-CS plugin does this if you want to see how it works.
Here is an example screen shot:
Are the graphics drawed by JFreeChart? –
Indiscerptible
It's been a while since I looked at it last, but I believe they are –
Eclogite
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.