Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] How to programmatically uncheck "Create module-info.java" in NewJavaProjectWizardPageOne?

You could take a look at how SWT-Bot do it or take a look at

Display.getCurrent().post(<your click event>);

otherwise I fear you have to debug this specific code and learn how it works internally...

Am 09.02.22 um 08:06 schrieb Alexander Kriegisch:
Thanks for the great resources, Christoph. For the future, both tools
look quite promising. For now, I simply want to make a build green
without adding new test infrastructure to the project.

Is there any manual way to emulate user input. Specifically with respect
to the module info group on wizard page 1, can I somehow ensure that the
desired value is set correctly without it being overwritten again before
or during the click on "Finish"? Maybe method
NewJavaProjectWizardPageOne.ModuleGroup#handlePossibleJVMChange plays a
role there, setting the value to true due to the fact that a JVM 9+ is
used.



Back to the top