Search in sources :

Example 1 with ObjectToolSelectionDialog

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

the class ExportFileBuilder method addObjectTools.

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

Aggregations

ObjectTool (org.netxms.client.objecttools.ObjectTool)1 ObjectToolSelectionDialog (org.netxms.ui.eclipse.serverconfig.dialogs.ObjectToolSelectionDialog)1