#76 ExportDisplayAction: hardcoded title for the file chooser

open
nobody
5
2010-05-16
2010-05-16
Arye Shapiro
No

The ExportDisplayAction has a hardcoded title for the file chooser.
It is currently "Export Prefuse Display...".

Suggested workaround:
Change the line in the init() method:
change: chooser.setDialogTitle("Export Prefuse Display...");
to: chooser.setDialogTitle(PrefuseConfig.get("ExportDisplayAction.fileChooser.title"));

This way it can be configured in the prefuse.conf file.

I tried it and it works fine.

Discussion