feat(api): access node under caret/mouse and jump (PR #1903)
* Access node under caret/mouse and jump * Apply lint
This commit is contained in:
@@ -49,4 +49,19 @@ public interface JadxGuiContext {
|
||||
* Access to GUI settings
|
||||
*/
|
||||
JadxGuiSettings settings();
|
||||
|
||||
ICodeNodeRef getNodeUnderCaret();
|
||||
|
||||
ICodeNodeRef getNodeUnderMouse();
|
||||
|
||||
ICodeNodeRef getEnclosingNodeUnderCaret();
|
||||
|
||||
ICodeNodeRef getEnclosingNodeUnderMouse();
|
||||
|
||||
/**
|
||||
* Jump to a code ref
|
||||
*
|
||||
* @return if successfully jumped to the code ref
|
||||
*/
|
||||
boolean open(ICodeNodeRef ref);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user