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 207120
Collapse All | Expand All

(-)a/options.api/apichanges.xml (+14 lines)
Lines 75-80 Link Here
75
<!-- ACTUAL CHANGES BEGIN HERE: -->
75
<!-- ACTUAL CHANGES BEGIN HERE: -->
76
76
77
<changes>
77
<changes>
78
    <change id="OptionsDisplayer.setIsModal">
79
        <api name="OptionsAPI"/>
80
        <summary>API to set whether the options window should be modal or not</summary>
81
        <version major="1" minor="33"/>
82
        <date day="26" month="2" year="2013"/>
83
        <author login="theofanis"/>
84
        <compatibility addition="yes"/>
85
        <description>
86
            Added API to set whether the options window should be modal or not.
87
	    The default behaviour is for the options window to be non-modal.
88
        </description>
89
        <class package="org.netbeans.api.options" name="OptionsDisplayer"/>
90
        <issue number="207120"/>
91
    </change>
78
    <change id="OptionsPanelController.handleSuccessfulSearch">
92
    <change id="OptionsPanelController.handleSuccessfulSearch">
79
        <api name="OptionsAPI"/>
93
        <api name="OptionsAPI"/>
80
        <summary>API to handle successfull search in some panel in options window</summary>
94
        <summary>API to handle successfull search in some panel in options window</summary>
(-)a/options.api/manifest.mf (-1 / +1 lines)
Lines 2-7 Link Here
2
OpenIDE-Module: org.netbeans.modules.options.api/1
2
OpenIDE-Module: org.netbeans.modules.options.api/1
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/options/Bundle.properties
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/options/Bundle.properties
4
OpenIDE-Module-Layer: org/netbeans/modules/options/resources/mf-layer.xml
4
OpenIDE-Module-Layer: org/netbeans/modules/options/resources/mf-layer.xml
5
OpenIDE-Module-Specification-Version: 1.32
5
OpenIDE-Module-Specification-Version: 1.33
6
AutoUpdate-Show-In-Client: false
6
AutoUpdate-Show-In-Client: false
7
AutoUpdate-Essential-Module: true
7
AutoUpdate-Essential-Module: true
(-)a/options.api/src/org/netbeans/api/options/OptionsDisplayer.java (+10 lines)
Lines 101-106 Link Here
101
    public static OptionsDisplayer getDefault() {
101
    public static OptionsDisplayer getDefault() {
102
        return INSTANCE;
102
        return INSTANCE;
103
    }
103
    }
104
105
    /**
106
     * Set whether the options window should be modal or not. The default is false
107
     *
108
     * @param isModal true if the options window should be in modal mode, false otherwise
109
     * @since 1.33
110
     */
111
    public void setIsModal(boolean isModal) {
112
	impl.setIsModal(isModal);
113
    }
104
    
114
    
105
    /**
115
    /**
106
     * Open the options dialog with no guarantee which category is pre-selected.
116
     * Open the options dialog with no guarantee which category is pre-selected.
(-)a/options.api/src/org/netbeans/modules/options/OptionsDisplayerImpl.java (+4 lines)
Lines 125-130 Link Here
125
            Exceptions.printStackTrace(ex);
125
            Exceptions.printStackTrace(ex);
126
        }
126
        }
127
    }
127
    }
128
129
    public void setIsModal(boolean isModal) {
130
	this.modal = isModal;
131
    }
128
    
132
    
129
    public boolean isOpen() {
133
    public boolean isOpen() {
130
        return dialog != null;
134
        return dialog != null;

Return to bug 207120