Editing a dataItem part with the source assistant

To use the source assistant to edit a dataItem part, follow these steps:
  1. Open an EGL source file.
  2. Declare a dataItem part or select an existing dataItem part that you want to edit. The cursor must be on the dataItem part that you want to edit.

    For more information about creating a new dataItem part, see DataItem part in EGL source format.

  3. Open the source assistant by using one of these methods:
    • Press Ctrl + Shift + Z.
    • Right-click on the dataItem part and then click Source Assistant.
  4. At the top of the EGL Source Assistant window, enter the name and type of the dataItem in the Name and Type fields.
  5. If the type of dataItem requires a length or a number of decimal places, enter these values in the Length and Decimals fields.

    If the type of dataItem does not require a length or a number of decimal places, these fields are unavailable.

  6. Enter values for the properties of the dataItem. You can switch between different pages of properties by clicking the tabs below the Type field.

    For information about properties, see Overview of EGL properties or search for help on a particular EGL property.

  7. When you are finished editing the values, click Validate.

    The source assistant validates the values you entered and lists any errors at the bottom of the window.

  8. Correct any errors that are listed in the window and click Validate again.
  9. When there are no more validation errors listed, click OK.

    The source assistant closes and updates the dataItem's properties to match the properties you specified.

  10. Save the EGL source file.

Related concepts
DataItem part
Source assist in EGL
Overview of EGL properties

Related reference
Content assist in EGL
DataItem part in EGL source format

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.