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 (dirtyEditors.size() > 0) {
					IWorkbenchWindow w = Workbench.getInstance()
							.getActiveWorkbenchWindow();
					if (w == null) {
						w = windows[0];
					}
					result[0] = EditorManager.saveAll(dirtyEditors,
							finalConfirm, false, false, w);
				}
			}
		});
		return result[0];
	}
	/**
	 * Sets the default editor id for a given file. This value will be used to
	 * determine the default editor descriptor for the file in future calls to
	 * <code>getDefaultEditor(IFile)</code>.
	 * 
	 * @param file
	 *            the file
	 * @param editorID
	 *            the editor id
	 */
	public static void setDefaultEditor(IFile file, String editorID) {
		try {
			file.setPersistentProperty(EDITOR_KEY, editorID);
		} catch (CoreException e) {
			
		}
	}