To use the source assistant to edit a dataItem part, follow these steps:
- Open an EGL source file.
- 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.
- 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.
- At the top of the EGL Source Assistant window, enter the name and type
of the dataItem in the Name and Type fields.
- 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.
- 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.
- 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.
- Correct any errors that are listed in the window and click Validate again.
- 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.
- 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