diff options
author | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
commit | 95408b1a41b31b645f3a8c3323ab7d3ca4bff26b (patch) | |
tree | f8f137cddcb9a40499d303be95722fd2c6081bce /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs | |
parent | b70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff) | |
parent | de043d330a8bf5855d4d983c804cd36727cb2406 (diff) |
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs index 00eb11bfa8..620ca00313 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs @@ -100,8 +100,13 @@ namespace MonoDevelop.Ide.Gui OnBeforeSave (EventArgs.Empty); this.Save (contentName); } - - public virtual void Save (string fileName) + + public void Save (string fileName) + { + Save (new FileSaveInformation (fileName)); + } + + public virtual void Save (FileSaveInformation fileSaveInformation) { throw new NotImplementedException (); } @@ -110,7 +115,12 @@ namespace MonoDevelop.Ide.Gui { } - public abstract void Load (string fileName); + public abstract void Load (FileOpenInformation fileOpenInformation); + + public void Load (string fileName) + { + Load (new FileOpenInformation (fileName, null)); + } public virtual void LoadNew (System.IO.Stream content, string mimeType) { |