use of org.talend.dataprofiler.core.ui.views.RespositoryDetailView in project tdq-studio-se by Talend.
the class AnalysisColumnCompareTreeViewer method showDetailView.
public void showDetailView(TableViewer tableView) {
TableItem[] selection = tableView.getTable().getSelection();
if (selection.length > 0) {
RespositoryDetailView detailView = CorePlugin.getDefault().getRespositoryDetailView();
if (detailView == null) {
return;
}
DQRespositoryView dqview = CorePlugin.getDefault().getRepositoryView();
detailView.selectionChanged(dqview, new StructuredSelection(selection[0].getData()));
}
}
use of org.talend.dataprofiler.core.ui.views.RespositoryDetailView in project tdq-studio-se by Talend.
the class AnalysisColumnNominalIntervalTreeViewer method showDetailView.
private void showDetailView(Tree newTree) {
TreeItem[] selection = newTree.getSelection();
if (selection.length > 0) {
RespositoryDetailView detailView = CorePlugin.getDefault().getRespositoryDetailView();
if (detailView == null) {
return;
}
DQRespositoryView dqview = CorePlugin.getDefault().getRepositoryView();
detailView.selectionChanged(dqview, new StructuredSelection(selection[0].getData(COLUMN_INDICATOR_KEY)));
}
}
use of org.talend.dataprofiler.core.ui.views.RespositoryDetailView in project tdq-studio-se by Talend.
the class ModelElementTreeMenuProvider method showDetailView.
/**
* DOC Zqin Comment method "showSelectedElements".MOD 2009-01-07 mzhao.
*
* @param newTree
*/
public void showDetailView(Tree newTree) {
TreeItem[] selection = newTree.getSelection();
if (selection.length > 0) {
RespositoryDetailView detailView = CorePlugin.getDefault().getRespositoryDetailView();
if (detailView == null) {
return;
}
DQRespositoryView dqview = CorePlugin.getDefault().getRepositoryView();
RepositoryNode node = getSelectedNode(selection);
detailView.selectionChanged(dqview, new StructuredSelection(node));
}
}
Aggregations