final void enableActions(boolean enabled) {
//      renameAction.setEnabled(enabled);
		closeProjectAction.setEnabled(enabled);
		saveAction.setEnabled(enabled);
	}
menu listener for File | Delete Project...
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FileActionManager.java