Community
Participate
Working Groups
Bug 299332 introduces a NewJavaProjectConstructor that takes care of the nitty-gritty details of creating a Java Project. We should simplify the wizard to make use of the constructor.
I have rebuilt (from scratch) the wizard. With the exception of the icon used by the wizard, there is no use of any internal JDT code. I will leave this bug open until the icon issue has been addressed. The new implementation requires the org.eclipse.ide4edu.javalite.constructors bundle. I will update the Team Project Set to include the new bundles. The wizard presents a single text field. It depends on the NewJavaProjectConstructor for errors. If a project with the name entered by the user already exists, an error is presented and the "Finish" button is disabled. Additional checks are necessary; there are, for example, limitations on the characters allowed in the name. There may be other limitations. These will need to be considered.
I have removed the last bits of use of internal code by copying the New Java Project wizard banner banner from jdt.ui. At some point, we may consider creating our own icon. I have also added a check to make sure that the name is valid. In the process, I've changed how error status is reported by the constructor object. Instead of passing back an error code (int), it returns an instance of IStatus. Declaring victory. Marking as FIXED.