Package name.abuchen.portfolio.ui.util

Examples of name.abuchen.portfolio.ui.util.TableViewerCSVExporter


        Action export = new Action()
        {
            @Override
            public void run()
            {
                new TableViewerCSVExporter(securities.getTableViewer()) //
                                .export(getTitle() + ".csv"); //$NON-NLS-1$
            }
        };
        export.setImageDescriptor(PortfolioPlugin.descriptor(PortfolioPlugin.IMG_EXPORT));
        export.setToolTipText(Messages.MenuExportData);
View Full Code Here


        Action export = new Action()
        {
            @Override
            public void run()
            {
                new TableViewerCSVExporter(records).export(getTitle() + ".csv"); //$NON-NLS-1$
            }
        };
        export.setImageDescriptor(PortfolioPlugin.descriptor(PortfolioPlugin.IMG_EXPORT));
        export.setToolTipText(Messages.MenuExportData);
View Full Code Here

            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$
                }
            });

        }
View Full Code Here

        Action export = new Action()
        {
            @Override
            public void run()
            {
                new TableViewerCSVExporter(assetViewer.getTableViewer()) //
                                .export(Messages.LabelStatementOfAssets + ".csv"); //$NON-NLS-1$
            }
        };
        export.setImageDescriptor(PortfolioPlugin.descriptor(PortfolioPlugin.IMG_EXPORT));
        export.setToolTipText(Messages.MenuExportData);
View Full Code Here

TOP

Related Classes of name.abuchen.portfolio.ui.util.TableViewerCSVExporter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.