Associating command surfaces with multiple active components
First Claim
Patent Images
1. A method for associating a shared command surface with active components, comprising:
- associating a shared command surface with a component associated with an application;
wherein the shared command surface includes user selectable commands for performing actions;
receiving a registration from the component requesting notification when one or more of the commands on the shared command surface is activated, the registration comprising a command list of the one or more of the commands on the shared command surface and the command list specifying whether each of the one or more commands in the command list is a global command or a focused command, wherein the global command indicates to dispatch the command regardless of a current focus on the component and wherein the focused command indicates to dispatch the command based on the current focus on the component;
determining when a particular command included on the shared command surface is activated;
determining when the component should receive the particular command based on the particular command being included in the command list and based on whether the particular command is specified in the command list as a global command or a focused command; and
dispatching the particular command to the component for processing when determined that the component should receive the particular command.
2 Assignments
0 Petitions
Accused Products
Abstract
The same command surface on a page may be associated with unrelated components and applications. Each of the components registers the commands associated with a shared command surface that they will be utilizing. Each component may utilize an arbitrary number of commands that are associated with the command surface. The command manager acts as a message broker between the components on the page and the command surfaces. When a command that is associated with a command surface is received, the command manager dispatches the command message to the appropriate components.
487 Citations
16 Claims
-
1. A method for associating a shared command surface with active components, comprising:
-
associating a shared command surface with a component associated with an application; wherein the shared command surface includes user selectable commands for performing actions; receiving a registration from the component requesting notification when one or more of the commands on the shared command surface is activated, the registration comprising a command list of the one or more of the commands on the shared command surface and the command list specifying whether each of the one or more commands in the command list is a global command or a focused command, wherein the global command indicates to dispatch the command regardless of a current focus on the component and wherein the focused command indicates to dispatch the command based on the current focus on the component; determining when a particular command included on the shared command surface is activated; determining when the component should receive the particular command based on the particular command being included in the command list and based on whether the particular command is specified in the command list as a global command or a focused command; and dispatching the particular command to the component for processing when determined that the component should receive the particular command. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer-readable storage medium having computer-executable instructions that, when executed by at least one processor, cause the at least one processor to perform a method for associating a command surface with active components, the method comprising:
-
associating a shared command surface with a component associated with an application;
wherein the shared command surface includes user selectable commands for performing actions;receiving a registration from the component requesting notification when one or more of the commands on the shared command surface is activated, the registration comprising a command list of the one or more of the commands on the shared command surface and the command list specifying whether each of the one or more commands in the command list is a global command or a focused command, wherein the global command indicates to dispatch the command regardless of a current focus on the component and wherein the focused command indicates to dispatch the command based on the current focus on the component; determining when a particular command included on the shared command surface is activated; determining when the component should receive the particular command based on the particular command being included in the command list and based on whether the particular command is specified in the command list as a global command or a focused command; and dispatching the particular command to the component for processing when determined that the component should receive the particular command. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for associating a command surface with components, comprising:
-
at least one processor; a memory, operatively connected to the at least one processor and storing instructions that, when executed by the at least one processor, cause the at least one processor to perform a method, the method comprising; associating a shared command surface with a component associated with an application;
wherein the shared command surface includes user selectable commands for performing actions;receiving a registration from the component requesting notification when one or more of the commands on the shared command surface is activated, the registration comprising a command list of the one or more of the commands on the shared command surface and the command list specifying whether each of the one or more commands in the command list is a global command or a focused command, wherein the global command indicates to dispatch the command regardless of a current focus on the component, and wherein the focused command indicates to dispatch the command based on the current focus on the component; determining when a particular command included on the shared command surface is activated; determining when the component should receive the particular command based on the particular command being included in the command list and based on whether the particular command is specified in the command list as a global command or a focused command; and dispatching the particular command to the component for processing when determined that the component should receive the particular command. - View Dependent Claims (14, 15, 16)
-
Specification