Search in sources :

Example 1 with TDQEEConnectionFolderFilter

use of org.talend.dataprofiler.core.ui.filters.TDQEEConnectionFolderFilter in project tdq-studio-se by Talend.

the class AnalysisDPSelectionPage method createControl.

public void createControl(Composite parent) {
    Composite container = new Composite(parent, SWT.NONE);
    GridLayout layout = new GridLayout();
    container.setLayout(layout);
    Label nameLabel = new Label(container, SWT.NONE);
    nameLabel.setText(nameLabTxt);
    createMetaDataTree(container);
    setControl(container);
    addFilters(new EMFObjFilter(), new DQFolderFilter(true), new TDQEEConnectionFolderFilter(), new RecycleBinFilter(), new HadoopCLusterFolderNodeFilter());
    addListeners();
}
Also used : TDQEEConnectionFolderFilter(org.talend.dataprofiler.core.ui.filters.TDQEEConnectionFolderFilter) GridLayout(org.eclipse.swt.layout.GridLayout) EMFObjFilter(org.talend.dataprofiler.core.ui.filters.EMFObjFilter) Composite(org.eclipse.swt.widgets.Composite) HadoopCLusterFolderNodeFilter(org.talend.dataprofiler.core.ui.filters.HadoopCLusterFolderNodeFilter) Label(org.eclipse.swt.widgets.Label) RecycleBinFilter(org.talend.dataprofiler.core.ui.filters.RecycleBinFilter) DQFolderFilter(org.talend.dataprofiler.core.ui.filters.DQFolderFilter)

Example 2 with TDQEEConnectionFolderFilter

use of org.talend.dataprofiler.core.ui.filters.TDQEEConnectionFolderFilter in project tdq-studio-se by Talend.

the class ColumnsSelectionDialog method initDialog.

/**
 * init this Dialog.
 *
 * @param title
 * @param checkedRepoNodes
 */
private void initDialog(String title, List<? extends IRepositoryNode> checkedRepoNodes) {
    modelElementCheckedMap = new MultiValueMap();
    initCheckedElements(checkedRepoNodes);
    addFilter(new EMFObjFilter());
    addFilter(new DQFolderFilter(true));
    addFilter(new TDQEEConnectionFolderFilter());
    // ADD msjian TDQ-10441: hide the hadoop cluster folder node
    addFilter(new HadoopCLusterFolderNodeFilter());
    // TDQ-10441~
    // ADD msjian TDQ-11253: hide the column folder nodes and column nodes
    addFilter(new ColumnAndFolderNodeFilter());
    // TDQ-11253~
    setTitle(title);
}
Also used : TDQEEConnectionFolderFilter(org.talend.dataprofiler.core.ui.filters.TDQEEConnectionFolderFilter) EMFObjFilter(org.talend.dataprofiler.core.ui.filters.EMFObjFilter) ColumnAndFolderNodeFilter(org.talend.dataprofiler.core.ui.filters.ColumnAndFolderNodeFilter) HadoopCLusterFolderNodeFilter(org.talend.dataprofiler.core.ui.filters.HadoopCLusterFolderNodeFilter) MultiValueMap(org.apache.commons.collections.map.MultiValueMap) DQFolderFilter(org.talend.dataprofiler.core.ui.filters.DQFolderFilter)

Aggregations

DQFolderFilter (org.talend.dataprofiler.core.ui.filters.DQFolderFilter)2 EMFObjFilter (org.talend.dataprofiler.core.ui.filters.EMFObjFilter)2 HadoopCLusterFolderNodeFilter (org.talend.dataprofiler.core.ui.filters.HadoopCLusterFolderNodeFilter)2 TDQEEConnectionFolderFilter (org.talend.dataprofiler.core.ui.filters.TDQEEConnectionFolderFilter)2 MultiValueMap (org.apache.commons.collections.map.MultiValueMap)1 GridLayout (org.eclipse.swt.layout.GridLayout)1 Composite (org.eclipse.swt.widgets.Composite)1 Label (org.eclipse.swt.widgets.Label)1 ColumnAndFolderNodeFilter (org.talend.dataprofiler.core.ui.filters.ColumnAndFolderNodeFilter)1 RecycleBinFilter (org.talend.dataprofiler.core.ui.filters.RecycleBinFilter)1