@Override
    public void actionPerformed(NavigatableActionContext context) {
		AddressSetView addressSet = null;
		
		if (context.hasSelection()) {
			addressSet = context.getSelection();
		} else {
			addressSet = new AddressSet(context.getAddress());
		}
				
		ProgramSelection selection = getSelection(context.getProgram(), addressSet);
		NavigationUtils.setSelection(tool, context.getNavigatable(), selection);
	}
Method called when the action is invoked.
@param ActionEvent details regarding the invocation of this action
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/select/reference/SelectBackRefsAction.java