protected void programActivated(Program program) {
		if (program == null) {
			return;
		}
		Options options = program.getOptions(Program.DISASSEMBLER_PROPERTIES);
		options.registerOption(Disassembler.MARK_BAD_INSTRUCTION_PROPERTY, true, null,
			"Place ERROR Bookmark at locations where disassembly could not be perfomed.");
		options.registerOption(Disassembler.MARK_UNIMPL_PCODE_PROPERTY, true, null,
			"Place WARNING Bookmark at locations where a disassembled instruction has unimplemented pcode.");
		options.registerOption(Disassembler.RESTRICT_DISASSEMBLY_TO_EXECUTE_MEMORY_PROPERTY, false,
			null, "Restrict disassembly to executable memory blocks.");
	}
Creates a new instance of the plugin giving it the tool that it will work in.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/disassembler/DisassemblerPlugin.java