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 - Add ElementOpen.open(ClasspathInfo, ElementHandle) method
Summary: Add ElementOpen.open(ClasspathInfo, ElementHandle) method
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2008-01-15 19:38 UTC by Jan Lahoda
Modified: 2008-01-25 09:13 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Proposed change. (4.60 KB, patch)
2008-01-15 19:39 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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