Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 96021

Summary: ExternalClassFileEditorInput does not persist itself properly
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: david_williams
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Nick Edgar CLA 2005-05-19 15:48:47 EDT
3.1 M7

ExternalClassFileEditorInput (in org.eclipse.jdt.internal.ui.javaeditor) extends
FileEditorInput but does not override saveState or getFactoryId() to allow the
extra state it carries to be persisted/restored.
Comment 1 Nick Edgar CLA 2005-05-19 15:52:45 EDT
Without special handling, it will get restored as a FileEditorInput.
Comment 2 Dani Megert CLA 2005-05-19 16:39:18 EDT
This internal editor input that we create on the fly out of an IFileEditorInput
and hence we're fine i.e. we rely on the correct persistance and restoration of
IFileEditorInput ;-)