public long getButtonPressed()
    {
        return buttonPressed;
    }
Save the result and close dialog
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/dialogs/GoToDialog.java