851852853854855856857858859860861
/* Import */ case IMPORT: { ImportAction action = new ImportAction(); action.init(fWindow); action.run(null); break; } /* Export */ case EXPORT: {
859860861862863864865866867868869
/* Export */ case EXPORT: { ExportAction action = new ExportAction(); action.init(fWindow); action.run(null); break; } /* Undo */ case UNDO: {
866867868869870871872873874875876
} /* Undo */ case UNDO: { UndoAction action = new UndoAction(); action.run(); break; } /* Redo */ case REDO: {
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: {