Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 300294 - Simplify New Java Project Creation Wizard
Summary: Simplify New Java Project Creation Wizard
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: IDE4EDU (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-20 22:26 EST by Wayne Beaton CLA
Modified: 2014-01-09 15:38 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne Beaton CLA 2010-01-20 22:26:18 EST
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.
Comment 1 Wayne Beaton CLA 2010-01-20 23:19:43 EST
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.
Comment 2 Wayne Beaton CLA 2010-01-21 10:24:27 EST
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.