WizardDescriptor supports various properties such as
PROP_AUTO_WIZARD_STYLE, PROP_HELP_DISPLAYED etc.
these constants are private variables.
it is very pain to refer to the documentation
every time, and add //NOI18N in my code.
plz expose these variables and/or provide methods like
public void setAutoWizardStype(boolean)
public void setImage(Image)
public void setLeftDimention(Dimention)
I suggest providing such methods as developers
don't need to remember the value type of a property.
currenty I MyWizardDescriptor which extends
WizardDiscriptor and added such methods. Now
I use MyWizardDescriptor at all places instead
of WizardDescriptor. this made my life easier.
It takes just 5 minutes to fix this.
Yes, it should be better. There is issue 26552 improve the WD API and
rid of client-properties, it's being developed in branch wizards_26552
but not in progress for in promoE.
As more people starting to build applications on top of NB platform a lot of
people are asking similar question on mailing list. I think that at least
getting rid of those "strings" is P1 and should be done for next release. (in
the case that the whole API is not planned ;)
*** This issue has been marked as a duplicate of 138128 ***
54905 < 138128