Community
Participate
Working Groups
When Bug 230865 was fixed it appears that IDE.getEditorId was under consideration for being made public (Bug 230865 Comment 9), but there was no immediate/obvious need for it. I would like to make use of that method so I can get an Editor ID for a file based on content type, but at a point where I don't want to/can't open the editor (so I can't use IDE.openEditorOnFileStore). Can this method be made public?
See https://wiki.eclipse.org/Platform_UI/How_to_Contribute PW
https://git.eclipse.org/r/42083
(In reply to Jonah Graham from comment #0) > When Bug 230865 was fixed it appears that IDE.getEditorId was under > consideration for being made public (Bug 230865 Comment 9) At that point the method returned the editor descriptor. Adding a public method that only returns the ID is not good. Note though, that you can't name the method 'getEditorDescriptor', because of bug 148844.
Gerrit change https://git.eclipse.org/r/42083 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=23748ba665160ecbd52d90faabb18d881a836ed7
.
Sadly this fix was accidentally clobbered, see Bug 460652 Comment 8. I have opened new bug 516470 to add it back in.
New Gerrit change created: https://git.eclipse.org/r/96800