Repository navigation
feat(agent): 右クリックとダブルクリックに対応 - #20
Merged
Merged
Conversation
CLI・MCP からボタンとクリック回数を指定できるようにし、 メニュー表示とダブルクリックによる操作を再現する。 メニュー項目の無効状態の取得と操作の拒否にも対応する。 Refs #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
click-node が左ボタンの単一クリックに固定されており、コンテキストメニューの確認や、リストセル・名前編集のダブルクリック操作を再現できませんでした。
CLI と MCP に button・clickCount を追加し、合成入力と Robot の両方で右クリック・ダブルクリックを指定できるようにしました。省略時は従来の左クリック1回を維持します。CLI には right-click-node・double-click-node のショートカットも追加しています。
合成右クリックでは標準コンテキストメニューを開き、メニュー項目の無効状態を node.disabled で取得できます。無効項目へのクリックはエラーを返します。ヘルプと操作説明も更新しました。
検証結果:
Robot のダブルクリック認識は OS の時間・位置条件に依存します。JavaFX 22 での実行は未検証です。
Closes #9