Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 255688
Collapse All | Expand All

(-)src/org/eclipse/cdt/internal/ui/editor/CContentOutlinePage.java (-2 / +2 lines)
Lines 109-120 Link Here
109
	}
109
	}
110
110
111
	@Override
111
	@Override
112
	protected SelectionSearchGroup createSearchActionGroup() {
112
	protected ActionGroup createSearchActionGroup() {
113
		return new SelectionSearchGroup(this);
113
		return new SelectionSearchGroup(this);
114
	}
114
	}
115
115
116
	@Override
116
	@Override
117
	protected OpenViewActionGroup createOpenViewActionGroup() {
117
	protected ActionGroup createOpenViewActionGroup() {
118
		OpenViewActionGroup ovag= new OpenViewActionGroup(this, getEditor());
118
		OpenViewActionGroup ovag= new OpenViewActionGroup(this, getEditor());
119
		ovag.setEnableIncludeBrowser(true);
119
		ovag.setEnableIncludeBrowser(true);
120
		return ovag;
120
		return ovag;
(-)src/org/eclipse/cdt/internal/ui/editor/AbstractCModelOutlinePage.java (-4 / +4 lines)
Lines 206-214 Link Here
206
	private IncludeGroupingAction fIncludeGroupingAction;
206
	private IncludeGroupingAction fIncludeGroupingAction;
207
	private ToggleLinkingAction fToggleLinkingAction;
207
	private ToggleLinkingAction fToggleLinkingAction;
208
	private ActionGroup fMemberFilterActionGroup;
208
	private ActionGroup fMemberFilterActionGroup;
209
	private SelectionSearchGroup fSelectionSearchGroup;
209
	private ActionGroup fSelectionSearchGroup;
210
	private ActionGroup fRefactoringActionGroup;
210
	private ActionGroup fRefactoringActionGroup;
211
	private OpenViewActionGroup fOpenViewActionGroup;
211
	private ActionGroup fOpenViewActionGroup;
212
	/**
212
	/**
213
	 * Custom filter action group.
213
	 * Custom filter action group.
214
	 * @since 3.0
214
	 * @since 3.0
Lines 516-522 Link Here
516
	 * return an ActionGroup contributing search actions or
516
	 * return an ActionGroup contributing search actions or
517
	 *         <code>null</code> if search is not supported
517
	 *         <code>null</code> if search is not supported
518
	 */
518
	 */
519
	protected SelectionSearchGroup createSearchActionGroup() {
519
	protected ActionGroup createSearchActionGroup() {
520
		// default: no search action group
520
		// default: no search action group
521
		return null;
521
		return null;
522
	}
522
	}
Lines 525-531 Link Here
525
	 * @return an OpenViewActionGroup contributing open view actions or
525
	 * @return an OpenViewActionGroup contributing open view actions or
526
	 *         <code>null</code> if open view actions are not wanted
526
	 *         <code>null</code> if open view actions are not wanted
527
	 */
527
	 */
528
	protected OpenViewActionGroup createOpenViewActionGroup() {
528
	protected ActionGroup createOpenViewActionGroup() {
529
		// default: no open view action group
529
		// default: no open view action group
530
		return null;
530
		return null;
531
	}
531
	}
(-)src/org/eclipse/cdt/internal/ui/editor/CEditor.java (-2 / +13 lines)
Lines 2156-2165 Link Here
2156
        setAction("OpenMacroExplorer", action); //$NON-NLS-1$*/
2156
        setAction("OpenMacroExplorer", action); //$NON-NLS-1$*/
2157
2157
2158
        //Assorted action groupings
2158
        //Assorted action groupings
2159
		fSelectionSearchGroup = new SelectionSearchGroup(this);
2159
		fSelectionSearchGroup = createSelectionSearchGroup();
2160
		fTextSearchGroup= new TextSearchGroup(this);
2160
		fTextSearchGroup= new TextSearchGroup(this);
2161
		fRefactoringActionGroup= new CRefactoringActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
2161
		fRefactoringActionGroup= new CRefactoringActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
2162
		fOpenInViewGroup= new OpenViewActionGroup(this);
2162
		fOpenInViewGroup= createOpenViewActionGroup();
2163
		fGenerateActionGroup= new GenerateActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
2163
		fGenerateActionGroup= new GenerateActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
2164
2164
2165
		action = getAction(ITextEditorActionConstants.SHIFT_RIGHT);
2165
		action = getAction(ITextEditorActionConstants.SHIFT_RIGHT);
Lines 2174-2179 Link Here
2174
		}
2174
		}
2175
	}
2175
	}
2176
2176
2177
2178
	protected ActionGroup createSelectionSearchGroup() {
2179
		return new SelectionSearchGroup(this);
2180
	}
2181
	
2182
	protected ActionGroup createOpenViewActionGroup() {
2183
		return new OpenViewActionGroup(this);
2184
	}
2185
	
2186
2187
2177
	/**
2188
	/**
2178
	 * @see org.eclipse.ui.texteditor.AbstractTextEditor#editorContextMenuAboutToShow(org.eclipse.jface.action.IMenuManager)
2189
	 * @see org.eclipse.ui.texteditor.AbstractTextEditor#editorContextMenuAboutToShow(org.eclipse.jface.action.IMenuManager)
2179
	 */
2190
	 */

Return to bug 255688