public void openProgram(Program program) {
		PluginTool tool = state.getTool();
		if (tool == null) {
			return;
		}
		ProgramManager pm = tool.getService(ProgramManager.class);
		pm.openProgram(program);
		end(true);
		GhidraState newState = new GhidraState(tool, tool.getProject(), program, null, null, null);
		set(newState);
		start();
	}
Opens the specified program in the current tool.

@param program the program to open
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java