From 6b1dcfda4c4cb3cb0eeaa109ac2293cc16bafbd7 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Fri, 11 Mar 2016 13:41:33 +0000 Subject: [PATCH] Update wikipage Rename Class. (Signed-off-by:jocelyn). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1497 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../refactoring/rename-class.wiki | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/documentation/trunk/eiffelstudio/eiffelstudio-how-tos/designing-project/altering-system/refactoring/rename-class.wiki b/documentation/trunk/eiffelstudio/eiffelstudio-how-tos/designing-project/altering-system/refactoring/rename-class.wiki index 3f0633eb..cb880d95 100644 --- a/documentation/trunk/eiffelstudio/eiffelstudio-how-tos/designing-project/altering-system/refactoring/rename-class.wiki +++ b/documentation/trunk/eiffelstudio/eiffelstudio-how-tos/designing-project/altering-system/refactoring/rename-class.wiki @@ -1,15 +1,16 @@ -[[Property:title|Rename Class]] -[[Property:weight|3]] -[[Property:uuid|e70f2760-389a-4c54-ed10-b731dc70e952]] -# Start the '''Rename''' refactoring action by either: -## Selecting '''Refactor->Rename''' from the context menu associated with the class you want to rename. -## Picking the class and dropping its pebble into the '''Rename''' hole ([[Image:refactor-rename-icon]]) on the [[Main toolbars|refactoring toolbar]]. -# After a compilation the '''Refactoring: Class Rename''' dialog appears. You can enter a new name. -# You can choose between these options: -#* '''Compiled Classes''': only to the refactoring in compiled classes. -#* '''All Classes''': do the refactoring in all classes, even in uncompiled classes. -#* '''Rename File''': rename the file of the class to correspond with the class name, if another file with this name already exists the file will not be renamed and a warning will be given. -#* '''Replace Name in Comments''': replace usage of the class name in comments that follow the '''{CLASSNAME}''' syntax. -#* '''Replace Name in Strings''': replace usage of the class name in strings that follow the '''{CLASSNAME}''' syntax. -# Click '''OK'''. - +[[Property:title|Rename Class]] +[[Property:weight|3]] +[[Property:uuid|e70f2760-389a-4c54-ed10-b731dc70e952]] +# Start the '''Rename''' refactoring action by either: +## Selecting '''Refactor->Rename''' from the context menu associated with the class you want to rename. +## Picking the class and dropping its pebble into the '''Rename''' hole ([[Image:refactor-rename-icon]]) on the [[Main toolbars|refactoring toolbar]]. +# After a compilation the '''Refactoring: Class Rename''' dialog appears. You can enter a new name. +# You can choose between these options: +#* '''Compiled Classes''': only to the refactoring in compiled classes. +#* '''All Classes''': do the refactoring in all classes, even in uncompiled classes. +#* '''Rename File''': rename the file of the class to correspond with the class name, if another file with this name already exists the file will not be renamed and a warning will be given. +#* '''Replace Name in Comments''': replace usage of the class name in comments that follow the '''{CLASSNAME}''' syntax. +#* '''Replace Name in Strings''': replace usage of the class name in strings that follow the '''{CLASSNAME}''' syntax. +#* '''Reuse existing name''': allow two or more classes to have the same name during refactoring (note: the compiler will still report an error, if there are two or more classes conflicting with same name, but this option could be use to merge two classes). +# Click '''OK'''. +