Bug 169125 Make IDE#saveAllEditors work for logical models
Build ID: 200610251409 Steps To Reproduce: 1.In RSA, make changes to a model under ClearCase control 2.Without saving the model, invoke Team->Checkin 3.Checkin succeeds but the user's latest changes are not committed to the repository. More information: In the Logical Model API, there is currently no way for the repository to provider to query the state of the model and/or indicate to the model provider that it needs to be saved. The API needs to provide such a mechanism.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDE.java
}
	}
	/**
	 * Guess at the content type of the given file based on the filename.
	 * 
	 * @param file
	 *            the file to test
	 * @return the content type, or <code>null</code> if it cannot be
	 *         determined.
	 * @since 3.2
	 */
	public static IContentType guessContentType(IFile file) {
		String fileName = file.getName();
		try {
			UIStats.start(UIStats.CONTENT_TYPE_LOOKUP, fileName);
			IContentTypeMatcher matcher = file.getProject()
					.getContentTypeMatcher();
			return matcher.findContentTypeFor(fileName);
		} catch (CoreException e) {
			return null;
		} finally {
			UIStats.end(UIStats.CONTENT_TYPE_LOOKUP, file, fileName);
		}
	}
	/**
	 * Prompt the user to inform them of the possible side effects of an
	 * operation on resources. Do not prompt for side effects from ignored model
	 * providers. A model provider can be ignored if it is the client calling
	 * this API. Any message from the provided model provider id or any model
	 * providers it extends will be ignored.