Search in sources :

Example 1 with AbstractWizardPage

use of name.abuchen.portfolio.ui.wizards.AbstractWizardPage in project portfolio by buchen.

the class CSVImportWizard method performFinish.

@Override
public boolean performFinish() {
    ((AbstractWizardPage) getContainer().getCurrentPage()).afterPage();
    boolean isDirty = false;
    if (importer.getExtractor() == importer.getSecurityPriceExtractor())
        isDirty = importSecurityPrices();
    else
        isDirty = importItems();
    if (isDirty) {
        client.markDirty();
        new ConsistencyChecksJob(client, false).schedule();
    }
    return true;
}
Also used : ConsistencyChecksJob(name.abuchen.portfolio.ui.ConsistencyChecksJob) AbstractWizardPage(name.abuchen.portfolio.ui.wizards.AbstractWizardPage)

Aggregations

ConsistencyChecksJob (name.abuchen.portfolio.ui.ConsistencyChecksJob)1 AbstractWizardPage (name.abuchen.portfolio.ui.wizards.AbstractWizardPage)1