org.grinvin.list.actions

Class ExportGraphList


public class ExportGraphList
extends FileSaveAction

Action to export a list of graphs.

Constructor Summary

ExportGraphList(Window parent, GraphList graphList)

Method Summary

protected void
saveFile(File file)
protected boolean
showFileExistsDialog(File file)
Alert the user that a file with the chosen name already exists.
@Override
void actionPerformed(ActionEvent e)

Constructor Details

ExportGraphList

public ExportGraphList(Window parent,
                       GraphList graphList)

Method Details

saveFile

protected void saveFile(File file)

showFileExistsDialog

protected boolean showFileExistsDialog(File file)
Alert the user that a file with the chosen name already exists.
Returns:
true if the user allows the file to be overwritten.

void actionPerformed

public @Override void actionPerformed(ActionEvent e)