diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/rename/CRenameGlobalProcessor.java')
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/rename/CRenameGlobalProcessor.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/rename/CRenameGlobalProcessor.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/rename/CRenameGlobalProcessor.java new file mode 100644 index 00000000000..b5bb7c60ac8 --- /dev/null +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/rename/CRenameGlobalProcessor.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2005, 2008 Wind River Systems, Inc. and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Markus Schorn - initial API and implementation + ******************************************************************************/ +package org.eclipse.cdt.internal.ui.refactoring.rename; + + +/** + * Rename processor that sets up the input page for renaming a global entity. + */ +public class CRenameGlobalProcessor extends CRenameProcessorDelegate { + + public CRenameGlobalProcessor(CRenameProcessor processor, String name) { + super(processor, name); + setAvailableOptions(CRefactory.OPTION_ASK_SCOPE | + CRefactory.OPTION_IN_CODE | + CRefactory.OPTION_IN_COMMENT | + CRefactory.OPTION_IN_MACRO_DEFINITION); + } +} |