Skip to content

Don't set focus on preference page creation - #1326

Open
nitind wants to merge 2 commits into
eclipse-buildship:masterfrom
nitind:issue-1204
Open

Don't set focus on preference page creation#1326
nitind wants to merge 2 commits into
eclipse-buildship:masterfrom
nitind:issue-1204

Conversation

@nitind

@nitind nitind commented Mar 8, 2025

Copy link
Copy Markdown

Fixes #1204, and properly refers to BREE JRE

@donat
donat self-requested a review March 11, 2025 08:47

@donat donat left a comment

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.

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.

👍

Comment thread org.eclipse.buildship.ui/.classpath Outdated
<?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.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I disagree with the reasoning, but I've removed this change.

@nitind
nitind requested a review from donat June 29, 2026 19:29
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