This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
We need to add some additional validation to class name field (e.g. it cannot be reserver SQL keyword for Entity class wizard). I propose simple solution: call Templates.setTargetName() in isValid() method of this panel. Currently it is called in storeSettings(), so it means it is not possible to get target name before panel is finished.
Created attachment 32230 [details] Proposed patch
Is there any plan to do this for 6.0? We really need it also in other use cases, e.g. generation of multiple classes (Session EJB) and checking if inserted name + prefix and suffix is already taken.
This has been set to future since 5.5, setting back to TBD.
Forget the patch, it is useless (doesn't consider package, for example). I have my own version of this, may come with some enhancements and API change in future after I will collect more use-cases.
incorrect resolution LATER->WORKSFORME
.