Added doc for 21.11

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2328 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eifops
2021-11-24 16:23:28 +00:00
parent eb272d7a9e
commit 2839895650
2954 changed files with 63217 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
[[Property:title|Creating a new class]]
[[Property:weight|0]]
[[Property:uuid|a1d33a03-a691-d7ea-c081-55c2c991e77f]]
* To create a new class pick from the '''Create a new class''' button. [[Image:16x16--new-class-icon]] Then drop on the diagram where you want to place the class bubble. A dialog now appears where you can enter a name and specify the cluster.
{{seealso|<br/>
[[New class command|Creating a new class using the address bar]] }}

View File

@@ -0,0 +1,10 @@
[[Property:title|Creating a new feature]]
[[Property:weight|1]]
[[Property:uuid|f9b79d1c-6ca7-d0a3-1374-e71a8b450644]]
To create a new feature just [[Creating client-supplier links|add a new client link]] in the diagram.
{{seealso|
[[Adding a feature]] }}

View File

@@ -0,0 +1,17 @@
[[Property:title|Deleting items]]
[[Property:weight|6]]
[[Property:uuid|fc702c4e-2e14-7eca-8a61-3acee97f4a26]]
* Pick-and-drop the item you want to remove in the '''Delete''' hole. [[Image:16x16--general-delete-icon]] For links, the associated Eiffel code will be removed from the class text. Clusters and classes will be deleted from disk!
{{warning|An action that deletes one or more files or directories cannot be undone! }}
{{tip|Turn on '''Automatic backups'''. EiffelStudio will make a copy of each class file every time a compilation is done. }}
{{seealso|<br/>
[[Removing items from a view|Removing items from the view only]] }}

View File

@@ -0,0 +1,5 @@
[[Property:title|Altering the system]]
[[Property:weight|2]]
[[Property:uuid|89337378-9070-68c5-1e29-e6325c292118]]

View File

@@ -0,0 +1,10 @@
[[Property:title|Refactoring]]
[[Property:weight|2]]
[[Property:uuid|08099f7b-aaf4-b629-17f6-b637c4efd63a]]
Refactoring actions include renaming classes and features, and relocating features to an ancestor class. Refactoring actions start with a compilation and also end with a compilation. Refactoring has a separate undo functionality which allows you to undo a refactoring action as long as no changes have been made to the classes that have been refactored.
The [[Main toolbars|Refactoring toolbar]] contains holes for both the '''Rename''' ([[Image:refactor-rename-icon]]) and '''Pull up''' ([[Image:refactor-feature-up-icon]]) refactoring actions. So, if the Refactoring toolbar is visible, you can "pick" a feature, for example, and drop it onto one of the refactoring holes. If the Refactoring toolbar is not visible, you can [[Main toolbars|make it visible]] or you can access refactoring actions through the context menu associated with a class or feature name (right-click to see the context menu, or shift-right-click if you are in "pick-and-drop by default" mode).

View File

@@ -0,0 +1,9 @@
[[Property:title|Pull up Feature]]
[[Property:weight|5]]
[[Property:uuid|445f93dc-b81a-29ea-440b-42e394038c53]]
# Start the '''Pull up feature''' refactoring action by either:
## Selecting '''Refactor->Pull up''' from the context menu associated with the feature you want to relocate.
## Picking the feature and dropping its pebble in the '''Pull up''' hole ([[Image:refactor-feature-up-icon]]) on the [[Main toolbars|refactoring toolbar]].
# After a compilation the '''Select Class''' dialog appears. You can choose the parent where to pull the feature.
# Click '''OK'''.

View File

@@ -0,0 +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.
#* '''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'''.

View File

@@ -0,0 +1,13 @@
[[Property:title|Rename Feature]]
[[Property:weight|4]]
[[Property:uuid|03a8b4de-3c7b-0f9e-ecd2-48ff2035eaf9]]
# Start the '''Rename feature''' refactoring action by either:
## Selecting '''Refactor->Rename''' from the context menu associated with the feature you want to rename.
## Picking the feature and dropping its pebble into the '''Rename''' hole ([[Image:refactor-rename-icon]]) on the [[Main toolbars|refactoring toolbar]].
# After a compilation the '''Refactoring: Feature Rename''' dialog appears. You can enter a new name.
# You can choose between these options:
#* '''Replace Name in Comments''': replace usage of the feature name in comments that follow the '''`featurename`''' syntax.
#* '''Replace Name in Strings''': replace usage of the feature name in strings that follow the '''`featurename`''' syntax.
#* '''Reuse existing name''': allow two or more features to have the same name during refactoring (note: the compiler will still report an error, if there are two or more features with same name, but this option could be use to merge two features).
# Click '''OK'''.