status.setInfo(CougaarUIMessages.getString(
status.setError(CougaarUIMessages.getString(
    private IStatus validateCougaarName() {        StatusInfo status = new StatusInfo();        String name = fCougaarName.getText();        if ((name == null) || (name.trim().length() == 0)) {            status.setInfo(CougaarUIMessages.getString(                    "addCougaarDialog.enterName")); //$NON-NLS-1$        } else {            if (fRequestor.isDuplicateName(name)                && ((fEditedCougaar == null)                || !name.equals(fEditedCougaar.getId()))) {                status.setError(CougaarUIMessages.getString(                        "adCoguaarMDialog.duplicateName")); //$NON-NLS-1$            } else {                IStatus s = ResourcesPlugin.getWorkspace().validateName(name,                        IResource.FILE);                if (!s.isOK()) {                    status.setError(MessageFormat.format(                            CougaarUIMessages.getString(                                "AddCougaarDialog.Cougaar_name_must_be_a_valid_file_name__{0}_1"),                            new String[] { s.getMessage() })); //$NON-NLS-1$                }            }        }        return status;    }