use of org.talend.dataprofiler.core.ui.wizard.parserrule.NewParserRulesWizard in project tdq-studio-se by Talend.
the class CreateParserRuleAction method run.
@Override
public void run() {
DQParserRulesParameter parameter = new DQParserRulesParameter();
FolderProvider folderProvider = new FolderProvider();
folderProvider.setFolderResource(folder);
parameter.setFolderProvider(folderProvider);
NewParserRulesWizard fileWizard = WizardFactory.createNewParserRuleWizard(parameter);
fileWizard.setWindowTitle(getText());
WizardDialog dialog = new WizardDialog(Display.getDefault().getActiveShell(), fileWizard);
if (WizardDialog.OK == dialog.open())
ProxyRepositoryManager.getInstance().save();
}
Aggregations