Community
Participate
Working Groups
Subject: Java Project example misleading From: mazenfaraj@home.com (Mazen Faraj) Newsgroups: eclipse.tools Organization: EclipseCorner Date: Oct 15 2001 13:10:12 The "new Java project example wizard" subclasses BasicNewResourceWizard. From the Java docs for the class, it says "This class is not intended to be subclassed outside this package." ! So, there is an inconsistency here. Yes, I know it is an example, but sometimes we follow examples blindly ;-) just honoring rules of engagement for the platform. There is a method that the sample relies on, which is selectAndReveal( IResource); and it gets it from the parent. Maybe this method should be public, just like BasicNewProjectResourceWizard.updatePerspective(fConfigElement); Just FYI regards, Mazen. DS> This wizard should not subclass BasicNewResourceWizard. We reserve the right to change the non public API on this class at any time.
If you would like a method exposed on this class please put in an API request and we will consider it.
Inheriting BasicNewResourceWizard has been done for using selectAndReveal. What should I do, copy the method in my code, or am I allowed to subclass?
please comment...
moving to platform for comment
Consider improvements post 2.0
Reopen for investigation
There are no plans for the UI team to work on this defect until higher priority items are addressed. If you are interested in working on this defect please let us know on the ui team's mailing list.