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

(-)api/src/org/netbeans/spi/debugger/jpda/SourcePathProvider.java (-1 / +13 lines)
Lines 7-13 Link Here
7
 * http://www.sun.com/
7
 * http://www.sun.com/
8
 * 
8
 * 
9
 * The Original Code is NetBeans. The Initial Developer of the Original
9
 * The Original Code is NetBeans. The Initial Developer of the Original
10
 * Code is Sun Micro//S ystems, Inc. Portions Copyright 1997-2001 Sun
10
 * Code is Sun Micro//S ystems, Inc. Portions Copyright 1997-2006 Sun
11
 * Micro//S ystems, Inc. All Rights Reserved.
11
 * Micro//S ystems, Inc. All Rights Reserved.
12
 */
12
 */
13
package org.netbeans.spi.debugger.jpda;
13
package org.netbeans.spi.debugger.jpda;
Lines 60-65 Link Here
60
     */
60
     */
61
    public abstract String getURL (String relativePath, boolean global);
61
    public abstract String getURL (String relativePath, boolean global);
62
    
62
    
63
    /**
64
     * Returns the source root (if any) for given url.
65
     *
66
     * @param url a url of resource file
67
     *
68
     * @return the source root or <code>null</code> when no source root was found.
69
     * @since 2.6
70
     */
71
    public String getSourceRoot(String url) {
72
        return null;
73
    }
74
        
63
    /**
75
    /**
64
     * Returns array of source roots.
76
     * Returns array of source roots.
65
     */
77
     */
(-)api/apichanges.xml (+17 lines)
Lines 365-370 Link Here
365
        <class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
365
        <class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
366
        <issue number="67046"/>
366
        <issue number="67046"/>
367
    </change>
367
    </change>
368
    <change>
369
        <api name="JPDADebuggerAPI"/>
370
        <summary>Added getSourceRoot() method to SourcePathProvider class</summary>
371
        <version major="2" minor="6"/>
372
        <date day="3" month="5" year="2006"/>
373
        <author login="mentlicher"/>
374
        <compatibility addition="yes" source="compatible" binary="compatible"/>
375
        <description>
376
            <p>
377
                Retrieves a source root for a given URL. This is necessary to
378
                match breakpoint locations with the sources selected fopr debugging.
379
                It returns <code>null</code> by default.
380
            </p>
381
        </description>
382
        <class package="org.netbeans.spi.debugger.jpda" name="SourcePathProvider" />
383
        <issue number="52180"/>
384
    </change>
368
385
369
</changes>
386
</changes>
370
387
(-)api/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.debugger.jpda/2
2
OpenIDE-Module: org.netbeans.api.debugger.jpda/2
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
4
OpenIDE-Module-Specification-Version: 2.5
4
OpenIDE-Module-Specification-Version: 2.6
5
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
5
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
6
6

Return to bug 52180