use of org.talend.dataprofiler.core.ui.filters.RuleFolderFliter in project tdq-studio-se by Talend.
the class DQRuleSelectPage method createControl.
public void createControl(Composite parent) {
Composite container = new Composite(parent, SWT.NONE);
FillLayout layout = new FillLayout();
container.setLayout(layout);
cViewer = new ContainerCheckedTreeViewer(container, SWT.NONE);
cViewer.setLabelProvider(new DQRuleLabelProvider());
cViewer.setContentProvider(new WorkbenchContentProvider());
cViewer.setInput(ResourceManager.getLibrariesFolder());
// ADD mzhao bug TDQ-4188 hide the .svn folders.
cViewer.addFilter(new DQFolderFilter(true));
cViewer.addFilter(new RuleFolderFliter(true));
cViewer.addFilter(AnalysisUtils.createRuleFilter());
setControl(container);
}
Aggregations