Search in sources :

Example 1 with ActionSelectionDialog

use of org.netxms.ui.eclipse.actionmanager.dialogs.ActionSelectionDialog in project netxms by netxms.

the class ExportFileBuilder method addActions.

/**
 * Add actions to list
 */
private void addActions() {
    ActionSelectionDialog dlg = new ActionSelectionDialog(getSite().getShell());
    if (dlg.open() == Window.OK) {
        for (ServerAction a : dlg.getSelection()) actions.put(a.getId(), a);
        actionViewer.setInput(actions.values().toArray());
        setModified();
    }
}
Also used : ActionSelectionDialog(org.netxms.ui.eclipse.actionmanager.dialogs.ActionSelectionDialog) ServerAction(org.netxms.client.ServerAction)

Aggregations

ServerAction (org.netxms.client.ServerAction)1 ActionSelectionDialog (org.netxms.ui.eclipse.actionmanager.dialogs.ActionSelectionDialog)1