use of org.netxms.ui.eclipse.epp.dialogs.ActionSelectionDialog in project netxms by netxms.
the class RuleServerActions method addAction.
/**
* Add new event
*/
private void addAction() {
ActionSelectionDialog dlg = new ActionSelectionDialog(getShell(), editor.getEditorView().getActions());
dlg.enableMultiSelection(true);
if (dlg.open() == Window.OK) {
for (ServerAction a : dlg.getSelectedActions()) actions.put(a.getId(), a);
}
viewer.setInput(actions.values().toArray());
}
Aggregations