public static IEditorReference findEditor(IEditorReference[] editorReferences, Object input) {
for (IEditorReference reference : editorReferences) {
try {
IEditorInput editorInput = reference.getEditorInput();
if (editorInput instanceof FeedViewInput) {
FeedViewInput feedViewInput = (FeedViewInput) editorInput;
Object inputObj = feedViewInput.getMark();
if (inputObj instanceof FolderNewsMark)
inputObj = ((FolderNewsMark) inputObj).getFolder();
if (inputObj.equals(input))
return reference;