private void doValidation() {
private void doValidation(int VALIDATE) { File file= null; String ext= null; Path path= null;
	private void doValidation() {		fStyleSheetStatus= new StatusInfo();		fOverviewStatus= new StatusInfo();		fAntStatus= new StatusInfo();		if (fStyleSheetButton.getSelection()) {			Path stylePath= new Path(fStyleSheetText.getText());			File file= new File(fStyleSheetText.getText());			if (!stylePath.toFile().exists() || !stylePath.getFileExtension().equalsIgnoreCase("css")) {				fStyleSheetStatus.setError("Not a valid stylesheet.");			}		}		if (fOverViewButton.getSelection()) {			Path overviewPath= new Path(fOverViewText.getText());			if (!overviewPath.toFile().exists() || !overviewPath.getFileExtension().equalsIgnoreCase("html")) {				fOverviewStatus.setError("Not a valid html document.");			}		}		if (fAntButton.getSelection()) {			IPath antPath= new Path(fAntText.getText());			String ext= antPath.getFileExtension();			IPath antSeg= antPath.removeLastSegments(1);						if ((!antSeg.isValidPath(antSeg.toOSString())) || (ext == null) || !(ext.equalsIgnoreCase("xml")))				fAntStatus.setError("Not a valid Ant file name.");			else if (antPath.toFile().exists())				fAntStatus.setWarning("The generated ant file will overwrite the existing ant file.");		}		updateStatus(findMostSevereStatus());	}