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
}
		
		if (editor != null) {
			gotoMarker(editor, marker);
		}
		return editor;
	}
	/**
	 * Save all dirty editors in the workbench whose editor input is a child
	 * resource of one of the <code>IResource</code>'s provided. Opens a
	 * dialog to prompt the user if <code>confirm</code> is true. Return true
	 * if successful. Return false if the user has cancelled the command.
	 * 
	 * @since 3.0
	 * 
	 * @param resourceRoots
	 *            the resource roots under which editor input should be saved,
	 *            other will be left dirty
	 * @param confirm
	 *            prompt the user if true
	 * @return boolean false if the operation was cancelled.
	 */
	public static boolean saveAllEditors(IResource[] resourceRoots,
			boolean confirm) {
		final IResource[] finalResources = resourceRoots;
		final boolean finalConfirm = confirm;
		final boolean[] result = new boolean[1];
		result[0] = true;
		if (resourceRoots.length == 0) {
			return result[0];