public static <T extends BaseWindow> String getNextUntitledWindowName(Class<T> windowClass, String baseTitle, BaseWindow exclude) {
		List<T> windows = getWindows(windowClass);
		int value = 0;
		String title;
		boolean again;

		do {
			again = false;
			title = baseTitle;
			if (++value > 1) {
				title += " " + value; //$NON-NLS-1$
			}
			for (T window : windows) {
				if (window != exclude && title.equals(window.getTitle())) {
					again = true;
					break;
				}
			}
		} while (again);
		return title;
	}