摘要:
A commanding system and method for a computer including at least one control element at the control level having commanding information. An input sequence can be received from an input device, and the commanding information provided by the control element can be used to connect the input to an associated action. Control elements and the application elements can be arranged as nodes in an tree, each node having one or more children and/or one or more parents. A table of bindings can be associated with each node, the table of bindings including a plurality of binding entries, each including a command binding and a command handler. The input sequence can be passed from node to node in the tree to find a command binding that matches the input sequence. When a matching command binding is found, the command handler associated with the matching command binding can be used to invoke the action that is to be performed based on the input sequence.
摘要:
A commanding system for a computer. The system includes an input module that accepts a plurality of input sequences across multiple input device categories, and a commanding element having a binding table that connects input sequences to associated action. One or more of the binding entries in the binding table includes a command binding with a plurality of sub-command bindings associated with the plurality of input sequences across multiple input device categories. A processor receives the input at the input module and passes the input to the command element, the command element looking up a matching command binding associated with the input in the binding table. In addition, the processor invokes action associated with the input if the matching binding is found in the binding table. The system can also report the commands a particular application can understand upon request.
摘要:
A commanding system for a computer. The system includes a memory storing a binding table that connects input to associated action, at least one binding in the binding table including an interface binding. The system also includes a processor in data communication with the memory, the processor programmed to query each binding in the binding table, receive the interface binding associated with the binding; and generate a command interface based on the interface binding. The command interface is dynamically generated based on the information provided by the interface binding. Examples of command interfaces include toolbars and menus.
摘要:
A commanding system for a computer. An input sequence can be received from an input device, and the commanding system can be used to connect the input to an associated action. Commanding can be provided by a plurality of nodes that represent elements of control and application levels. The nodes can be arranged in a hierarchical structure, and each node can include a table of bindings. A service can be attached to one or more of the nodes at run-time to provide additional commanding functionality. For example, a service can modify or supplement the binding entries provided in the table of bindings associated with a given node.