GP-1528: Fix dynamic listing context / focus issue, now that GP-3349 is done.

This commit is contained in:
Dan
2023-05-18 11:54:49 -04:00
parent 680c80dbfb
commit 51e5229346
19 changed files with 192 additions and 101 deletions

View File

@@ -132,14 +132,14 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
@Override
public ActionContext getActionContext(MouseEvent event) {
return getByteViewerActionContext();
}
ByteViewerActionContext getByteViewerActionContext() {
ByteBlockInfo info = panel.getCursorLocation();
if (info == null) {
return null;
}
return newByteViewerActionContext();
}
protected ByteViewerActionContext newByteViewerActionContext() {
return new ByteViewerActionContext(this);
}