public LocalCommandEntry(object id, string text) : base(id) { cmd = new ActionCommand (); cmd.Id = id; cmd.Text = text; }
internal CommandInfo(Command cmd) { text = cmd.Text; icon = cmd.Icon; accelKey = cmd.AccelKey; description = cmd.Description; }
public void RegisterCommand(Command cmd, string category) { cmds [cmd.Id] = cmd; }
public void RegisterCommand(Command cmd) { RegisterCommand (cmd, ""); }
public LocalCommandEntry(Command cmd) : base(cmd.Id) { this.cmd = cmd; }