Author: mkrueger
Date: 2007-08-31 09:50:46 -0400 (Fri, 31 Aug 2007)
New Revision: 85103
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Components/FileBrowser.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/CurrentPanelPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/DefaultDialogPanelDescriptor.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IDialogPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IWizardPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/StatusPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/TreeViewOptions.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/WizardDialog.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMementoCapable.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMessageService.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/MessageService.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/RecentOpen.cs
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/ResourceService.cs
Log:
* MonoDevelop.Core.Gui.Dialogs/WizardDialog.cs,
MonoDevelop.Core.Gui.Dialogs/CurrentPanelPanel.cs,
MonoDevelop.Core.Gui.Dialogs/DefaultDialogPanelDescriptor.cs,
MonoDevelop.Core.Gui.Dialogs/StatusPanel.cs,
MonoDevelop.Core.Gui.Dialogs/TreeViewOptions.cs,
MonoDevelop.Core.Gui.Dialogs/IDialogPanel.cs,
MonoDevelop.Core.Gui.Dialogs/IWizardPanel.cs,
MonoDevelop.Core.Gui.Components/FileBrowser.cs,
MonoDevelop.Core.Gui/IMessageService.cs,
MonoDevelop.Core.Gui/IMementoCapable.cs,
MonoDevelop.Core.Gui/RecentOpen.cs,
MonoDevelop.Core.Gui/MessageService.cs,
MonoDevelop.Core.Gui/ResourceService.cs: Changes due to new
property system.
Modified: trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog 2007-08-31
13:50:19 UTC (rev 85102)
+++ trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog 2007-08-31
13:50:46 UTC (rev 85103)
@@ -1,3 +1,20 @@
+2007-08-31 Mike Krüger <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Core.Gui.Dialogs/WizardDialog.cs,
+ MonoDevelop.Core.Gui.Dialogs/CurrentPanelPanel.cs,
+ MonoDevelop.Core.Gui.Dialogs/DefaultDialogPanelDescriptor.cs,
+ MonoDevelop.Core.Gui.Dialogs/StatusPanel.cs,
+ MonoDevelop.Core.Gui.Dialogs/TreeViewOptions.cs,
+ MonoDevelop.Core.Gui.Dialogs/IDialogPanel.cs,
+ MonoDevelop.Core.Gui.Dialogs/IWizardPanel.cs,
+ MonoDevelop.Core.Gui.Components/FileBrowser.cs,
+ MonoDevelop.Core.Gui/IMessageService.cs,
+ MonoDevelop.Core.Gui/IMementoCapable.cs,
+ MonoDevelop.Core.Gui/RecentOpen.cs,
+ MonoDevelop.Core.Gui/MessageService.cs,
+ MonoDevelop.Core.Gui/ResourceService.cs: Changes due to new property
+ system.
+
2007-08-21 Mike Krüger <[EMAIL PROTECTED]>
* MonoDevelop.Core.Gui/RecentOpen.cs,
Freedesktop.RecentFiles/RecentItem.cs,
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMementoCapable.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMementoCapable.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMementoCapable.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -5,13 +5,13 @@
// <version value="$version"/>
// </file>
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Core.Gui
{
/// <summary>
/// This interface flags an object beeing "mementocapable". This means
that the
- /// state of the object could be saved to an <see
cref="IXmlConvertable"/> object
+ /// state of the object could be saved to an <see cref="Properties"/>
object
/// and set from a object from the same class.
/// This is used to save and restore the state of GUI objects.
/// </summary>
@@ -20,11 +20,11 @@
/// <summary>
/// Creates a new memento from the state.
/// </summary>
- IXmlConvertable CreateMemento();
+ Properties CreateMemento ();
/// <summary>
/// Sets the state to the given memento.
/// </summary>
- void SetMemento(IXmlConvertable memento);
+ void SetMemento (Properties memento);
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMessageService.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMessageService.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/IMessageService.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -8,7 +8,7 @@
using System;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Core.Gui
{
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/MessageService.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/MessageService.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/MessageService.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -11,8 +11,8 @@
using MonoDevelop.Core.Gui;
using MonoDevelop.Core.Gui.Dialogs;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using Gtk;
namespace MonoDevelop.Core.Gui
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/RecentOpen.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/RecentOpen.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/RecentOpen.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -13,7 +13,7 @@
using Vfs = Gnome.Vfs.Vfs;
using MimeType = Gnome.Vfs.MimeType;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Utils;
using MonoDevelop.Core;
using Freedesktop.RecentFiles;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/ResourceService.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/ResourceService.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/ResourceService.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -16,8 +16,8 @@
using System.Xml;
using System.Runtime.InteropServices;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Codons;
using Mono.Addins;
using Mono.Addins.Setup;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Components/FileBrowser.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Components/FileBrowser.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Components/FileBrowser.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -12,8 +12,8 @@
using System.IO;
using Gtk;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Utils;
using MonoDevelop.Core.Gui;
@@ -47,8 +47,6 @@
private ArrayList files = new ArrayList ();
private ArrayList hiddenfolders = new ArrayList ();
- PropertyService PropertyService = (PropertyService)
ServiceManager.GetService (typeof (PropertyService));
-
public FileBrowser ()
{
scrolledwindow = new ScrolledWindow ();
@@ -76,8 +74,8 @@
toolbar.ShowAll ();
this.PackStart (toolbar, false, true, 0);
- IProperties p = (IProperties)
PropertyService.GetProperty ("SharpDevelop.UI.SelectStyleOptions", new
DefaultProperties ());
- ignoreHidden = !p.GetProperty
("MonoDevelop.Core.Gui.FileScout.ShowHidden", false);
+ Properties p = PropertyService.Get
("SharpDevelop.UI.SelectStyleOptions", new Properties ());
+ ignoreHidden = !p.Get
("MonoDevelop.Core.Gui.FileScout.ShowHidden", false);
tv = new Gtk.TreeView ();
tv.RulesHint = true;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/CurrentPanelPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/CurrentPanelPanel.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/CurrentPanelPanel.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -16,7 +16,7 @@
using MonoDevelop.Core;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Core.Gui.Dialogs
{
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/DefaultDialogPanelDescriptor.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/DefaultDialogPanelDescriptor.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/DefaultDialogPanelDescriptor.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -10,7 +10,7 @@
using System.CodeDom.Compiler;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Core.Gui.Dialogs
{
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IDialogPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IDialogPanel.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IDialogPanel.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -11,7 +11,7 @@
using Gtk;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Core.Gui.Dialogs
{
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IWizardPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IWizardPanel.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/IWizardPanel.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -11,7 +11,7 @@
using Gtk;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Codons;
namespace MonoDevelop.Core.Gui.Dialogs
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/StatusPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/StatusPanel.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/StatusPanel.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -15,7 +15,7 @@
using MonoDevelop.Core;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using Gtk;
using Gdk;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/TreeViewOptions.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/TreeViewOptions.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/TreeViewOptions.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -12,7 +12,7 @@
using MonoDevelop.Core;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Codons;
using MonoDevelop.Components.Commands;
@@ -24,7 +24,7 @@
/// </summary>
public class TreeViewOptions {
List<IDialogPanel> optionPanels = new List<IDialogPanel> ();
- protected IProperties properties = null;
+ protected Properties properties = null;
CommandManager cmdManager;
Dictionary<string, Gtk.TreeIter> descriptors = new
Dictionary<string, Gtk.TreeIter> ();
@@ -38,7 +38,7 @@
[Glade.Widget] Gtk.Image panelImage;
[Glade.Widget] Gtk.Dialog TreeViewOptionDialog;
- public IProperties Properties {
+ public Properties Properties {
get {
return properties;
}
@@ -186,7 +186,7 @@
SelectSpecificNode ((Gtk.TreeIter) it);
}
- public TreeViewOptions (Gtk.Window parentWindow, IProperties
properties, ExtensionNode node)
+ public TreeViewOptions (Gtk.Window parentWindow, Properties
properties, ExtensionNode node)
{
this.properties = properties;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/WizardDialog.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/WizardDialog.cs
2007-08-31 13:50:19 UTC (rev 85102)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/WizardDialog.cs
2007-08-31 13:50:46 UTC (rev 85103)
@@ -11,7 +11,7 @@
using MonoDevelop.Core;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Codons;
using Gtk;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches