摘要:
Disclosed is a default property sheet system that coordinates default values for elements used in a user interface. Interface designers add default values for the properties of the elements that they define. The default “value” is broadly understood. Not limited to fixed values, the default property sheet can provide a rule for calculating a default value. The rule can take into account, for example, aspects of the present environment. The order of searching for a rule that provides a value to a property of an interface element is defined. Other collections of value-setting rules, called “non-default property sheets,” can be created that take precedence over the default property sheet. The default property sheet can be a “theme of last resort.” If a property of an interface element is not given a value elsewhere, then the property is given the value specified in the default property sheet.
摘要:
Disclosed is a theme property sheet system that supports presentation themes by coordinating values provided to elements used in a user interface. When an interface user expresses a preference for a particular presentation theme, that theme's property sheet is given precedence over other mechanisms for setting property values. By appropriately setting these values in the interface, the theme property sheet enhances the coherence of the interface. The theme property sheet allows an interface designer to add new presentation elements to a user interface without being concerned about presentation themes. The default for each property as set by the designer is overridden, when necessary, by the theme sheet. In a few particular cases, an application designer needs to override even the user's theme preferences. A mechanism is provided to support these exceptional cases.
摘要:
Described is a mechanism for allowing new functionality for an object to be expressed as a property that is not built into the class from which the object derives. More specifically, the mechanism associates properties in one class with another class. A computer-readable medium, that includes an object having a property in a first set of properties, further includes a data structure. The data structure includes definitions for each of a second set of properties and includes at least one static method. The static method is associated with one property out of the second set of properties and includes a first parameter. The first parameter uniquely identifies the one property. The static method is operative to associate the one property with the object without specifying an explicit reference to the one property in the object. The property is registered during run-time in order to receive the unique identifier.
摘要:
An application program interface (API) provides a set of functions for application developers who build Web applications on Microsoft Corporation's .NET™ platform.
摘要:
The present invention provides a dynamic queue for managing jobs in a threaded computing environment. Jobs may be placed in the queue, which may be maintained within a context of the computing environment, at a given priority level. The priority of jobs within the queue and the receipt time of each job is maintained. A job may also be placed within the queue with triggers that, if met, will result in the priority of the job being changed or will result in the job being removed from the queue entirely. Methods in accordance with the present invention also provide a method for raising an exception should multiple threads seek to access objects within a single context. Methods in accordance with the present invention also provide compatibility with prior computing systems and methodologies by providing for integration of prior static queues with dynamic queues in accordance with the present invention, and by providing methods for a given thread to be pinned to a particular context of a computing environment.
摘要:
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.
摘要:
An application program interface (API) provides a set of functions for application developers who build Web applications on Microsoft Corporation's .NET™ platform.
摘要:
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.