Search in sources :

Example 1 with ColumnFilterWizard

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

the class ColumnFilterAction method run.

@Override
public void run() {
    ColumnFilterWizard wizard = new ColumnFilterWizard(this.namedColumnSet);
    WizardDialog dialog = new WizardDialog(null, wizard);
    dialog.setPageSize(WIDTH, HEIGHT);
    if (dialog.open() == Dialog.OK) {
        // MOD klliu if set the column filter, need to clear the cashe children of Table node.
        if (node instanceof DBTableRepNode) {
            ((DBTableRepNode) node).getCasheChildren().clear();
        }
        CorePlugin.getDefault().refreshDQView(node);
    }
}
Also used : DBTableRepNode(org.talend.dq.nodes.DBTableRepNode) ColumnFilterWizard(org.talend.dataprofiler.core.ui.wizard.database.ColumnFilterWizard) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 ColumnFilterWizard (org.talend.dataprofiler.core.ui.wizard.database.ColumnFilterWizard)1 DBTableRepNode (org.talend.dq.nodes.DBTableRepNode)1