WorkbenchPage.openEditor() does nothing
问题 I'm trying make a toolbar button to open one file with another editor on my RCP aplication ! I have de following code: IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); IEditorPart oldEditor = page.getActiveEditor(); IFile file = ((IFileEditorInput) oldEditor.getEditorInput()).getFile(); IConfigurationElement[] editorsElements = Platform.getExtensionRegistry().getConfigurationElementsFor("org.eclipse.ui.editors"); IEditorInput editorInput = new