use of org.rstudio.studio.client.rsconnect.model.NewRSConnectAccountResult in project rstudio by rstudio.
the class NewRSConnectLocalPage method collectIntermediateInput.
@Override
public void collectIntermediateInput(final ProgressIndicator indicator, final OperationWithInput<NewRSConnectAccountResult> onResult) {
// get the current configuration and abort if it's not valid
final NewRSConnectAccountResult result = collectInput();
if (!validate(result)) {
onResult.execute(result);
return;
}
setIntermediateResult(result);
onResult.execute(result);
}
use of org.rstudio.studio.client.rsconnect.model.NewRSConnectAccountResult in project rstudio by rstudio.
the class RSAccountConnector method showShinyAppsDialog.
// Private methods --------------------------------------------------------
private void showShinyAppsDialog(final OperationWithInput<Boolean> onCompleted) {
RSConnectCloudDialog dialog = new RSConnectCloudDialog(new ProgressOperationWithInput<NewRSConnectAccountResult>() {
@Override
public void execute(NewRSConnectAccountResult input, ProgressIndicator indicator) {
processDialogResult(input, indicator, onCompleted);
}
}, new Operation() {
@Override
public void execute() {
onCompleted.execute(false);
}
});
dialog.showModal();
}
Aggregations