Commands Page - Command IDs

## Command IDs

The main objectives of this page are:

1. To provide a way to manage the Layout Configurations of a UI Design.

2. To provide a way to manage the View Configurations of a UI Design, including the task of associating it with one of the available Layout Configurations and one of the available Command Lists.

Figure 1 - The "Command IDs" section

#### Using the Command IDs Section

- Command IDs Table :

- Name: Shows name property for the CommandId - can be editable

- Command ID: Shows CommandId property for the CommandId - can be editable

- Enumerator: Shows Enumerator property for the CommandId

- Function: Shows function name for the CommandId event when "Go to code" button is actioned

- New Button: The System creates the following component and adds it to the UI Design’s Model: CommandId

- Go to Code Button: The System opens the UI Design’s source code file (cpp) with the C/C++ Editor. If the selected event handler function doesn’t exist, the System creates it generating the appropriate source code, but if the selected event already exists, the system navigates to the source code of the event handler function.

Figure 2 - The " Save confirmation" window

- Remove Button: The System opens a new window to ask for a confirmation to delete the selected element:

Figure 3 - The "Confirm Command ID Delete" window

If the user clicks the OK button the System deletes the selected Command ID instance and clears the commandId reference properties of the Commands that were referencing the selected Command Id.
If the user clicks the Cancel button no change will occur in the model.

##### Related concepts

- UIQ UI

##### Related references

- Commands Page
- Command Lists
- Command Details
- Command IDs
- UI Configurations