IP Library Granted Patent US 11,327,730
Granted Patent B2
US 11,327,730 · App. 17/165,643 · Granted May 10, 2022

Composable context menus

Inventors: Sachin G. Totale (Pleasanton, CA); Deepak Michael (Bangalore, IN); Saif Ali Ansari (Namchi, IN); Shubha Ravi (Bangalore, IN)
Assignee: Open Text Corporation
G06F8/38G06F3/0482G06F3/04845G06F9/451
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,327,730
App. No.
17/165,643
Granted
May 10, 2022
Kind
B2
Abstract

A method includes automatically generating application code to implement a context menu in an application, the application code comprising code for providing a context menu container object as part of an application page when the application page is displayed by a browser, the context menu container object configured not to be visibly displayed as part of the application page, the context menu container object configured to hold a current set of context menu options during display of the application page, consume a first event during display of the application page, and evaluate logic based on the first event to update the current set of context menu options during display of the application page, the context menu container object responsive to a prescribed input to display the context menu as having the current set of context menu options.

Claims (32)

1. A computer program product comprising a non-transitory computer readable medium storing therein a set of computer executable instructions, the set of computer executable instructions comprising instructions for:

receiving a context menu definition for a context menu, the context menu definition comprising a context menu option definition, the context menu option definition comprising logic to be evaluated at runtime to determine context menu options to display; and

including application code to implement the context menu in an application, based at least in part on the context menu option definition, the application code comprising code for providing a context menu container object as part of an application page when the application page is displayed by a browser, the context menu container object configured not to be visibly displayed as part of the application page, the context menu container object configured to hold a current set of context menu options during display of the application page, consume a first event during display of the application page, and evaluate the logic based on the first event to update the current set of context menu options during display of the application page, the context menu container object responsive to a prescribed input to display the context menu as having the current set of context menu options.

2. The computer program product of claim 1 , wherein the application code comprises code for initializing the context menu container object with a default set of menu options as the current set of context menu options.

3. The computer program product of claim 1 , wherein the context menu definition includes an action definition specifying an action associated with a first context menu option and wherein the context menu container object is configured to perform the action based on a user selection of the first context menu option in the context menu.

4. The computer program product of claim 1 , wherein the context menu definition includes an action definition, the action definition comprising an expression to be evaluated at runtime to determine an action to perform upon selection of a first context menu option and wherein the context menu container object is configured to evaluate the expression to determine the action and bind the action to the first context menu option.

5. The computer program product of claim 4 , wherein the expression includes a payload of the first event as an argument.

6. The computer program product of claim 4 , wherein the expression includes an application context data as an argument.

7. The computer program product of claim 4 , wherein the expression includes a value from a data source as an argument.

8. The computer program product of claim 4 , wherein the action comprises publishing an application user interface.

9. The computer program product of claim 4 , wherein the action comprises publishing a second event to an event bus.

10. The computer program product of claim 1 , wherein the application code further comprises code for:

providing a set of action elements associated with the context menu;

receiving a selection of a first context menu option while the context menu is displayed;

performing chained actions while the context menu is displayed; and

maintaining a binding to action elements in the set of action elements to continue processing of the chained actions after the context menu is no longer displayed.

11. A method comprising:

receiving a context menu definition for a context menu, the context menu definition comprising a context menu option definition, the context menu option definition comprising logic to be evaluated at runtime to determine context menu options to display; and

based at least in part on the context menu option definition, automatically generating application code to implement the context menu in an application, the application code comprising code for providing a context menu container object as part of an application page when the application page is displayed by a browser, the context menu container object configured not to be visibly displayed as part of the application page, the context menu container object configured to hold a current set of context menu options during display of the application page, consume a first event during display of the application page, and evaluate the logic based on the first event to update the current set of context menu options during display of the application page, the context menu container object responsive to a prescribed input to display the context menu as having the current set of context menu options.

12. The method of claim 11 , wherein the application code comprises code for initializing the context menu container object with a default set of menu options as the current set of context menu options.

13. The method of claim 11 , wherein the context menu definition includes an action definition specifying an action associated with a first context menu option and wherein the context menu container object is configured to perform the action based on a user selection of the first context menu option in the context menu.

14. The method of claim 11 , wherein the context menu definition includes an action definition, the action definition comprising an expression to be evaluated at runtime to determine an action to perform upon selection of a first context menu option and wherein the context menu container object is configured to evaluate the expression to determine the action and bind the action to the first context menu option.

15. The method of claim 14 , wherein the expression includes a payload of the first event as an argument.

16. The method of claim 14 , wherein the expression includes an application context data as an argument.

17. The method of claim 14 , wherein the expression includes a value from a data source as an argument.

18. The method of claim 14 , wherein the action comprises publishing an application user interface.

19. The method of claim 14 , wherein the action comprises publishing a second event to an event bus.

20. The method of claim 11 , wherein the application code further comprises code for:

providing a set of action elements associated with the context menu;

receiving a selection of a first context menu option while the context menu is displayed;

performing chained actions while the context menu is displayed; and

maintaining a binding to action elements in the set of action elements to continue processing of the chained actions after the context menu is no longer displayed.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2021
From: TOTALE, SACHIN G.; MICHAEL, DEEPAK; ANSARI, SAIF ALI; RAVI, SHUBHA
To: EMC CORPORATION
Reel/Frame 056080/0458 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2021
From: EMC CORPORATION
To: OPEN TEXT CORPORATION
Reel/Frame 056080/0502 →