|
@@ -71,7 +71,7 @@ public class ErrorController implements FxController {
|
|
|
private final ObjectProperty<ErrorDiscussion> matchingErrorDiscussion = new SimpleObjectProperty<>();
|
|
|
private final BooleanExpression errorSolutionFound = matchingErrorDiscussion.isNotNull();
|
|
|
private final BooleanProperty isLoadingHttpResponse = new SimpleBooleanProperty();
|
|
|
- private final BooleanProperty lookupDatabaseUserPermission = new SimpleBooleanProperty();
|
|
|
+ private final BooleanProperty askedForLookupDatabasePermission = new SimpleBooleanProperty();
|
|
|
|
|
|
@Inject
|
|
|
ErrorController(Application application, @Named("stackTrace") String stackTrace, ErrorCode errorCode, @Nullable Scene previousScene, Stage window, Environment environment, ExecutorService executorService) {
|
|
@@ -136,13 +136,13 @@ public class ErrorController implements FxController {
|
|
|
|
|
|
@FXML
|
|
|
public void dismiss() {
|
|
|
- lookupDatabaseUserPermission.set(true);
|
|
|
+ askedForLookupDatabasePermission.set(true);
|
|
|
}
|
|
|
|
|
|
@FXML
|
|
|
public void lookUpSolution() {
|
|
|
isLoadingHttpResponse.set(true);
|
|
|
- lookupDatabaseUserPermission.set(true);
|
|
|
+ askedForLookupDatabasePermission.set(true);
|
|
|
HttpClient httpClient = HttpClient.newBuilder().version(HttpClient.Version.HTTP_1_1).build();
|
|
|
HttpRequest httpRequest = HttpRequest.newBuilder()//
|
|
|
.uri(URI.create(ERROR_CODES_URL))//
|
|
@@ -305,12 +305,12 @@ public class ErrorController implements FxController {
|
|
|
return isLoadingHttpResponse.get();
|
|
|
}
|
|
|
|
|
|
- public BooleanProperty lookupDatabaseUserPermissionProperty() {
|
|
|
- return lookupDatabaseUserPermission;
|
|
|
+ public BooleanProperty askedForLookupDatabasePermissionProperty() {
|
|
|
+ return askedForLookupDatabasePermission;
|
|
|
}
|
|
|
|
|
|
- public boolean isLookupDatabaseUserPermission() {
|
|
|
- return lookupDatabaseUserPermission.get();
|
|
|
+ public boolean getAskedForLookupDatabasePermission() {
|
|
|
+ return askedForLookupDatabasePermission.get();
|
|
|
}
|
|
|
|
|
|
}
|