Bug 113771

Summary: [Wizards] "New Enum" wizard on Java 1.4 project
Product: [Eclipse Project] Platform Reporter: Jan Matèrne <jan.materne>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P4 CC: remy.suen
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jan Matèrne CLA 2005-10-26 05:40:20 EDT
I have a Java 1.4 project. The context menu shows in "New" the entries "Enum"
and "Annotation" which are not valid on 1.4. So they should not be there.

OR

After choosing a "New | Enum" on that 1.4 project the wizard starts and waits
for entering a value (package or name) for the new enum. After that it shows the
error message >>Project 'Bank' is not a JDK 5.0 compliant project.<<
a) this could be shown directly after invoking the wizard
b) the wizard does not have the possibility to change the JDK level to 5.0
(quasi a Quick-Fix)



Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435
Comment 1 Dirk Baeumer CLA 2005-10-27 05:42:52 EDT
We have the rule in Eclipse that a dialog should never pop up with an error or
warning message if the OK button is disabled.

To be able to remove the wizard from the New Context menu of a project more
support from Platform/UI is needed to specify enable/disable expressions for new
wizards in this case.

Moving to Platform/UI to comment on this.
Comment 2 Karice McIntyre CLA 2005-10-31 14:25:48 EST
The feature Dirk suggests is probably the solution that provides the most 
polish.  Fortunately, the wizard prevents you from doing something that is not 
allowed.  Marking as feature request.
Comment 3 Boris Bokowski CLA 2009-11-26 16:20:26 EST
Prakash is now responsible for watching bugs in the [Wizards] component area.
Comment 4 Jan Matèrne CLA 2015-02-09 02:10:49 EST
After 10years and a a dead Java 1.4 I suggest to close this bug.