351352353354355356357
@Override public void onAbort() { Console.warning("Operation canceled."); loadTopology(); circuit.dispatch(new RefreshHosts()); circuit.dispatch(new RefreshServer()); }
359360361362363364365
@Override public void onError(final Throwable caught) { Console.warning("Operation failed."); loadTopology(); circuit.dispatch(new RefreshHosts()); circuit.dispatch(new RefreshServer()); }
340341342343344345346
} private void performDeleteOperation(final Server server) { circuit.dispatch(new RemoveServer(server)); }
166167168169170171172173174175176
String server = getSelectedServer(); String selectedHost = getSelectedHost(); if(selectedHost!=null &server!=null) { circuit.dispatch(new SelectServerInstance(server)); } } });
168169170171172173174175176177178
288289290291292293294
circuit.dispatch(new AddServer(newServer)); } public void onSaveChanges(final Server entity, Map<String, Object> changedValues) { circuit.dispatch(new UpdateServer(entity, changedValues)); }