Bug 96021 - ExternalClassFileEditorInput does not persist itself properly
Summary: ExternalClassFileEditorInput does not persist itself properly
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-19 15:48 EDT by Nick Edgar CLA
Modified: 2005-05-19 16:39 EDT (History)
1 user (show)

See Also:


Attachments

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