Generic user interface command architecture
First Claim
1. One or more computer storage media having stored thereon a plurality of instructions that describe a component, wherein the component, when created, is to:
- expose a modes enumeration;
return to a requestor, in response to the requestor invoking the modes enumeration based at least in part on an order of preference of the requestor, a list of one or more presentation models supported by the component for a particular command associated with the component, one or more groups of commands being enumerated such that particular commands within the one or more groups of commands are located in closer proximity to one another; and
presenting the component via a user interface based at least in part on the one or more presentation models and context information that is associated with the user interface, the context information describing currently available resources of the user interface and how the items are currently being displayed on the user interface.
2 Assignments
0 Petitions
Accused Products
Abstract
Certain aspects of a generic user interface command architecture allow an application to host commands for presentation on a computing device. The commands can be written by the same designer or author as the application, or alternatively by other parties (e.g., by a third-party developer). Other aspects of the generic UI command architecture describe an application programming interface (API) that can be used to allow the application to host the commands. Other aspects of the generic UI command architecture describe an activation mechanism by which registered commands can be activated by an application.
31 Citations
20 Claims
-
1. One or more computer storage media having stored thereon a plurality of instructions that describe a component, wherein the component, when created, is to:
-
expose a modes enumeration; return to a requestor, in response to the requestor invoking the modes enumeration based at least in part on an order of preference of the requestor, a list of one or more presentation models supported by the component for a particular command associated with the component, one or more groups of commands being enumerated such that particular commands within the one or more groups of commands are located in closer proximity to one another; and presenting the component via a user interface based at least in part on the one or more presentation models and context information that is associated with the user interface, the context information describing currently available resources of the user interface and how the items are currently being displayed on the user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method, comprising:
-
accessing, by a computing device, a modes enumeration exposed by a component; receiving, by the computing device and in response to accessing the modes enumeration, a list of one or more presentation models supported by the component for a particular command associated with the component; enumerating, by the computing device and based at least in part on the accessing of the modes enumeration, one or more groups of commands such that particular commands within the one or more groups of commands are located in closer proximity to one another; and presenting the particular command via a user interface utilizing the one or more presentation models and based at least in part on context information that describes items that are currently being displayed on the user interface and how the items are currently being displayed on the user interface. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A system comprising:
-
one or more processors; and a memory for storing computer-executable instructions that, when executed by the one or more processors, performs operations comprising; accessing a modes enumeration exposed by a component; receiving, in response to accessing the modes enumeration, a list of one or more presentation models supported by the component for a particular command associated with the component; negotiating for at least one of the one or more presentation models to be used in presenting the particular command via a user interface, the particular command being presented via the user interface based at least in part on context information associated with the user interface, the context information including items being presented in the user interface that are currently selected, a size of an area in which the particular command will be located, and an amount of available resources; and providing a notification of the negotiated at least one presentation model, the providing the notification including invoking a get provider process and including the negotiated at least one presentation model as a parameter of the get provider process. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification