Bug 113771 - [Wizards] "New Enum" wizard on Java 1.4 project
Summary: [Wizards] "New Enum" wizard on Java 1.4 project
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 05:40 EDT by Jan Matèrne CLA
Modified: 2015-02-09 02:10 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.