manager.add(new Action(MessageFormat.format(Messages.LabelExport, Messages.PerformanceTabAssetsAtStart))
{
@Override
public void run()
{
new TableViewerCSVExporter(snapshotStart.getTableViewer())
.export(Messages.PerformanceTabAssetsAtStart + ".csv"); //$NON-NLS-1$
}
});
manager.add(new Action(MessageFormat.format(Messages.LabelExport, Messages.PerformanceTabAssetsAtEnd))
{
@Override
public void run()
{
new TableViewerCSVExporter(snapshotEnd.getTableViewer()).export(Messages.PerformanceTabAssetsAtEnd
+ ".csv"); //$NON-NLS-1$
}
});
manager.add(new Action(MessageFormat.format(Messages.LabelExport, Messages.PerformanceTabEarnings))
{
@Override
public void run()
{
new TableViewerCSVExporter(earnings).export(Messages.PerformanceTabEarnings + ".csv"); //$NON-NLS-1$
}
});
manager.add(new Action(MessageFormat.format(Messages.LabelExport, Messages.PerformanceTabEarningsByAccount))
{
@Override
public void run()
{
new TableViewerCSVExporter(earningsByAccount).export(Messages.PerformanceTabEarningsByAccount
+ ".csv"); //$NON-NLS-1$
}
});
}