Bug 516470 - [IDE] IDE.getEditorId(IFileStore) is private
Summary: [IDE] IDE.getEditorId(IFileStore) is private
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.13 M1   Edit
Assignee: Jonah Graham CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, bugday, helpwanted
Depends on: 444840
Blocks:
  Show dependency tree
 
Reported: 2017-05-11 05:26 EDT by Jonah Graham CLA
Modified: 2019-06-28 03:46 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonah Graham CLA 2017-05-11 05:26:10 EDT
+++ This bug was initially created as a clone of Bug #444840 +++

Bug 444840 has a fix for making IDE.getEditorId public. I have finally been able to upgrade to a version of Eclipse that I thought had this fix in it, and I could not find it anywhere.

It turns out that the fix in Bug 444840 was undone accidentally, See Bug 460652 Comment 8. As there was never a release with the new API, there was never an API error.

I would like to resubmit the fix in Bug 444840 for Oxygen.
Comment 1 Jonah Graham CLA 2017-05-11 05:43:15 EDT
I guess this is actually too late for 4.7. Can it go in 4.7.1, or does it need to now wait until 4.8?
Comment 2 Dani Megert CLA 2017-05-11 06:19:52 EDT
(In reply to Jonah Graham from comment #1)
> I guess this is actually too late for 4.7. Can it go in 4.7.1, or does it
> need to now wait until 4.8?

4.7.1 is fine.
Comment 3 Andrey Loskutov CLA 2017-05-11 07:04:13 EDT
May be it would make sense this time to add some JUnit tests for the new API?
Comment 4 Jonah Graham CLA 2017-05-11 08:00:32 EDT
(In reply to Andrey Loskutov from comment #3)
> May be it would make sense this time to add some JUnit tests for the new API?

I would be happy to. I have -1'd the change until I do.
Comment 5 Dani Megert CLA 2017-11-01 10:40:20 EDT
4.7.2 is coming soon.
Comment 6 Sarika Sinha CLA 2018-02-27 06:30:34 EST
Are you planning to do for M6?
Comment 7 Jonah Graham CLA 2018-03-05 03:57:41 EST
(In reply to Sarika Sinha from comment #6)
> Are you planning to do for M6?

I don't think so. I don't know if/when I will ever get to this. If it can be accepted without new tests, then you can have it now.
Comment 8 Jonah Graham CLA 2019-06-25 14:38:31 EDT
I have now returned to this. Thank you for your patience. Tests written.
Comment 10 Mickael Istria CLA 2019-06-26 11:05:01 EDT
Should we have a note about it in the N&N?
Comment 11 Andrey Loskutov CLA 2019-06-27 02:34:43 EDT
(In reply to Eclipse Genie from comment #9)
> Gerrit change https://git.eclipse.org/r/96800 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/
> ?id=13aeb0acea830c808461c0ff4e8d55f43fb8183a

Thanks to this commit and thanks to commit 75e20618d3cef3a8b85b21f9e7cacded20798e1e that removed javadoc warnings, we see now an error in releng tests:

https://download.eclipse.org/eclipse/downloads/drops4/I20190626-1800/testresults/html/org.eclipse.releng.tests_ep413I-unit-cen64-gtk3-java8_linux.gtk.x86_64_8.0.html#org.eclipse.releng.tests

https://download.eclipse.org/eclipse/downloads/drops4/I20190626-1800/compilelogs/platform.doc.isv.javadoc.txt

../../../eclipse.platform.ui/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDE.java:823: error: reference not found
	 * <li>The preferred {@link IUnknownEditorStrategy} is consulted.</li>
	                            ^
1 error

I will revert commit 75e20618d3cef3a8b85b21f9e7cacded20798e1e and fix the javadoc warning about missing type.
Comment 12 Eclipse Genie CLA 2019-06-27 02:43:26 EDT
New Gerrit change created: https://git.eclipse.org/r/144968
Comment 14 Jonah Graham CLA 2019-06-27 07:53:16 EDT
(In reply to Andrey Loskutov from comment #11)
> I will revert commit 75e20618d3cef3a8b85b21f9e7cacded20798e1e and fix the
> javadoc warning about missing type.
Thank you for identifying and fixing the new error that was exposed.

Can this be marked fixed again?
Comment 15 Andrey Loskutov CLA 2019-06-27 07:57:00 EDT
(In reply to Jonah Graham from comment #14)
> (In reply to Andrey Loskutov from comment #11)
> > I will revert commit 75e20618d3cef3a8b85b21f9e7cacded20798e1e and fix the
> > javadoc warning about missing type.
> Thank you for identifying and fixing the new error that was exposed.
> 
> Can this be marked fixed again?

Sure, if the next build will be green again.
Comment 16 Andrey Loskutov CLA 2019-06-28 03:46:01 EDT
Tests are green again.