@Override
	public void cancel() {
		RepositoryAdapter repository = data.getRepository();
		if (repository != null) {
			repository.disconnect();
			data.setRepository(null);
		}
		data.setServer(null);
		data.setProjectLocator(null);
	}
Wizard model for creating new Ghidra projects.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/wizard/project/ProjectWizardModel.java