# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: D:\hg\core-main # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: openide.dialogs/apichanges.xml --- openide.dialogs/apichanges.xml Base (BASE) +++ openide.dialogs/apichanges.xml Locally Modified (Based On LOCAL) @@ -51,6 +51,27 @@ + + + Public API to move wizard to its next/previous step + + + + + + This change makes four existing methods in + WizardDescriptor + public: doNextClick(), doPreviousClick(), doFinishClick() and doCancelClick(). + In previous version the methods were declared final and package + private.
+ Using these methods it will be possible to move to wizard's next step + without clicking the Next button for example when user double-clicks + some selected item in wizard's panel . +
+ + +
+ Simplify handling error/warning/info messages in dialogs Index: openide.dialogs/manifest.mf --- openide.dialogs/manifest.mf Base (BASE) +++ openide.dialogs/manifest.mf Locally Modified (Based On LOCAL) @@ -1,6 +1,6 @@ Manifest-Version: 1.0 OpenIDE-Module: org.openide.dialogs -OpenIDE-Module-Specification-Version: 7.18 +OpenIDE-Module-Specification-Version: 7.19 OpenIDE-Module-Localizing-Bundle: org/openide/Bundle.properties AutoUpdate-Essential-Module: true Index: openide.dialogs/src/org/openide/WizardDescriptor.java --- openide.dialogs/src/org/openide/WizardDescriptor.java Base (BASE) +++ openide.dialogs/src/org/openide/WizardDescriptor.java Locally Modified (Based On LOCAL) @@ -1568,26 +1568,45 @@ return original.deriveFont(style); } - // support methods for xtesting - final void doNextClick() { + /** + * Moves the wizard to its next panel - if Next button is enabled. It is not + * safe to call this method outside EDT thread. + * @since 7.19 + */ + public final void doNextClick() { if (nextButton.isEnabled()) { nextButton.doClick(); } } - final void doPreviousClick() { + /** + * Moves the wizard to its previous panel - if Previous button is enabled. + * It is not safe to call this method outside EDT thread. + * @since 7.19 + */ + public final void doPreviousClick() { if (previousButton.isEnabled()) { previousButton.doClick(); } } - final void doFinishClick() { + /** + * Finishes the wizard - if Finish button is enabled. + * It is not safe to call this method outside EDT thread. + * @since 7.19 + */ + public final void doFinishClick() { if (finishButton.isEnabled()) { finishButton.doClick(); } } - final void doCancelClick() { + /** + * Cancels the wizard - if Cancel button is enabled. + * It is not safe to call this method outside EDT thread. + * @since 7.19 + */ + public final void doCancelClick() { if (cancelButton.isEnabled()) { cancelButton.doClick(); }