use of org.talend.dataprofiler.core.ui.wizard.analysis.provider.AnalysisTypeContentProvider in project tdq-studio-se by Talend.
the class NewWizardSelectionPage method createControl.
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
*/
public void createControl(Composite parent) {
Composite container = new Composite(parent, SWT.NONE);
GridLayout gdLayout = new GridLayout(1, true);
container.setLayout(gdLayout);
PatternFilter filter = new PatternFilter();
FilteredTree tree = new FilteredTree(container, SWT.BORDER, filter, true);
typeTreeViewer = tree.getViewer();
typeTreeViewer.setContentProvider(new AnalysisTypeContentProvider());
typeTreeViewer.setLabelProvider(new AnalysisTypeLabelProvider());
typeTreeViewer.setInput(ViewerDataFactory.createTreeData());
addListeners();
setControl(container);
}
Aggregations