Message msg = new Message(MSG.view_admin_plugins_serverControls_badParams(), Severity.Warning,
EnumSet.of(Message.Option.Transient));
CoreGUI.getMessageCenter().notify(msg);
return;
}
PluginGWTServiceAsync pm = GWTServiceLookup.getPluginService();
PluginKey pluginKey = PluginKey.createServerPluginKey(plugin.getType(), plugin.getName());
pm.invokeServerPluginControl(pluginKey, selectedControlName, params,
new AsyncCallback<ServerPluginControlResults>() {
public void onSuccess(ServerPluginControlResults results) {
showResults(results);
}