Search in sources :

Example 6 with DQFolderFilter

use of org.talend.dataprofiler.core.ui.filters.DQFolderFilter 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)6 Composite (org.eclipse.swt.widgets.Composite)3 IFolder (org.eclipse.core.resources.IFolder)2 IResource (org.eclipse.core.resources.IResource)2 GridLayout (org.eclipse.swt.layout.GridLayout)2 Label (org.eclipse.swt.widgets.Label)2 IRepositoryViewObject (org.talend.core.model.repository.IRepositoryViewObject)2 FolderSelectionDialog (org.talend.dataprofiler.core.ui.dialog.FolderSelectionDialog)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 CoreException (org.eclipse.core.runtime.CoreException)1 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)1 SelectionEvent (org.eclipse.swt.events.SelectionEvent)1 FillLayout (org.eclipse.swt.layout.FillLayout)1 GridData (org.eclipse.swt.layout.GridData)1 Button (org.eclipse.swt.widgets.Button)1 DirectoryDialog (org.eclipse.swt.widgets.DirectoryDialog)1 FileDialog (org.eclipse.swt.widgets.FileDialog)1