New function layout

Image:feature-wizard-function

When clicking Function, the dialog changes to the function layout. It has the following components:

Example

This dialog box:

Image:feature-wizard-function-example

Produces this feature:

class
    PRODUCT
 
feature -- Status report
 
    order_price (quantity: INTEGER): DOUBLE
            -- Total price when ordering `quantity'.
        require
            quantity_non_negative: quantity >= 0
        do
            Result := quantity * price
        ensure
            correct: Result = quantity * price
        end
 
end -- class PRODUCT