use of org.netxms.client.datacollection.DciSummaryTableColumn in project netxms by netxms.
the class SummaryTableColumns method editColumn.
/**
* Edit selected column
*/
private void editColumn() {
final IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();
if (selection.size() == 1) {
final DciSummaryTableColumn column = (DciSummaryTableColumn) selection.getFirstElement();
EditDciSummaryTableColumnDlg dlg = new EditDciSummaryTableColumnDlg(getShell(), column);
if (dlg.open() == Window.OK) {
viewer.update(column, null);
}
}
}
Aggregations