use of com.google.gwt.json.client.JSONArray in project rstudio by rstudio.
the class RemoteServer method isPackageLoaded.
public void isPackageLoaded(String packageName, String libName, ServerRequestCallback<Boolean> requestCallback) {
JSONArray params = new JSONArray();
params.set(0, new JSONString(packageName));
params.set(1, new JSONString(libName));
sendRequest(RPC_SCOPE, IS_PACKAGE_LOADED, params, requestCallback);
}
use of com.google.gwt.json.client.JSONArray in project rstudio by rstudio.
the class RemoteServer method getCustomParameterHelp.
public void getCustomParameterHelp(String helpHandler, String source, ServerRequestCallback<HelpInfo.Custom> requestCallback) {
JSONArray params = new JSONArray();
params.set(0, new JSONString(helpHandler));
params.set(1, new JSONString(source));
sendRequest(RPC_SCOPE, GET_CUSTOM_PARAMETER_HELP, params, requestCallback);
}
use of com.google.gwt.json.client.JSONArray in project rstudio by rstudio.
the class RemoteServer method assembleDataImport.
@Override
public void assembleDataImport(DataImportOptions dataImportOptions, ServerRequestCallback<DataImportAssembleResponse> requestCallback) {
JSONArray params = new JSONArray();
params.set(0, new JSONObject(dataImportOptions));
sendRequest(RPC_SCOPE, ASSEMBLE_DATA_IMPORT, params, requestCallback);
}
use of com.google.gwt.json.client.JSONArray in project rstudio by rstudio.
the class RemoteServer method getPendingActions.
@Override
public void getPendingActions(String action, String dir, ServerRequestCallback<JsArray<PackratPackageAction>> requestCallback) {
JSONArray params = new JSONArray();
params.set(0, new JSONString(action));
params.set(1, new JSONString(dir));
sendRequest(RPC_SCOPE, GET_PENDING_ACTIONS, params, requestCallback);
}
use of com.google.gwt.json.client.JSONArray in project rstudio by rstudio.
the class RemoteServer method applyInverseConcordance.
@Override
public void applyInverseConcordance(SourceLocation sourceLocation, ServerRequestCallback<SourceLocation> callback) {
JSONArray params = new JSONArray();
params.set(0, new JSONObject(sourceLocation));
sendRequest(RPC_SCOPE, APPLY_INVERSE_CONCORDANCE, params, callback);
}
Aggregations