protected void setSelection(Navigatable navigatable, ProgramSelection selection) {
		if (navigatable == null) {
			GoToService service = tool.getService(GoToService.class);
			if (service == null) {
				return; // can't do anything
			}
			navigatable = service.getDefaultNavigatable();
		}
		navigatable.setSelection(selection);
	}
Create the actions and add them to the tool.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/highlight/SetHighlightPlugin.java