883884885886887888889890891892893
} /* Redo */ case REDO: { RedoAction action = new RedoAction(); action.run(); break; } /* Search */ case SEARCH: {
891892893894895896897898899900901
/* Search */ case SEARCH: { SearchNewsAction action = new SearchNewsAction(); action.init(fWindow); action.run(null); break; } /* Update All */ case UPDATE_ALL: {
899900901902903904905906907908909
/* Update All */ case UPDATE_ALL: { ReloadAllAction action = new ReloadAllAction(); action.init(fWindow); action.run(null); break; } /* Update */ case UPDATE: {
907908909910911912913914915916917
/* Update */ case UPDATE: { IStructuredSelection activeSelection = OwlUI.getActiveSelection(); ReloadTypesAction action = new ReloadTypesAction(activeSelection, fWindow.getShell()); action.run(null); break; } /* Stop */
925926927928929930931932933934935
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 */
934935936937938939940941942943944
/* Mark All Read */ case MARK_ALL_READ: { MarkAllNewsReadAction action = new MarkAllNewsReadAction(); action.init(fWindow); action.run(null); break; } /* Next */ case NEXT: {
943944945946947948949950951952953
/* 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: {
952953954955956957958959960961962
/* 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: {
987988989990991992993994995996997
} /* Close */ case CLOSE: { IWorkbenchAction action = ActionFactory.CLOSE.create(fWindow); action.run(); break; } /* Close Others */ case CLOSE_OTHERS: {
10151016101710181019102010211022102310241025
} /* Close All */ case CLOSE_ALL: { IWorkbenchAction action = ActionFactory.CLOSE_ALL.create(fWindow); action.run(); break; } /* Open */ case OPEN: {