UpProject Manager > UpProject Manager Views > UpStructure View Previous Next

Input assistance for property or method in Structure View

This functionality gives you input assistance support when Fujistu vendor is selected. Based on your selection made for property, getter method, setter method and other method, COBOL IDE creates the related code, which can be inserted in the active COBOL file of the editor. This input assistance option is provided through context sensitive menu (which is displayed only when the property or method is selected). The input assistance will be enabled even if the REP or REPIN compiler options are not set. The IDE shows the .rep files in the project.

+To input Property code

  1. Select [Property] option from any class of a repository file.
  2. Select [Add detail] from its context menu. The [Add Property Details] dialog box appears with the details such as name of the class, name of the property selected by you and the type of the property.


    image

  3. Select [Property Name] or [Uniqueness Name] or [Setter] or [Getter] option.

    Option selected

    Data to be entered

    Property Name

    None

    Uniqueness

    None

    Setter (Factory property)

    Data Item Name

    Getter (Factory property)

    Data Item Name

    Setter (Object property)

    Data Item Name, Object Name

    Getter (Object property)

    Data Item Name, Object Name

  4. The [Inserted Text] area displays the text that would be inserted in the editor at the cursor position.
  5. Click on [OK] to insert the text displayed in the [Inserted Text] area, into the editor where the cursor is positioned and close the dialog box. Click on [Cancel] to close the dialog box without inserting the text.

+To input Method code

  1. Select a Method from any class of a repository file.
  2. Select [Add detail] from its context menu.
  3. Based on the Method selected various options are provided by the [Add Method Details] dialog box.


    image

    Condition

    Text boxes provided

    Method selected is an object method

    Object Name.

    If the object / factory method requires input parameters

    Parameters (Number of parameters depends on the method selected)

    If the method requires a return type

    Return Item.

  4. Enter the data in the text boxes or click on image to enter data using the [Select Parameter] dialog box.


    image

  5. The preview area displays the text that would be inserted in the editor at the cursor position.
  6. Click on [OK] to insert the text and close the dialog box. Click on [Cancel] to close the dialog box without inserting the text.

image


Previous Next

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2003-2005