Search in sources :

Example 1 with SummaryTableSelectionDialog

use of org.netxms.ui.eclipse.serverconfig.dialogs.SummaryTableSelectionDialog in project netxms by netxms.

the class ExportFileBuilder method addSummaryTables.

/**
 * Add oject tools to list
 */
private void addSummaryTables() {
    SummaryTableSelectionDialog dlg = new SummaryTableSelectionDialog(getSite().getShell());
    if (dlg.open() == Window.OK) {
        for (DciSummaryTableDescriptor t : dlg.getSelection()) summaryTables.put(t.getId(), t);
        summaryTableViewer.setInput(summaryTables.values().toArray());
        setModified();
    }
}
Also used : SummaryTableSelectionDialog(org.netxms.ui.eclipse.serverconfig.dialogs.SummaryTableSelectionDialog) DciSummaryTableDescriptor(org.netxms.client.datacollection.DciSummaryTableDescriptor)

Aggregations

DciSummaryTableDescriptor (org.netxms.client.datacollection.DciSummaryTableDescriptor)1 SummaryTableSelectionDialog (org.netxms.ui.eclipse.serverconfig.dialogs.SummaryTableSelectionDialog)1