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

(-)a/api.visual/apichanges.xml (+15 lines)
Lines 757-762 Link Here
757
            <class package="org.netbeans.api.visual.graph.layout" name="GraphLayoutSupport" link="yes"/>
757
            <class package="org.netbeans.api.visual.graph.layout" name="GraphLayoutSupport" link="yes"/>
758
            <issue number="178705"/>
758
            <issue number="178705"/>
759
        </change>
759
        </change>
760
        <change>
761
            <api name="general"/>
762
            <summary>Widget Implements Lookup.Provider</summary>
763
            <version major="2" minor="34"/>
764
            <date day="30" month="8" year="2012"/>
765
            <author login="jhavlin"/>
766
            <compatibility addition="yes"/>
767
            <description>
768
                Class <code>Widget</code> implements interface
769
                <code>Lookup.Provider</code>. It already contains method
770
                <code>getLookup()</code>.
771
            </description>
772
            <class package="org.netbeans.api.visual.widget" name="Widget"/>
773
            <issue number="216581"/>
774
        </change>
760
    </changes>
775
    </changes>
761
776
762
    <htmlcontents>
777
    <htmlcontents>
(-)a/api.visual/manifest.mf (-1 / +1 lines)
Lines 1-6 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.netbeans.api.visual
2
OpenIDE-Module: org.netbeans.api.visual
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/visual/resources/Bundle.properties
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/visual/resources/Bundle.properties
4
OpenIDE-Module-Specification-Version: 2.33
4
OpenIDE-Module-Specification-Version: 2.34
5
AutoUpdate-Essential-Module: true
5
AutoUpdate-Essential-Module: true
6
6
(-)a/api.visual/src/org/netbeans/api/visual/widget/Widget.java (-1 / +2 lines)
Lines 93-99 Link Here
93
 * @author David Kaspar
93
 * @author David Kaspar
94
 */
94
 */
95
// TODO - Should Widget be an abstract class?
95
// TODO - Should Widget be an abstract class?
96
public class Widget implements Accessible {
96
public class Widget implements Accessible, Lookup.Provider {
97
97
98
    static final String MESSAGE_NULL_BOUNDS = "Scene.validate was not called after last change. Widget is not validated. See first Q/A at http://graph.netbeans.org/faq.html page.";
98
    static final String MESSAGE_NULL_BOUNDS = "Scene.validate was not called after last change. Widget is not validated. See first Q/A at http://graph.netbeans.org/faq.html page.";
99
99
Lines 493-498 Link Here
493
     * Returns a lookup of the widget.
493
     * Returns a lookup of the widget.
494
     * @return the lookup
494
     * @return the lookup
495
     */
495
     */
496
    @Override
496
    public Lookup getLookup () {
497
    public Lookup getLookup () {
497
        return Lookup.EMPTY;
498
        return Lookup.EMPTY;
498
    }
499
    }

Return to bug 216581