use of org.talend.dataprofiler.core.ui.action.actions.AnalyzeColumnSetAction in project tdq-studio-se by Talend.
the class OverviewResultPage method runTableAnalysis.
/**
* run TableAnalysis with view name.
*
* @param viewName
*/
protected void runTableAnalysis(String viewName) {
Package parentPack = (Package) currentSelectionSchemaIndicator.getAnalyzedElement();
TdView tdView = getView(parentPack, viewName);
if (null == tdView) {
FolderNodeHelper.getTableFolderNode(parentPack).loadChildren();
tdView = getView(parentPack, viewName);
}
DBViewRepNode dbViewRepNode = RepositoryNodeHelper.recursiveFindTdView(tdView);
new AnalyzeColumnSetAction(dbViewRepNode).run();
}
use of org.talend.dataprofiler.core.ui.action.actions.AnalyzeColumnSetAction in project tdq-studio-se by Talend.
the class AnalyzeColumnProvider method init.
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.navigator.CommonActionProvider#init(org.eclipse.ui.navigator.ICommonActionExtensionSite)
*/
@Override
public void init(ICommonActionExtensionSite site) {
if (site.getViewSite() instanceof ICommonViewerWorkbenchSite) {
analyzeColumnAction = new AnalyzeColumnAction();
analyzeColumnSetAction = new AnalyzeColumnSetAction();
}
}
Aggregations