Search in sources :

Example 1 with CreateNewAnalysisWizard

use of org.talend.dataprofiler.core.ui.wizard.analysis.CreateNewAnalysisWizard in project tdq-studio-se by Talend.

the class CreateNewAnalysisAction method run.

/*
     * (non-Javadoc)
     * 
     * @see org.eclipse.jface.action.Action#run()
     */
@Override
public void run() {
    CreateNewAnalysisWizard wizard = WizardFactory.createNewAnalysisWizard(node);
    wizard.setForcePreviousAndNextButtons(true);
    WizardDialog dialog = new OpeningHelpWizardDialog(null, wizard, null);
    wizard.setContainer(dialog);
    if (WizardDialog.OK == dialog.open()) {
        ProxyRepositoryManager.getInstance().save();
    }
}
Also used : CreateNewAnalysisWizard(org.talend.dataprofiler.core.ui.wizard.analysis.CreateNewAnalysisWizard) OpeningHelpWizardDialog(org.talend.dataprofiler.core.ui.utils.OpeningHelpWizardDialog) OpeningHelpWizardDialog(org.talend.dataprofiler.core.ui.utils.OpeningHelpWizardDialog) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 OpeningHelpWizardDialog (org.talend.dataprofiler.core.ui.utils.OpeningHelpWizardDialog)1 CreateNewAnalysisWizard (org.talend.dataprofiler.core.ui.wizard.analysis.CreateNewAnalysisWizard)1