873874875876877878879880881882883
} /* Redo */ case REDO: { RedoAction action = new RedoAction(); action.run(); break; } /* Search */ case SEARCH: {
881882883884885886887888889890891
/* Search */ case SEARCH: { SearchNewsAction action = new SearchNewsAction(); action.init(fWindow); action.run(null); break; } /* Update All */ case UPDATE_ALL: {
889890891892893894895896897898899
/* Update All */ case UPDATE_ALL: { ReloadAllAction action = new ReloadAllAction(); action.init(fWindow); action.run(null); break; } /* Update */ case UPDATE: {
897898899900901902903904905906907
/* Update */ case UPDATE: { IStructuredSelection activeSelection = OwlUI.getActiveSelection(); ReloadTypesAction action = new ReloadTypesAction(activeSelection, fWindow.getShell()); action.run(null); break; } /* Stop */
915916917918919920921922923924925
case MARK_READ: { IStructuredSelection selection = OwlUI.getActiveFeedViewSelection(); if (selection != null && !selection.isEmpty()) { ToggleReadStateAction action = new ToggleReadStateAction(selection); action.init(fWindow); action.run(); } break; } /* Mark All Read */
924925926927928929930931932933934
/* Mark All Read */ case MARK_ALL_READ: { MarkAllNewsReadAction action = new MarkAllNewsReadAction(); action.init(fWindow); action.run(null); break; } /* Next */ case NEXT: {
933934935936937938939940941942943
/* Next */ case NEXT: { NavigationActionType defaultAction = NavigationActionType.values()[fPreferences.getInteger(DefaultPreferences.DEFAULT_NEXT_ACTION)]; NavigationAction action = new NavigationAction(defaultAction); action.init(fWindow); action.run(null); break; } /* Previous */ case PREVIOUS: {
942943944945946947948949950951952
/* Previous */ case PREVIOUS: { NavigationActionType defaultAction = NavigationActionType.values()[fPreferences.getInteger(DefaultPreferences.DEFAULT_PREVIOUS_ACTION)]; NavigationAction action = new NavigationAction(defaultAction); action.init(fWindow); action.run(null); break; } /* New Bookmark */ case NEW_BOOKMARK: {
977978979980981982983984985986987
} /* Close */ case CLOSE: { IWorkbenchAction action = ActionFactory.CLOSE.create(fWindow); action.run(); break; } /* Close Others */ case CLOSE_OTHERS: {
10051006100710081009101010111012101310141015
} /* Close All */ case CLOSE_ALL: { IWorkbenchAction action = ActionFactory.CLOSE_ALL.create(fWindow); action.run(); break; } /* Open */ case OPEN: {