To populate and use this view, you must set on both the Build Automatically project option and the Defer affected part compilation on change EGL editor preference first.
In a word, when this preference is set on, you can control when the outstanding compilation and generation work is to be done, making the IDE fast and responsive.
The EGL Deferred Work view is divided into two sections: the left section shows the changed top-level functions, records, or data items and the right section shows the programs and libraries that use those changed parts. If a top-level function, record or data item is not displayed in the left section when it was changed, it means that either the Build Automatically project option is not on, or the changed part is not used by any program or library. Actions can be taken on either side of the view, by using the right-mouse popup displays.
When a program or library is generated, it will automatically cause a compilation of the program or library first, ensuring that the IR code is up-to-date. When a program or library is compiled by any of the techniques that can be used, the EGL Deferred Work view will be updated to reflect the results of the compilation. It could be a red, yellow or green icon placed beside the program or library name in the right section, depending upon whether the compilation produced errors, warnings, or no flags.
Note: the deferred work list is not stored when the IDE is shut down. Any information about outstanding work is not kept from session to session. Additionally, if the IDE determines that a full build is needed, then it will happen despite being in the deferred work mode.
The left side table holds a list of changed top-level functions, records, or data items. Each entry contains the package of the changed item and part name, with an icon preceding the entry. A question mark icon indicates that there is some pending work to be done for this entry. A red, yellow or green icon indicates that no pending work exists for this entry and reflects the highest error level from the compilation of any of the associated right side parts.
When you right-click and open the popup menu for an item in the left section, a list of the following commands become available:
Compile Pending Parts
A pending part is a program or library (located in the associated right list for this changed part) that has a question mark icon next to it. The question mark icon on the right side list means that the program or library has not been compiled and is therefore pending work to be done. Once a program or library is compiled, whether it results in an error or not, it is no longer pending. By selecting the Compile Pending Parts action, it will cause all of the pending associated parts from the right section list for this changed part to get compiled, but not generated. Parts that were already compiled will not be recompiled. This action can be made against one or more selected items from the left side list.
Compile and Generate Pending Parts
A pending part is a program or library (located in the associated right list for this changed part) that has a question mark icon next to it. The question mark icon on the right side list means that the program or library has not been compiled and is therefore pending work to be done. Once a program or library is compiled, whether it results in an error or not, it is no longer pending. By selecting the Compile and Generate Pending Parts action, it will cause all of the pending associated parts from the right section list for this changed part to get compiled and also generated based on the build descriptors associated with the program or library. Parts that were already compiled will not be recompiled, or regenerated. This action can be made against one or more selected items from the left side list.
Remove All Completed Items
A left side item becomes completed once all of the associated right side program or library parts have been compiled, whether or not there are errors. When a left side item is completed when it no longer has a question mark icon, but instead a red, yellow or green icon reflecting the highest error level from the compilation of the associated right side parts. The Remove All Completed Items action will remove all left side items that are completed.
Select All
The Select All action activates the selection attribute for all of the left side items in the table.
Deselect All
The Deselect All action deactivates the selection attribute for all of the selected left side items in the table.
Copy
The Copy action copies the text of the left side items and the right side items. This text is comma separated, with 1 entry per line. This copied text is useful to be pasted into a spreadsheet, email or text file and can be used as a possible list for programs and libraries that need to be compiled and generated, perhaps by an external build process. This action can be made against one or more selected items from the left side list.
The right side table holds a list of programs and libraries that were affected by the top-level function, record or data item change. Each entry contains the fully qualified source name of the affected program or library, with an icon preceding the entry. A question mark icon indicates that there is pending work to be done for this entry. A red, yellow or green icon indicates that no pending work exists for this entry and reflects the highest error level from its compilation.
You can double-click on any of the programs or libraries in the right side list, and they will open in the IDE editor window.
When you right-mouse click and open the popup menu for an item in the right section, a list of the following commands become available:
Open Selected Parts
This action opens up the EGL source in the IDE editor window. This action can be made against one or more selected items from the right side list.
Compile Selected Parts
By selecting the Compile Selected Parts action, it causes all of the selected parts to get compiled, but not generated. Parts that were already compiled will be recompiled again. This action can be made against one or more selected items from the right side list.
Compile and Generate Selected Parts
By selecting the Compile and Generate Selected Parts action, it causes all of the selected parts to get compiled, and also generated based on the build descriptors associated with the program or library. Parts that were already compiled or generated will be recompiled and regenerated again. This action can be made against one or more selected items from the right side list.
Select All
The Select All action activates the selection attribute for all of the right side items in the table.
Deselect All
The Deselect All action deactivates the selection attribute for all of the selected right side items in the table.