Title of the XML editor in Eclipse version
Posted: Mon Mar 12, 2012 12:13 pm
Hello,
To open the Oxygen XML editor in Eclipse RCP I inherited a class from the org.eclipse.ui.ide.FileStoreEditorInput and have overridden the getName() method so that the XML Editor has a more informative title than the actual filename of the XML document.
This works well for the session in which the editor is opened with the EditorInput. But when I close the client and restart it, only the filename of the XML document is shown as the editor´s title.
Is there maybe a differend approach to store the title between client sessions?
To open the Oxygen XML editor in Eclipse RCP I inherited a class from the org.eclipse.ui.ide.FileStoreEditorInput and have overridden the getName() method so that the XML Editor has a more informative title than the actual filename of the XML document.
This works well for the session in which the editor is opened with the EditorInput. But when I close the client and restart it, only the filename of the XML document is shown as the editor´s title.
Is there maybe a differend approach to store the title between client sessions?