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.
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.
Created attachment 55092 [details] Proposed change.
If there are no objections, I will integrate tomorrow.
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