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

(-)a/openide.explorer/apichanges.xml (+15 lines)
Lines 50-55 Link Here
50
<apidef name="explorer">Explorer API</apidef>
50
<apidef name="explorer">Explorer API</apidef>
51
</apidefs>
51
</apidefs>
52
<changes>
52
<changes>
53
    <change id="OutlineView.setTreeHorizontalScrollBarPolicy">
54
        <api name="explorer"/>
55
        <summary>OutlineView can provide horizontal scroll bar in the tree column.</summary>
56
        <version major="6" minor="30"/>
57
        <date day="7" month="7" year="2010"/>
58
        <author login="mentlicher"/>
59
        <compatibility binary="compatible" source="compatible" deprecation="no" deletion="no" addition="yes"/>
60
        <description>
61
            In order to be able to provide horizontal scroll bar in the tree column,
62
            two methods are added: <code>getTreeHorizontalScrollBarPolicy()</code>
63
            and <code>setTreeHorizontalScrollBarPolicy()</code>.
64
        </description>
65
        <class package="org.openide.explorer.view" name="OutlineView"/>
66
        <issue number="188130"/>
67
    </change>
53
    <change id="ListView.setShowParentNode">
68
    <change id="ListView.setShowParentNode">
54
        <api name="explorer"/>
69
        <api name="explorer"/>
55
        <summary>ListView can now display ".." item</summary>
70
        <summary>ListView can now display ".." item</summary>
(-)a/openide.explorer/manifest.mf (-1 / +1 lines)
Lines 2-6 Link Here
2
OpenIDE-Module: org.openide.explorer
2
OpenIDE-Module: org.openide.explorer
3
OpenIDE-Module-Localizing-Bundle: org/openide/explorer/Bundle.properties
3
OpenIDE-Module-Localizing-Bundle: org/openide/explorer/Bundle.properties
4
AutoUpdate-Essential-Module: true
4
AutoUpdate-Essential-Module: true
5
OpenIDE-Module-Specification-Version: 6.29
5
OpenIDE-Module-Specification-Version: 6.30
6
6
(-)a/openide.explorer/src/org/openide/explorer/view/OutlineView.java (-1 / +33 lines)
Lines 324-330 Link Here
324
        hScrollBar.getModel().addChangeListener(listener);
324
        hScrollBar.getModel().addChangeListener(listener);
325
    }
325
    }
326
326
327
    void setTreeHorizontalScrollBarPolicy(int policy) {
327
    /**
328
     * Returns the horizontal scroll bar policy value for the tree column.
329
     * @return the <code>treeHorizontalScrollBarPolicy</code> property
330
     * @see #setTreeHorizontalScrollBarPolicy
331
     * @since 6.30
332
     */
333
    public int getTreeHorizontalScrollBarPolicy() {
334
        return treeHorizontalScrollBarPolicy;
335
    }
336
337
    /**
338
     * Determines when the horizontal scrollbar appears in the tree column.
339
     * The options are:<ul>
340
     * <li><code>ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED</code>
341
     * <li><code>ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER</code>
342
     * <li><code>ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS</code>
343
     * </ul>
344
     *
345
     * @param policy one of the three values listed above
346
     * @exception IllegalArgumentException if <code>policy</code>
347
     *				is not one of the legal values shown above
348
     * @see #getTreeHorizontalScrollBarPolicy
349
     * @since 6.30
350
     *
351
     * @beaninfo
352
     *   preferred: true
353
     *       bound: true
354
     * description: The tree column scrollbar policy
355
     *        enum: HORIZONTAL_SCROLLBAR_AS_NEEDED ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED
356
     *              HORIZONTAL_SCROLLBAR_NEVER ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER
357
     *              HORIZONTAL_SCROLLBAR_ALWAYS ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS
358
     */
359
    public void setTreeHorizontalScrollBarPolicy(int policy) {
328
        if (policy == treeHorizontalScrollBarPolicy) {
360
        if (policy == treeHorizontalScrollBarPolicy) {
329
            return ;
361
            return ;
330
        }
362
        }

Return to bug 188130