סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > ContextMenuRegistry > (constructor)
איפוס המופע הקיים של singleton של ContextmenuRegistry.
Signature:
constructor();
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-12 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-12 (שעון UTC)."],[[["The `ContextMenuRegistry` constructor resets the existing singleton instance of the registry."],["It is used to manage and control the context menus displayed within the Blockly workspace."],["Calling this constructor will clear any previously registered context menu items and options."]]],["The `ContextMenuRegistry` constructor resets the existing singleton instance of the `ContextMenuRegistry`. This is the core action: resetting the singleton instance. The information provided specifies that `ContextMenuRegistry` is a class and that the `constructor()` method is responsible for this resetting action. The method takes no arguments, as indicated by the empty parentheses in the signature `constructor();`.\n"]]