Search code examples
eclipseeclipse-plugineclipse-juno

Eclipse Juno org.eclipse.ui.ide.ResourceUtil


I'm porting a plugin to Eclipse 4.2 (Juno), but I'm having trouble finding an alternative to org.eclipse.ui.ide.ResourceUtil. It was removed from org.eclipse.ui.ide.

The respective method I need is static IEditorPart findEditor(IWorkbenchPage page, IFile file).

Is there any alternative to findEditor for Juno?

Should I just write a function to search the WorkBench editorReferences?


Solution

  • The class is still there. It's part of the API.

    http://www.eclipse.org/forums/index.php/mv/msg/487235/1057997/#msg_1057997