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.

View | Details | Raw Unified | Return to bug 197697
Collapse All | Expand All

(-)openide.dialogs/apichanges.xml (+21 lines)
Lines 51-56 Link Here
51
</apidefs>
51
</apidefs>
52
<changes>
52
<changes>
53
    
53
    
54
    <change id="WizardMove_Next_Previous">
55
        <api name="dialogs"/>
56
        <summary>Public API to move wizard to its next/previous step</summary>
57
        <version major="7" minor="19"/>
58
        <date day="13" month="4" year="2011"/>
59
        <author login="saubrecht"/>
60
        <compatibility addition="yes"/>
61
        <description>
62
            This change makes four existing methods in
63
            <a href="@TOP@/org/openide/WizardDescriptor.html">WizardDescriptor</a>
64
            public: doNextClick(), doPreviousClick(), doFinishClick() and doCancelClick().
65
            In previous version the methods were declared final and package
66
            private.<br/>
67
            Using these methods it will be possible to move to wizard's next step
68
            without clicking the Next button for example when user double-clicks
69
            some selected item in wizard's panel .
70
        </description>
71
        <class package="org.openide" name="WizardDescriptor"/>
72
        <issue number="197697"/>
73
    </change>
74
54
    <change id="Dialogs_NotificationLineSupport">
75
    <change id="Dialogs_NotificationLineSupport">
55
        <api name="dialogs"/>
76
        <api name="dialogs"/>
56
        <summary>Simplify handling error/warning/info messages in dialogs</summary>
77
        <summary>Simplify handling error/warning/info messages in dialogs</summary>
(-)openide.dialogs/manifest.mf (-1 / +1 lines)
Lines 1-6 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.openide.dialogs
2
OpenIDE-Module: org.openide.dialogs
3
OpenIDE-Module-Specification-Version: 7.18
3
OpenIDE-Module-Specification-Version: 7.19
4
OpenIDE-Module-Localizing-Bundle: org/openide/Bundle.properties
4
OpenIDE-Module-Localizing-Bundle: org/openide/Bundle.properties
5
AutoUpdate-Essential-Module: true
5
AutoUpdate-Essential-Module: true
6
6
(-)openide.dialogs/src/org/openide/WizardDescriptor.java (-5 / +24 lines)
Lines 1568-1593 Link Here
1568
        return original.deriveFont(style);
1568
        return original.deriveFont(style);
1569
    }
1569
    }
1570
1570
1571
    // support methods for xtesting
1571
    /**
1572
    final void doNextClick() {
1572
     * Moves the wizard to its next panel - if Next button is enabled. It is not
1573
     * safe to call this method outside EDT thread.
1574
     * @since 7.19
1575
     */
1576
    public final void doNextClick() {
1573
        if (nextButton.isEnabled()) {
1577
        if (nextButton.isEnabled()) {
1574
            nextButton.doClick();
1578
            nextButton.doClick();
1575
        }
1579
        }
1576
    }
1580
    }
1577
1581
1578
    final void doPreviousClick() {
1582
    /**
1583
     * Moves the wizard to its previous panel - if Previous button is enabled.
1584
     * It is not safe to call this method outside EDT thread.
1585
     * @since 7.19
1586
     */
1587
    public final void doPreviousClick() {
1579
        if (previousButton.isEnabled()) {
1588
        if (previousButton.isEnabled()) {
1580
            previousButton.doClick();
1589
            previousButton.doClick();
1581
        }
1590
        }
1582
    }
1591
    }
1583
1592
1584
    final void doFinishClick() {
1593
    /**
1594
     * Finishes the wizard - if Finish button is enabled.
1595
     * It is not safe to call this method outside EDT thread.
1596
     * @since 7.19
1597
     */
1598
    public final void doFinishClick() {
1585
        if (finishButton.isEnabled()) {
1599
        if (finishButton.isEnabled()) {
1586
            finishButton.doClick();
1600
            finishButton.doClick();
1587
        }
1601
        }
1588
    }
1602
    }
1589
1603
1590
    final void doCancelClick() {
1604
    /**
1605
     * Cancels the wizard - if Cancel button is enabled.
1606
     * It is not safe to call this method outside EDT thread.
1607
     * @since 7.19
1608
     */
1609
    public final void doCancelClick() {
1591
        if (cancelButton.isEnabled()) {
1610
        if (cancelButton.isEnabled()) {
1592
            cancelButton.doClick();
1611
            cancelButton.doClick();
1593
        }
1612
        }

Return to bug 197697