Summary: | New Class and New Package buttons are enabled when there is no project selected | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | z_Archived | Reporter: | Neil Bartlett <njbartlett> | ||||||
Component: | IDE4EDU | Assignee: | Project Inbox <ide4edu-inbox> | ||||||
Status: | RESOLVED WONTFIX | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | cmatheson.can, nil.goyette, wayne.beaton | ||||||
Version: | unspecified | Keywords: | bugday, helpwanted | ||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Mac OS X - Carbon (unsup.) | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Neil Bartlett
2008-09-03 19:12:33 EDT
IMHO, we should try and do things as automagically as possible. The button should always be enabled. If there is a project highlighted, then that project's 'src' directory should be the target. If there are no projects in the workspace, then one should be created (I like the idea of creating a default "My Assignment" project). If there is one project in the workspace and it is not highlighted, then that project's 'src' directory should be the target. If there are multiple projects in the workspace, but none are highlighted, then an additional wizard page should ask. Maxime Caron and me are working on that. Created attachment 149237 [details]
Add the project chooser page to the class wizard.
Add a page to the class wizard when there's 2 projects or more in the project
explorer and none is selected. The new page show the list of project so the
user can choose to which project he wants to add the new class.
Created attachment 149276 [details]
Add the project chooser page to the class wizard.
The Finish button was enabled even on the first page.
It's corrected.
Can we close this bug? The new java wizard constructors address this issue using the aforementioned "automagically" technique. Therefore, this bug can probably be closed right? Agreed. Closing as WONTFIX |