I would like to know if there is a pure Eclipse E4 way to open programmatically a java editor.
I am migrating my plug-in from Eclipse 3.x to Eclipse E4, and I need to transform the following Eclipse 3.x call into an Eclipse E4 call.
final IWorkbenchPage page = Activator.getActiveEditor().getSite().getPage();
IDE.openEditor(page, (IFile) myResource);
After search and analysis seem there is not an Eclipse E4 equivalent for this call. Is this possible?