# US 2008/0301559 A1 · User Interface That Uses a Task Respository

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0301559 A1
- Document ID: US20080301559A1
- Status: Published application
- Kind: A1
- Application number: 11/755,941
- Filed: 2007-05-31
- Published: 2008-12-04
- Earliest claimed: 2007-05-31
- Assignees: Microsoft Corporation
- Inventors: Ronald R. Martinsen; Taleb Tewfik Zeghmi
- Web page: https://patentgrep.com/patent/US20080301559A1

## CPC

- G06F 8/20: Software design
- G06F 9/451: Execution arrangements for user interfaces
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In aspects, object types are placed in a task repository and controls register with the task repository for notification when a different object type is selected. When a different object type is selected, the task repository is notified of the object type. In response, the task repository determines a list of one or more tasks associated with the selected object type. The task repository then notifies controls that have registered for notification and passes the list of one or more tasks. Using the list and the information included in the tasks, controls may rebuild their portion of a user interface. When a user or process indicates that the actions associated with an element are to be performed, the element calls the task repository and indicates a task to perform. In response, the task repository executes the actions associated with the task.

## Claims

### Claim 1

A computer-readable medium having computer-executable instructions, which when executed perform actions, comprising:
registering for notification to be provided when a different object type is selected;
receiving the notification and an indication of a task associated with the different object type, the task identifying data for use in displaying an element in the user interface; and
displaying the element based on the task.

### Claim 2 (depends on 1)

The computer-readable medium of claim 1, wherein registering for notification to be provided when a different object type is selected comprises registering with a task repository that stores the task.

### Claim 3 (depends on 3)

The computer-readable medium of claim 3, wherein the data for use in displaying an element in the user interface is included in the task.

### Claim 4 (depends on 3)

The computer-readable medium of claim 3, wherein the data for use in displaying an element in the user interface is associated with the task.

### Claim 5 (depends on 1)

The computer-readable medium of claim 1, wherein the data comprises text, an icon, and a list of one or more controls that the task supports.

### Claim 6 (depends on 1)

The computer-readable medium of claim 1, wherein registering for notification to be provided when a different object type is selected comprises a control registering for notification and wherein the element is displayed via the control.

### Claim 7 (depends on 6)

The computer-readable medium of claim 6, wherein the control determines using the data whether to enable or disable the element.

### Claim 8 (depends on 6)

The computer-readable medium of claim 6, wherein the control determines using the data whether to display or hide the element.

### Claim 9 (depends on 6)

The computer-readable medium of claim 6, wherein the control uses the data to determine features of the element.

### Claim 10 (depends on 1)

The computer-readable medium of claim 1, wherein the task is associated with actions that are applicable to a plurality of elements of the user interface, wherein each of the elements when activated are coded to request that the actions be executed.

### Claim 11

A method implemented at least in part by a computer, the method comprising:
receiving notification of an object type, the object type associated with a task that is stored in a repository, the task indicating a list of controls that are capable of formatting elements using information identified by the task;
storing an indication of the object type; and
receiving an indication that actions associated with the task are to be performed.

### Claim 12 (depends on 11)

The method of claim 11, wherein receiving an indication that actions associated with the task are to be performed comprises receiving an identifier associated with the task sent from an element of a user interface.

### Claim 13 (depends on 12)

The method of claim 12, wherein the identifier is stored in a tag of the element.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
retrieving the indication of the object type; and
performing the actions on a object of the object type.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
providing information about the task to a list of controls, the information indicating which elements of the controls to display.

### Claim 16

In a computing environment, an apparatus, comprising:
a task repository operable to receive an indication that an object type has been selected and in response thereto to determine a list of one or more tasks associated with the object type;
a user interface engine operable to provide the indication to the task repository in response to receiving input to select the object type; and
a notification component operable to send a notification to controls within the user interface engine that the object type has changed.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the notification component is further operable to send the list of one or more tasks to the controls.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the controls are operable to use the list to display elements associated with the one or more tasks.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the controls are further operable to associate task identifiers with the elements, each element operable to provide an associated task identifier to the task repository upon indication that a task associated with the element is to be performed.

### Claim 20 (depends on 16)

The apparatus of claim 16, further comprising a task execution engine operable to execute a task in response to request from an element of the user interface.
