調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >ContextMenuRegistry >(コンストラクタ)
ContextMenuRegistry の既存のシングルトン インスタンスをリセットします。
署名:
constructor();
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]