Bug 40052

Summary: DCR - Need opened API for determining associated source for class files
Product: [Eclipse Project] JDT Reporter: Tan T Phan <tphan>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1   
Target Milestone: 3.0 M4   
Hardware: All   
OS: All   
Whiteboard:

Description Tan T Phan CLA 2003-07-14 15:10:06 EDT
We need an opened API for a replacement Java editor to determine the associated
source for Java class files. Currently, I have to use the internal imports:

1. org.eclipse.jdt.internal.ui.javaeditor.IClassFileEditorInput
2. org.eclipse.jdt.internal.ui.javaeditor.InternalClassFileEditorInput
Comment 1 Olivier Thomann CLA 2003-09-16 14:13:52 EDT
Why don't you use getSource() on the org.eclipse.jdt.core.IClassFile?
Comment 2 Philipe Mulet CLA 2003-09-19 07:11:22 EDT
This is the official API to do so. Closing.
Please reopen if you found some issue with it.