@Override
	public boolean performFinish() {
		if (!validate()) {
			return false;
		}

		File moduleSourceDir = sourcePage.getSourceDir();
		File ghidraInstallDir = ghidraInstallationPage.getGhidraInstallDir();
		String projectName = projectPage.getProjectName();
		boolean createRunConfig = projectPage.shouldCreateRunConfig();
		String runConfigMemory = projectPage.getRunConfigMemory();
		ProjectPythonInterpreter pythonInterpreter = pythonPage.getProjectPythonInterpreter();
		try {
			getContainer().run(true, false,
				monitor -> importModuleSource(ghidraInstallDir, projectName, moduleSourceDir,
					createRunConfig, runConfigMemory, pythonInterpreter, monitor));
		}
		catch (InterruptedException e) {
			Thread.currentThread().interrupt();
			return false;
		}
		catch (InvocationTargetException e) {
			error(showWizardErrorDialog(getShell(), e), e);
			return false;
		}

		return true;
	}
Wizard for importing Ghidra module source to a new Ghidra module project.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/wizards/ImportGhidraModuleSourceWizard.java