Stay organized with collections
Save and categorize content based on your preferences.
blockly > WorkspaceSvg > configureContextMenu
Developers may define this function to add custom menu options to the workspace's context menu or edit the workspace-created set of menu options.
Signature:
configureContextMenu: ((menuOptions: ContextMenuOption[], e: Event) => void) | null;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eWorkflowTemplateServiceClient.ListWorkflowTemplatesPage\u003c/code\u003e is a class that extends \u003ccode\u003eAbstractPage\u003c/code\u003e and provides methods for iterating through pages of WorkflowTemplates.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods like \u003ccode\u003ecreatePage\u003c/code\u003e, \u003ccode\u003ecreatePageAsync\u003c/code\u003e, \u003ccode\u003egetNextPage\u003c/code\u003e, and \u003ccode\u003ehasNextPage\u003c/code\u003e for navigating through the results.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits functionality from \u003ccode\u003eAbstractPage\u003c/code\u003e and \u003ccode\u003eObject\u003c/code\u003e, offering standard methods for paging and object manipulation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this class to easily retrieve and process a list of WorkflowTemplates from the Dataproc service.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides access to request and response objects, as well as the list of WorkflowTemplates within the current page.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [WorkspaceSvg](./blockly.workspacesvg_class.md) \\\u003e [configureContextMenu](./blockly.workspacesvg_class.configurecontextmenu_property.md)\n\nWorkspaceSvg.configureContextMenu property\n------------------------------------------\n\nDevelopers may define this function to add custom menu options to the workspace's context menu or edit the workspace-created set of menu options.\n\n**Signature:** \n\n configureContextMenu: ((menuOptions: ContextMenuOption[], e: Event) =\u003e void) | null;"]]