Skip to content

Don't set focus on preference page creation#1326

Open
nitind wants to merge 1 commit intoeclipse-buildship:masterfrom
nitind:issue-1204
Open

Don't set focus on preference page creation#1326
nitind wants to merge 1 commit intoeclipse-buildship:masterfrom
nitind:issue-1204

Conversation

@nitind
Copy link
Copy Markdown

@nitind nitind commented Mar 8, 2025

Fixes #1204, and properly refers to BREE JRE

@donat donat self-requested a review March 11, 2025 08:47
Copy link
Copy Markdown
Contributor

@donat donat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!
I have one request before I can merge your changes. I'd be happy discuss that separately.

for (Button radioButton : allRadioButtons) {
if (radioButton.equals(selectedRadioButton)) {
radioButton.setSelection(true);
radioButton.setFocus();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intent here with not specifying the version was to allow the active target definition to select the Java version. That way, we can always select the lowest required java version for a given Eclipse platform version.

❌ This change should not be part of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GradleWorkbenchPreferencePage steals focus when first created

2 participants