Skip to content

Commit

Permalink
Fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
olehkuznetsov committed Nov 26, 2024
1 parent d1e74d4 commit 5b0a8d6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions gapic/src/main/com/google/gapid/views/TracerDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -431,17 +431,22 @@ public TraceInput(Composite parent, TraceType type, Models models, Widgets widge
withMarginOnly(new GridLayout(2, false), 0, 0)),
new GridData(SWT.FILL, SWT.FILL, true, false));

skipDeviceValidation = withLayoutData(createCheckbox(skipDeviceValidationComposite, "Skip Device Validation", Devices.skipDeviceValidation.get()), new GridData(SWT.END, SWT.FILL, false, false));
skipDeviceValidation = withLayoutData(
createCheckbox(
skipDeviceValidationComposite,
"Skip Device Validation",
Devices.skipDeviceValidation.get()),
new GridData(SWT.END, SWT.FILL, false, false));
skipDeviceValidation.addListener(SWT.Selection, e -> {
if(skipDeviceValidation.getSelection()) {
if (skipDeviceValidation.getSelection()) {
Devices.skipDeviceValidation.setValue("true");
} else {
Devices.skipDeviceValidation.setValue("false");
}
logFailure(LOG, Scheduler.EXECUTOR.schedule(refreshDevices, 300, TimeUnit.MILLISECONDS));
});

// Align label with first line of text.
// Align label with first line of text.
withLayoutData(createLabel(mainGroup, "Validation:"),
withIndents(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_BEGINNING), 0, 12));
deviceValidationView = new DeviceValidationView(mainGroup, this.models, widgets);
Expand Down

0 comments on commit 5b0a8d6

Please sign in to comment.