internal void InternalWriteWorkspaceItem(IProgressMonitor monitor, FilePath file, WorkspaceItem item) { FilePath filePath = this.WriteFile(monitor, file, item, item.FileFormat); if (filePath != null) { item.FileName = filePath; return; } throw new InvalidOperationException("FileFormat not provided for workspace item '" + item.Name + "'"); }
internal void Save(IProgressMonitor monitor, WorkspaceItem workspaceItem) { workspaceItem.OnSave(monitor); }