private void closeView(String urlPath) {
		if (urlPath.equals(CLOSE_ALL_OPEN_VIEWS)) {
			closeAllViews();
			return;
		}

		// close the named view
		URL url = GhidraURL.toURL(urlPath);
		closeView(url);
	}
closes a view for Project | Close View
@throws IllegalArgumentException if urlPath is invalid
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/ProjectActionManager.java