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

(-)a/openide.windows/apichanges.xml (+19 lines)
Lines 50-55 Link Here
50
<apidef name="winsys">Window System API</apidef>
50
<apidef name="winsys">Window System API</apidef>
51
</apidefs>
51
</apidefs>
52
<changes>
52
<changes>
53
<change id="minimize_and_float">
54
    <api name="winsys"/>
55
    <summary>New API to check/modify the floating and minimize state of a TopComponent.</summary>
56
    <version major="6" minor="57"/>
57
    <date day="27" month="6" year="2012"/>
58
    <author login="saubrecht"/>
59
    <compatibility addition="yes" source="compatible" semantic="compatible" deprecation="no" deletion="no" modification="no"/>
60
    <description>
61
        <p>New methods in WindowManager class:
62
        <br/>
63
            isTopComponentMinimized()<br/>
64
            setTopComponentMinimized()<br/>
65
            isTopComponentFloating()<br/>
66
            setTopComponentFloating()<br/>
67
        </p>
68
    </description>
69
    <class package="org.openide.windows" name="WindowManager"/>
70
    <issue number="214854"/>
71
</change>
53
<change id="onshowing">
72
<change id="onshowing">
54
    <api name="winsys"/>
73
    <api name="winsys"/>
55
    <summary>Easy to use replacement for <code>invokeWhenUIReady</code></summary>
74
    <summary>Easy to use replacement for <code>invokeWhenUIReady</code></summary>
(-)a/openide.windows/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.windows
2
OpenIDE-Module: org.openide.windows
3
OpenIDE-Module-Specification-Version: 6.56
3
OpenIDE-Module-Specification-Version: 6.57
4
OpenIDE-Module-Localizing-Bundle: org/openide/windows/Bundle.properties
4
OpenIDE-Module-Localizing-Bundle: org/openide/windows/Bundle.properties
5
AutoUpdate-Essential-Module: true
5
AutoUpdate-Essential-Module: true
6
6
(-)a/openide.windows/src/org/openide/windows/WindowManager.java (+41 lines)
Lines 715-720 Link Here
715
    public String getRole() {
715
    public String getRole() {
716
        return null;
716
        return null;
717
    }
717
    }
718
719
    /**
720
     * Checks the minimized status of given TopComponent.
721
     * @param tc
722
     * @return True if the given TopComponent is minimized (slided-out), false
723
     * otherwise.
724
     * @since 6.57
725
     */
726
    public boolean isTopComponentMinimized( TopComponent tc ) {
727
        return false;
728
    }
729
730
    /**
731
     * Minimizes the given TopComponent.
732
     * @param tc
733
     * @param minimize True to minimize (slide-out) given TopComponent, false
734
     * to pin it back to the main window.
735
     * @since 6.57
736
     */
737
    public void setTopComponentMinimized(  TopComponent tc, boolean minimize ) {
738
    }
739
740
    /**
741
     * Checks the floating status of given TopComponent.
742
     * @return True if the given TopComponent is separated from the main window.
743
     * @since 6.57
744
     */
745
    public boolean isTopComponentFloating( TopComponent tc ) {
746
        return false;
747
    }
748
749
    /**
750
     * Floats the given TopComponent or docks it back to the main window.
751
     * @param tc
752
     * @param floating True to separate the given TopComponent from the main window,
753
     * false to dock it back to the main window.
754
     * @since 6.57
755
     */
756
    public void setTopComponentFloating(  TopComponent tc, boolean floating ) {
757
758
    }
718
    
759
    
719
    /** A manager that handles operations on top components.
760
    /** A manager that handles operations on top components.
720
     * It is always attached to a {@link TopComponent}.
761
     * It is always attached to a {@link TopComponent}.

Return to bug 214854