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.

Bug 125320

Summary: Add ElementOpen.open(ClasspathInfo, ElementHandle) method
Product: java Reporter: Jan Lahoda <jlahoda>
Component: SourceAssignee: apireviews <apireviews>
Status: RESOLVED FIXED    
Severity: blocker Keywords: API, API_REVIEW_FAST
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Attachments: Proposed change.

Description Jan Lahoda 2008-01-15 19:38:57 UTC
I propose to add a new method ElementOpen.open(ClasspathInfo, ElementHandle) that would find a source file corresponding
to the given ElementHandle on the given ClasspathInfo, open the file and place the caret at the place that corresponds
to the given ElementHandle. See attached patch for details.
Comment 1 Jan Lahoda 2008-01-15 19:39:45 UTC
Created attachment 55092 [details]
Proposed change.
Comment 2 Jan Lahoda 2008-01-24 15:22:19 UTC
If there are no objections, I will integrate tomorrow.
Comment 3 Jan Lahoda 2008-01-25 09:12:59 UTC
Integrated:
Checking in nbproject/project.properties;
/cvs/java/sourceui/nbproject/project.properties,v  <--  project.properties
new revision: 1.6; previous revision: 1.5
done
Checking in src/org/netbeans/api/java/source/ui/ElementOpen.java;
/cvs/java/sourceui/src/org/netbeans/api/java/source/ui/ElementOpen.java,v  <--  ElementOpen.java
new revision: 1.6; previous revision: 1.5
done
Checking in apichanges.xml;
/cvs/java/sourceui/apichanges.xml,v  <--  apichanges.xml
new revision: 1.3; previous revision: 1.2
done