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 229765 - WizardDescriptor: Custom button text per instance
Summary: WizardDescriptor: Custom button text per instance
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-15 10:03 UTC by mscholl
Modified: 2013-05-15 19:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
pragmatic patch (2.33 KB, patch)
2013-05-15 10:08 UTC, mscholl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mscholl 2013-05-15 10:03:27 UTC
Recently we had the need to customize the button text of the default buttons of a wizard (Finish, Cancel, etc.) because e.g. "Create" was more appropriate than "Finish" for a certain action.
I know that there is the possibility to customize these buttons using "branding" as described by Geertjan here

https://platform.netbeans.org/tutorials/nbm-wizard.html#brand

However, doing the customization this way every "Finish" button of every WizardDescriptor instance would be a "Create" button (following the above example) which is at least not appropriate for our use case. Thus it would be nice if the WizardDescriptor provided the feature to somehow alter the default button texts.
Comment 1 mscholl 2013-05-15 10:06:19 UTC
NetBeans forum entry with current workaround:

http://forums.netbeans.org/viewtopic.php?t=55192
Comment 2 mscholl 2013-05-15 10:08:25 UTC
Created attachment 134456 [details]
pragmatic patch

added pragmatic patch for the requested feature.