Save and Print on the main menu

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
rspan
Posts: 15
Joined: Wed May 02, 2007 4:36 pm

Save and Print on the main menu

Post by rspan » Tue May 15, 2007 7:08 pm

As I know when right click mouse on a chart there will be pop up menu with save and print functionality. Could we get those functionality on the main menu of an RCP application? The RCP applicaitn is simple, it has a view that shows the jfreechart by swt-awt bridge. I would like to have the menu item for save&print showing in the RCP applicaiton main menu instead of the popup menu on each chart, how to do it?

Thanks for the help.

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Tue May 15, 2007 7:41 pm

The functionality is contained in

Code: Select all

org.jfree.chart.ChartPanel
See methods

Code: Select all

public void doSaveAs() throws java.io.IOException
public void doEditChartProperties()
etc

Locked