public CommandEntry AddItem(object cmdId)
 {
     CommandEntry cmd = new CommandEntry (cmdId);
     cmds.Add (cmd);
     return cmd;
 }
 public void Add(CommandEntry entry)
 {
     cmds.Add (entry);
 }