Bug 18901 - [Wizards] ExampleProjectCreationWizard breaks API rules
Summary: [Wizards] ExampleProjectCreationWizard breaks API rules
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-06-03 15:45 EDT by Tod Creasey CLA
Modified: 2005-05-10 14:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2002-06-03 15:45:47 EDT
From Eclipse Corner

The wizard
org.eclipse.jdt.internal.ui.exampleprojects.ExampleProjectCreationWizard
subclasses org.eclipse.ui.wizards.newresource.BasicNewResourceWizard, but
there is a comment at the top of BasicNewResourceWizard that says:

    "* This class is not intended to be subclassed outside this package."

The BasicNewProjectResourceWizard also says it is not intended to be
subclassed.  Are these just 'programmer beware' warnings that these classes
will likely change or is there a better way of building wizards that are
similar to the new project wizard?
Comment 1 Nick Edgar CLA 2002-06-03 16:22:23 EDT
I don't see any reason why we can't promote BasicNewResourceWizard to API.

However, its subclasses are specific to the Workbench and should not be API.
These should really be in an internal package.

Defer to post 2.0.
Comment 2 Randy Giffen CLA 2002-08-12 10:41:50 EDT
Reopened for investigation
Comment 3 Tod Creasey CLA 2002-10-23 16:24:00 EDT
Will promote to API for 2.1 subject to approval by NE.
Comment 4 Tod Creasey CLA 2002-10-25 09:41:43 EDT
This is public API already in 2.1
Comment 5 Tod Creasey CLA 2005-05-10 14:55:42 EDT
Marking closed