if (ref.getEditor(true) instanceof PWEntryEditor) {
editor = (PWEntryEditor) ref.getEditor(true);
}
}
if (editor != null) {
page.reuseEditor(editor, input);
viewer.setSelection(viewer.getSelection());
} else {
page.openEditor(input, PWEntryEditor.ID);
}
} catch (PartInitException e) {