These four clauses have a similar syntax:
nothing is included or excluded.
Instance-configuration attribute of the definition for the PETRO-VALVE class. The statement summarizes the kinds of features that you can configure with these four clauses:
configure the user interface as follows :
when in administrator, developer, or end-user mode :
attributes visible forany petro-valve include additionally :
notes, names, current-status ;
menu choices forany petro-valve include additionally :
diagnose-error-condition, show-status ;
non-menu choices forany petro-valve exclude additionally :
move-object, click-to-edit, full-editor,
option-buttons-for-edit-in-place,
menus-for-edit-in-place, do-not-clear-text-for-edit-in-place ;
{ This clause configures the table menu choices for the item's
entire table. }
table menu choices for any petro-valve exclude additionally :
transfer
{ This clause configures the table menu choices for a particular
attribute in the item's table. }
table menu choices for the notes of any petro-valve exclude
additionally :
show-attribute-display
attributes visible for clause to determine the attributes that appear in the attribute tables for a set of items identified by class. For example:
configure the user interface as follows :
when in administrator, developer, or end-user mode :
attributes visible forany petro-valve include :
notes, names, current-status
attributes visible for clause, G2 prompts you to specify which attributes to include or exclude. The Text Editor presents the following prompts:
any system-defined-attribute-name : Selecting this prompt displays a list of all system-defined attributes for all system-defined classes.
any attribute-name : Selecting this prompt displays a list of system-defined attributes.
menu choices for clause to list the menu choices to include or exclude from the menus of a set of items identified by class. For example:
configure the user interface as follows :
when in administrator, developer, or end-user mode :
menu choices forany petro-valve include :
diagnose-error-condition, show-status
configure the user interface as follows :
when in administrator, developer, or end-user mode :
non-menu choices forany petro-valve exclude :
move-object, click-to-edit, full-editor,
option-buttons-for-edit-in-place,
menus-for-edit-in-place, do-not-clear-text-for-edit-in-place
non-menu choices for clause to add a custom non-menu choice for a class of items.
table menu choices for clause to name one or more system-defined menu choices to include or exclude from the menu of an item's table. For example:
configure the user interface as follows :
when in administrator, developer, or end-user mode :
{ This clause configures the table menu choices for the item's
entire table. }
table menu choices forany petro-valve exclude additionally :
transfer
table menu choices for clause to include or exclude attribute-specific table menu choices. For example:
configure the user interface as follows :
when in administrator, developer, or end-user mode :
{ This clause configures the table menu choices for a particular
attribute in the item's table. }
table menu choices forthe notes of any petro-valve exclude
additionally :
show-attribute-display
To do so, specify a configuration clause that names the
TABLE class, which is an internal G2 class. For instance, to restrict access to all instances of the CUSTOM-OBJECT class, enter this statement in the Instance-configuration attribute of the CUSTOM-OBJECT class's definition item:
configure the user interface as follows:
unless in admnistrator mode:
selecting anytabledoes nothing;
table menu choices for any custom-object include: nothing
configure the user interface as follows statement that specifies this clause:
non-menu choices for table include: nothing
TABLE class using item configurations also controls the user interface to display items, which include readout tables and digital clocks, and to charts, trend charts, and graphs. Thus, to use item configurations only to restrict access to any item, you must code the configuration to apply only to particular items. Graphs are a superseded capability. For more information see Appendix F, Superseded Practices.
configure the user interface as follows:
unless in admnistrator mode:
selecting anytabledoes nothing;
non-menu choices fortableinclude: nothing
table menu choices for any procedure include: nothing