Centralized selection context for user interface data binding and event handling
AssigneeStratovan Corporation
InventorDavid J. Wiley
Life of this patent
Estimating the term…
Abstract
Systems and methods are disclosed which employ a centralized selection context having selection states spread across user interface elements. Methods are described in which the binding between widgets and data storage is isolated using the centralized selection context paradigm for a majority of data items represented within a user interface. This selection context is fully accessible by methods that access data while considering the current selection context. The centralized selection context simplifies event-handling logic by having selection context readily available thus removing the need to query individual widgets for their state.
Claims19
A method for maintaining context for a plurality of widgets comprising a user interface for one or more applications, comprising:
- maintaining run-time selection context for the widgets in a central storage;
- binding data for the widgets in conjunction with the run-time selection context maintained in the central storage;
- updating the run-time selection context of a certain one of the widgets in the central storage based on a widget event reported by the certain widget;
- providing access to the widgets to the bound data in accordance with the run-time selection context maintained by the central storage;
- and
- selectively providing access to the centralized run-time selection context of the certain widget to the one or more other widgets.
A method for managing context of a plurality of widgets comprising a graphical user interface in a graphical processor, comprising:
- creating a certain one of the widgets in the processor using a mediator;
- binding the certain widget to data in a data storage;
- maintaining a central run-time selection context associated with the certain widget such that the run-time selection context is made available to other of the widgets via the mediator;
- providing direct access to the certain widget to the bound data in accordance with the maintained central run-time selection context;
- and
- setting an initial user interface selection state for the widget within the run-time selection context.
Dependencies are inferred from the claim text.