Project: Eclipse_Platform_UI
Bug 36813 [MPE] MultiEditorInput does not override the equals method
Reported: 2003-04-23 15:52:30 | Status: verified fixed

The org.eclipse.ui.part.MultiEditorInput class does not override the equals method. The LaunchView class checks if the input for the current frame is the same as for the last frame using the equals method and does not reload if it is. Thus when using the MultiEditorInput, the editor is told to reload because equals always returns false. The other input types, e.g. FileEditorInput, do override the equals method. I could subclass MultiEditorInput but the java doc says not to.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiEditorInput.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/multipageeditor/MultiEditorInputTest.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/multipageeditor/MultiPageEditorTestSuite.java