mview toolbar menu items open regular windows instead of minis (for now)
This commit is contained in:
1 parent
11a7f0172d
commit
b4e58f161d
1 file changed
+7
-5
@@ -158,13 +158,15 @@ namespace mbts.spark {
|
||||
});
|
||||
_commands = new List<SparkCommand> {
|
||||
SparkCommands.ShowLadders(SparkCommands.KeyGestures.ShowLadder).complete(_vm.selected_rows.Observe().Select(_ => _vm.selected_rows.WrapSelectorRO(r => r.security_md)), smds => smds.Count > 0),
|
||||
//show_ticket_actual_cmd.complete(current_sec_md_src, md => md.HasValue, ConvertUtils.ValueOrDefault),
|
||||
new SparkCommandCommand("Working Orders", Icons.Orders, show_working_orders_cmd),
|
||||
new SparkCommandCommand("Fills", show_fills_actual_cmd.icon, show_mini_fills_cmd),
|
||||
new SparkCommandCommand(show_ticket_actual_cmd.title, show_ticket_actual_cmd.icon, show_ticket_cmd),
|
||||
//show_fills_cmd_wrapper,
|
||||
SparkCommands.ShowOrderTicketFromSecurity(SparkCommands.KeyGestures.ShowOrderTicket).complete(current_sec_md_src, md => md.HasValue, ConvertUtils.ValueOrDefault),
|
||||
show_fills_cmd_wrapper,
|
||||
show_tas_cmd_wrapper,
|
||||
show_synth_create_cmd_wrapper,
|
||||
// Note: the commands commented out below open the mini popup versions of their respective windows
|
||||
// TODO: determine if/how to integrate the mini popups into the toolbar.
|
||||
//new SparkCommandCommand("Working Orders", Icons.Orders, show_working_orders_cmd),
|
||||
//new SparkCommandCommand("Fills", show_fills_actual_cmd.icon, show_mini_fills_cmd),
|
||||
//new SparkCommandCommand(show_ticket_actual_cmd.title, show_ticket_actual_cmd.icon, show_ticket_cmd),
|
||||
SparkCommands.change_securities_command(() => (update_securities_cmd, _state.security_criteria)),
|
||||
// wrap the grid settings view factory in a dialogCommand here since the vm is destroyed/recreated when the security criteria changes
|
||||
SparkCommands.window_settings_command(new DialogCommand(() => {
|
||||
|
||||
Reference in new issue
Block a user