addAttributeEditorNodeHelp(string $nodeType, string $helpCommand)
なし
変数名 | 変数型 | 説明 |
---|---|---|
$nodeType | string | ノード タイプです。 |
$helpCommand | string | ノードのヘルプを表示するコマンドです。 対応するメニュー項目をアトリビュート エディタのヘルプ メニューから選択すると、このコマンドが呼び出されます。ノード タイプのメニュー項目を作成しない場合は、空の文字列を指定します。 |
// Prevent a menu item in the Help menu from being // created for nodes of type "customNodeType1". // addAttributeEditorNodeHelp("customNodeType1", ""); // Use the showHelp command to display a specific web page // when the "customNodeType2" Help menu item is selected. // addAttributeEditorNodeHelp("customNodeType2", "showHelp -absolute \"http://www.alias.com\""); // Use the print command to inform user no help is available // for "customNodeType3". // addAttributeEditorNodeHelp("customNodeType3", "print \"No help available yet for customNodeType3\\n\"");