主权项 |
1. A method for selectively invoking one of two processes based on a type of user gesture, comprising:
using a gesture-recognition interface operably coupled with a control circuit of a device, identifying a single user gesture associated with data content presented on a display; identifying a type of the user gesture; determining that a client has sent an unbound invocation comprising opportunity to pass an invocation message with no processing entity yet identified; determining that the unbound invocation provides each of a location of the data content to be acted on by a processing entity and a type of the data content; determining that the unbound invocation did not specify an action value; assigning an action value to the invocation message indicating an action to be performed on the data content; and without requiring additional user input, selectively performing an invocation process according to the type of the user gesture identified; responsive to determining that the user gesture is a first type of user gesture, performing a first invocation process, comprising:
identifying a specific processing entity to receive the unbound invocation and perform the action, according to the data type, the assigned action value, and the type of the user gesture, from amongst a plurality of possible processing entities suitable to handle the invocation message; andpassing the invocation message to the identified specific processing entity whereupon the identified specific processing entity executes the action on the data content; and responsive to determining that the user gesture is a second type of user gesture different from the first type of user gesture, performing a second invocation process, comprising:
determining a domain context for the invocation message;using the domain context and information corresponding to the invocation message, querying an invocation framework that cannot natively intuit domain context from the information;receiving from the invocation framework a plurality of possible processing entities; andpresenting the plurality of possible processing entities via the display. |