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.

Bug 40966

Summary: Do not expose keys to WizardDescriptor.put/getProperty
Product: projects Reporter: Jaroslav Tulach <jtulach>
Component: Generic InfrastructureAssignee: Petr Hrebejk <phrebejk>
Status: CLOSED FIXED    
Severity: blocker CC: jglick
Priority: P1 Keywords: API
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 40703    

Description Jaroslav Tulach 2004-03-12 16:57:56 UTC
Instead of exposing keys to access various
WizardDescriptor properties, provide static
find/set methods. This provide more flexible
evolution for future.

This has been observed in
Templates.WIZARD_KEY_PROJECT which we suggest to
replace with Project Templates.findProject

It would be even nicer to use new Object as key
and not String, so one could be sure that someone
is not missusing the string name, but that would
need change in WizardDescriptor.
Comment 1 Jesse Glick 2004-03-23 17:42:56 UTC
Petr will take care of template-related stuff.
Comment 2 Jesse Glick 2004-04-03 02:17:33 UTC
I believe this is already FIXED?
Comment 3 Petr Hrebejk 2004-04-08 14:34:41 UTC
See the static methods for getting all the importatnt information from
the wizards
Comment 4 Jaroslav Tulach 2004-04-09 14:30:22 UTC
Please fix the typo: WizardIteartor
Otherwise ok.
Comment 5 Jesse Glick 2004-04-14 01:34:41 UTC
Typo in the Javadoc I guess you mean.
Comment 6 Petr Hrebejk 2004-04-19 13:44:54 UTC
Done. See the utility methods. in: 
Comment 7 Marian Mirilovic 2005-12-14 16:32:54 UTC
no additional informations for long time - closing