for ( IEditorReference ref : activePage.getEditorReferences() )
{
IWorkbenchPart part = ref.getPart( false );
if ( part != null && part instanceof IEntryEditor )
{
IEntryEditor editor = ( IEntryEditor ) part;
if ( ( editor != null ) && ( editor.getEntryEditorInput() != null )
&& ( editor.getEntryEditorInput().getResolvedEntry() != null )
&& ( editor.getEntryEditorInput().getExtension() != null )
&& ( !editor.getEntryEditorInput().getExtension().isMultiWindow() ) )
{
EntryEditorExtension extension = editor.getEntryEditorInput().getExtension();
String editorId = extension.getEditorId();
EntryEditorInput input = new EntryEditorInput( ( IEntry ) null, extension );
try
{
view.getSite().getPage().openEditor( input, editorId, false );