mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Author:admin
Date:2008-09-17T13:53:28.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@3 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[[Property:title|Adding an attribute]]
|
||||
[[Property:weight|4]]
|
||||
Once [[Opening the new feature dialog|the new feature dialog]] is displayed and '''attribute''' selected in '''feature type''', follow the following steps:
|
||||
# [[Feature clauses|Choose a feature clause]]
|
||||
# [[Name field|Type a name]]
|
||||
# [[Type selection|Select the type]]
|
||||
# [[Header comment|Type a header comment]]
|
||||
# [[Invariant field|Select a class invariant]]
|
||||
# [[Set-procedure|Select to create a set-procedure]]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
[[Property:title|Adding a function]]
|
||||
[[Property:weight|3]]
|
||||
Once [[Opening the new feature dialog|the new feature dialog]] is displayed and '''function''' selected in '''feature type''', follow the following steps:
|
||||
# [[Feature clauses|Choose a feature clause]]
|
||||
# [[Name field|Type a name]]
|
||||
# [[Argument list|Select formal parameters]]
|
||||
# [[Type selection|Select the type]]
|
||||
# [[Header comment|Type a header comment]]
|
||||
# Enter [[Precondition|precondition]] , [[Local variable|local variable]] , [[Feature body|body]] and [[Postcondition|postcondition]]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[[Property:title|Adding a procedure]]
|
||||
[[Property:weight|2]]
|
||||
Once [[Opening the new feature dialog|the new feature dialog]] is displayed and '''procedure''' selected in '''feature type''', follow the following steps:
|
||||
# [[Feature clauses|Choose a feature clause]]
|
||||
# [[Name field|Type a name]]
|
||||
# [[Argument list|Select formal parameters]]
|
||||
# [[Header comment|Type a header comment]]
|
||||
# Enter [[Precondition|precondition]] , [[Local variable|local variable]] , [[Feature body|body]] and [[Postcondition|postcondition]]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
[[Property:title|Adding a feature]]
|
||||
[[Property:weight|3]]
|
||||
* [[Adding a feature: Introduction|Introduction]]
|
||||
* [[Opening the new feature dialog|Opening the new feature dialog]]
|
||||
* [[Adding a procedure|Creating a procedure]]
|
||||
* [[Adding a function|Creating a function]]
|
||||
* [[Adding an attribute|Creating an attribute]]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
[[Property:title|Opening the new feature dialog]]
|
||||
[[Property:weight|1]]
|
||||
To make the [[New feature dialog overview|new feature window]] appear, you can:
|
||||
* Click [[Image:16x16--new-feature-icon]] in the [[Main toolbars|standard toolbar]] .
|
||||
* Select '''New feature''' in the '''Tools''' menu.
|
||||
* Use the [[Diagram tool: Introduction|diagram tool]] : First, select '''create new client-supplier links''' by clicking on [[Image:new-supplier-link-icon]] .Then, pick the class to which you want to add the new feature. Lastly, drop the pebble on the class that corresponds to the type returned by the new feature.<br/>
|
||||
This last method does not allow you to create procedures.
|
||||
The first thing to do when the dialog is displayed is to choose the kind of feature you want to create. The rest of the process depends on what you selected : [[Adding a procedure|procedure]] , [[Adding a function|function]] or [[Adding an attribute|attribute]] .
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user