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.
Summary: | Wizards should support informational error messages | ||
---|---|---|---|
Product: | platform | Reporter: | pslechta <pslechta> |
Component: | Dialogs&Wizards | Assignee: | apireviews <apireviews> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | anebuzelsky, jvagner, rmichalsky |
Priority: | P3 | Keywords: | API, API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 137076, 137334, 138003 | ||
Attachments: |
openide.dialogs diff
java.project.diff |
Description
pslechta
2008-06-19 15:57:00 UTC
I suppose file openide.dialogs\src\org\openide\WizardDescriptor.java needs to be changed, mainly inner class WizardPanel, method setErrorMessage... A request for new feature, it will need a change in WizardDescriptor API. Please, describe your use-cases which requires that feature. We'll consider adding this into NB6.5 M2 plan or in NB7. The use-case is described in document http://wiki.netbeans.org/InformationIcons. Issue 137076 is just first request to implement this use-case. Ask Petr Blaha (reporter of the issue) for more details if required. Thanks! Created attachment 63683 [details]
openide.dialogs diff
Created attachment 63684 [details]
java.project.diff
Attached files are intended for other issue, please ignore. Well, actually ... ignore my last comment - attached files contains impl. of the change - two new properties were introduced PROP_INFO_MESSAGE, PROP_WARNING_MESSAGE. java.project.diff contains usage of the API for New File Wizard. Please review the change. Thanks. Also need info icon for Module Project wizard. The apichanges.xml entry does not seem to mention the topic of this issue, info icons! I guess this is getting confused with issue #138128 (though the entry points to this IZ report). Don't forget to update spec versions - both openide.dialogs/manifest.mf, and project.xml of calling modules. The icon is part of openide.dialogs module under org.netbeans.modules.dialogs - do you mean this? I will provide better comment in apichanges.xml. I know about the confusion, even I'm a bit confused (see my previous comment), but I wanted to do both issue together in one API review, since they are very related. I've updated spec ver. in openide.dialogs/manifest.mf to 7.8. Not those modules though. No no, I meant that as in issue #138003, we need the informational message to be shown in a New Project subwizard for module projects, thus setting that as a dependency on this. Integrated into 'main-golden', available in NB_Trunk_Production #308 build Changeset: http://hg.netbeans.org/main/rev/66cb4688e5d5 User: Milan Kubec <mkubec@netbeans.org> Log: #137737, #138128: string properties changed to constants; new constants for warning and info messages introduced |