List Command Panel
The key model is ListCommand.
- Assistant Model
Layout
- Columns Layout (Two column with one splition bar)
- Command Entry List Panel
Provide entrys for selection
The model is CommandEntryList.
- Head Line
- Add Command Dropdown Button
(Note that Dropdown is not combobox.)
- Buttons for adding:
- PreSettingCommand
- Content Panel: PreSetting Command Panel
Note
This command sets up initial parameters before NC simulation which attempt to take the effect.
- NcOptOptionCommand
- Content Panel: NcOptOption Panel
Note
This command is also a type of pre-setting that should be applied before NC simulation which attempt to take the effect.
- NcFileCommand
- Content Panel: NcFile Command Panel
- NcCodeCommand
- ScriptCommand
- Content Panel: Script Command Panel
- PostExecutionCommand
- Content Panel: PostExecution Command Panel
- PreSettingCommand
- Buttons for adding:
- Remove Command Button
- Move Up Command Button
- Move Down Command Button
- Add Command Dropdown Button
(Note that Dropdown is not combobox.)
- Command Entrys Selection Panel
- (Each) Command Entry Box:
The boxes are multi-selectable for re-order, remove and etc..
The boxes are draggable for re-order.
- Enable CheckBox
- The model is IsEnabled.
Tip
Show the label text.
- Title Label
- Apply GetCommandTitle if the command is inherited from ITitleCommand; otherwise, show the class name.
Tip
Apply style changed if the entry is selected.
- If there is only one PreSettingCommand in the list and at the begining, Keep it at begining when items adding, shows a “pin at begining” label with a pin icon.
- If there is only one PostExecutionCommand in the list and at the end, Keep it at end when items adding, shows a “pin at end” label a pin icon.
- Enable CheckBox
- (Each) Command Entry Box:
The boxes are multi-selectable for re-order, remove and etc..
The boxes are draggable for re-order.
- Support file drag from the external application (such as file explorer), files drag into the Command Entrys List Panel is equivalent to create NcFileCommands (with the EnablingWrapper) and set the file into the NC File Command.
- Head Line
- Vertical Splition Bar
- The bar can be drag to tune the width.
- Selected Command Content Panel
- The model is Command.
- The panel is based on command type
Tip
The width of the entry block should expand to fulfill the content block.
- Command Entry List Panel
Provide entrys for selection
The model is CommandEntryList.
Tip
Use Disabled Style for command panels if the Enable checkbox is not checked.
Note
Each command entry can be individually enabled or disabled without removing it from the list.
Features
Update the Title Label if the Command is updated by the Command Content Panel.
Source Code Path
See this page for git repository.
WPF Application Source Code Path
- Mission/ListCommandPanel
Web Page Application Source Code Path
HiNC-2025-webservice (Quasar CLI SPA):
The ListCommand editor is not a standalone component in the Quasar SPA. Instead it is expressed inline by MissionPage.vue, which renders the root ListCommand's entries as a draggable <q-splitter> left-pane. Nested ListCommand recursion is supported by the backend path scheme ("0.2") but the Quasar UI currently renders only root-level entries; recursion support is tracked under Not yet ported below.
wwwroot-src/src/pages/MissionPage.vue— hosts the root-level ListCommand list: Add Command ▾ / Delete / Move Up / Move Down / Reload toolbar + draggable row list + per-kind editor panel on the right. Native HTML5draggable="true"+@dragstart/over/drophandlers; Drop sends the full path order once viaPUT /api/Mission/list-command/reorder.wwwroot-src/src/api/mission.ts— typed wrapper over the ListCommand CRUD:addCommand,removeCommand,moveCommand,reorderList.Missions/MissionController.cs— REST endpoints:POST /list-command/entries,DELETE /list-command/entries/{index},POST /list-command/entries/{index}/move,PUT /list-command/reorder(genuinely rebuildsCommandEntryList; earlier stub returned success without reordering).
Not yet ported:
- Nested
ListCommandUI (backend supports the"0.2"path; UI renders root only). ObjectManagementMenuButtonintegration on the Mission toolbar for whole-.shellcommandfile load / save.