PWEntry pwEntry = (PWEntry) obj;
PWEditorInput input = new PWEditorInput(view, pwEntry);
IEditorReference[] editorReferences = page
.getEditorReferences();
PWEntryEditor editor = null;
for (IEditorReference ref : editorReferences) {
if (ref.getEditor(true) instanceof PWEntryEditor) {
editor = (PWEntryEditor) ref.getEditor(true);
}
}