use of org.rstudio.studio.client.projects.ui.prefs.ProjectPreferencesDialog in project rstudio by rstudio.
the class Projects method showProjectOptions.
public void showProjectOptions(final int initialPane) {
final ProgressIndicator indicator = globalDisplay_.getProgressIndicator("Error Reading Options");
indicator.onProgress("Reading options...");
projServer_.readProjectOptions(new SimpleRequestCallback<RProjectOptions>() {
@Override
public void onResponseReceived(RProjectOptions options) {
indicator.onCompleted();
ProjectPreferencesDialog dlg = pPrefDialog_.get();
dlg.initialize(options);
dlg.activatePane(initialPane);
dlg.showModal();
}
});
}
Aggregations