@Override
	public boolean canFinish(ProjectWizardData data) {
		ProjectLocator projectLocator = data.getProjectLocator();
		if (projectLocator != null) {
			return true;
		}
		String name = data.getRepositoryName();
		if (data.isSharedProject() && name != null) {
			String dir = panel.getDirectoryName();
			if (isValid(dir, name)) {
				data.setProjectLocator(new ProjectLocator(dir, name));
				return true;
			}
		}
		return false;
	}
Wizard step in the new project wizard for choosing the new project's root folder location and
naming the project.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/wizard/project/SelectProjectStep.java