Stay organized with collections
Save and categorize content based on your preferences.
blockly > Procedures > IProcedureMap
Procedures.IProcedureMap interface
Signature:
export interface IProcedureMap extends Map<string, IProcedureModel>
Extends: Map<string, IProcedureModel>
Methods
Method |
Description |
add(proc) |
Adds the given ProcedureModel to the map of procedure models, so that blocks can find it. |
getProcedures() |
Returns all of the procedures stored in this map. |
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\u003eThe \u003ccode\u003eIProcedureMap\u003c/code\u003e interface manages and stores procedure models, extending the functionality of the built-in \u003ccode\u003eMap\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to add new procedures (\u003ccode\u003eadd\u003c/code\u003e) and retrieve all stored procedures (\u003ccode\u003egetProcedures\u003c/code\u003e), enabling block interactions with these models.\u003c/p\u003e\n"],["\u003cp\u003eEach procedure is identified by a unique string key and associated with an \u003ccode\u003eIProcedureModel\u003c/code\u003e object containing its definition and details.\u003c/p\u003e\n"]]],[],null,[]]