Author: mkrueger
Date: 2007-08-31 10:02:42 -0400 (Fri, 31 Aug 2007)
New Revision: 85107
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionDataProvider.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CommentCompletionDataProvider.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineBuildOptions.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineConfigurationPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineEntryConfigurationsPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineInformationPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineStartupPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CommonAssemblySigningPreferences.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CustomCommandPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/GeneralProjectOptions.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/CombineOptionsDialog.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ConfigurationManager.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ProjectOptionsDialog.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui/IconCodon.cs
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/gtk-gui/gui.stetic
Log:
* MonoDevelop.Projects.Gui/IconCodon.cs,
MonoDevelop.Projects.Gui.Dialogs/ConfigurationManager.cs,
MonoDevelop.Projects.Gui.Dialogs/ProjectOptionsDialog.cs,
MonoDevelop.Projects.Gui.Dialogs/CombineOptionsDialog.cs,
MonoDevelop.Projects.Gui.Completion/CommentCompletionDataProvider.cs,
MonoDevelop.Projects.Gui.Completion/CodeCompletionDataProvider.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineStartupPanel.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/GeneralProjectOptions.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineInformationPanel.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineConfigurationPanel.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineBuildOptions.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineEntryConfigurationsPanel.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CommonAssemblySigningPreferences.cs,
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CustomCommandPanel.cs:
Changes due to new property infrastructure.
Modified: trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
2007-08-31 14:02:08 UTC (rev 85106)
+++ trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
2007-08-31 14:02:42 UTC (rev 85107)
@@ -1,3 +1,24 @@
+2007-08-31 Mike Krüger <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Projects.Gui/IconCodon.cs,
+ MonoDevelop.Projects.Gui.Dialogs/ConfigurationManager.cs,
+ MonoDevelop.Projects.Gui.Dialogs/ProjectOptionsDialog.cs,
+ MonoDevelop.Projects.Gui.Dialogs/CombineOptionsDialog.cs,
+ MonoDevelop.Projects.Gui.Completion/CommentCompletionDataProvider.cs,
+ MonoDevelop.Projects.Gui.Completion/CodeCompletionDataProvider.cs,
+
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs,
+ MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs,
+ MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineStartupPanel.cs,
+ MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs,
+
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/GeneralProjectOptions.cs,
+
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineInformationPanel.cs,
+
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineConfigurationPanel.cs,
+ MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineBuildOptions.cs,
+
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineEntryConfigurationsPanel.cs,
+
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CommonAssemblySigningPreferences.cs,
+ MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CustomCommandPanel.cs:
+ Changes due to new property infrastructure.
+
2007-08-28 Mike Krüger <[EMAIL PROTECTED]>
* MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs,
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui/IconCodon.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui/IconCodon.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui/IconCodon.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -11,7 +11,7 @@
using System.ComponentModel;
using Mono.Addins;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Projects.Gui
{
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionDataProvider.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionDataProvider.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionDataProvider.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -12,8 +12,8 @@
using System.Collections.Specialized;
using System.Xml;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui;
using MonoDevelop.Projects.Parser;
using MonoDevelop.Projects;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CommentCompletionDataProvider.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CommentCompletionDataProvider.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CommentCompletionDataProvider.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -9,8 +9,8 @@
using System.Reflection;
using System.Collections;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui;
using MonoDevelop.Projects.Parser;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/CombineOptionsDialog.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/CombineOptionsDialog.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/CombineOptionsDialog.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -32,7 +32,7 @@
using Mono.Addins;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Projects;
using MonoDevelop.Core.Gui.Dialogs;
@@ -55,10 +55,10 @@
configData = ConfigurationData.Build (combine);
configData.ConfigurationsChanged += new EventHandler
(OnConfigChanged);
- properties = new DefaultProperties();
- properties.SetProperty ("Combine", combine);
- properties.SetProperty ("CombineEntry", combine);
- properties.SetProperty ("CombineConfigData",
configData);
+ properties = new Properties();
+ properties.Set ("Combine", combine);
+ properties.Set ("CombineEntry", combine);
+ properties.Set ("CombineConfigData", configData);
AddNodes (properties, Gtk.TreeIter.Zero,
node.GetChildObjects (false));
@@ -86,11 +86,11 @@
void FillConfigurations ()
{
foreach (IConfiguration config in
configData.Configurations) {
- DefaultProperties configNodeProperties = new
DefaultProperties();
- configNodeProperties.SetProperty("Combine",
combine);
-
configNodeProperties.SetProperty("CombineEntry", combine);
- configNodeProperties.SetProperty("Config",
config);
- configNodeProperties.SetProperty
("CombineConfigData", configData);
+ Properties configNodeProperties = new
Properties();
+ configNodeProperties.Set("Combine", combine);
+ configNodeProperties.Set("CombineEntry",
combine);
+ configNodeProperties.Set("Config", config);
+ configNodeProperties.Set ("CombineConfigData",
configData);
object[] list =
configurationNode.GetChildObjects (false);
if (list.Length > 1) {
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ConfigurationManager.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ConfigurationManager.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ConfigurationManager.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -9,7 +9,7 @@
using System.ComponentModel;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Projects.Gui.Dialogs
{
@@ -39,7 +39,7 @@
/// </summary>
private System.ComponentModel.Container components = null;
- PropertyService propertyService =
(PropertyService)ServiceManager.Services.GetService(typeof(PropertyService));
+ PropertyService PropertyService =
(PropertyService)ServiceManager.Services.GetService(typeof(PropertyService));
public ConfigurationManager()
{
//
@@ -72,7 +72,7 @@
/// </summary>
private void InitializeComponent()
{
- bool flat = Crownwood.Magic.Common.VisualStyle.IDE ==
(Crownwood.Magic.Common.VisualStyle)propertyService.GetProperty("MonoDevelop.Core.Gui.VisualStyle",
Crownwood.Magic.Common.VisualStyle.IDE);
+ bool flat = Crownwood.Magic.Common.VisualStyle.IDE ==
(Crownwood.Magic.Common.VisualStyle)PropertyService.Get("MonoDevelop.Core.Gui.VisualStyle",
Crownwood.Magic.Common.VisualStyle.IDE);
this.treeView1 = new System.Windows.Forms.TreeView();
this.label1 = new System.Windows.Forms.Label();
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ProjectOptionsDialog.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ProjectOptionsDialog.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs/ProjectOptionsDialog.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -11,7 +11,7 @@
using Mono.Addins;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Projects;
using MonoDevelop.Components.Commands;
using MonoDevelop.Core.Gui.Dialogs;
@@ -36,9 +36,9 @@
this.configurationNode = configurationNode;
this.Title = GettextCatalog.GetString ("Project
Options") + " - " + project.Name;
- properties = new DefaultProperties();
- properties.SetProperty("Project", project);
- properties.SetProperty("CombineEntry", project);
+ properties = new Properties();
+ properties.Set("Project", project);
+ properties.Set("CombineEntry", project);
AddNodes(properties, Gtk.TreeIter.Zero,
node.GetChildObjects (false));
@@ -67,10 +67,10 @@
//newNode.NodeFont = plainFont;
}
- DefaultProperties configNodeProperties = new
DefaultProperties();
- configNodeProperties.SetProperty("Project",
project);
-
configNodeProperties.SetProperty("CombineEntry", project);
- configNodeProperties.SetProperty("Config",
config);
+ Properties configNodeProperties = new
Properties();
+ configNodeProperties.Set("Project", project);
+ configNodeProperties.Set("CombineEntry",
project);
+ configNodeProperties.Set("Config", config);
AddNodes(configNodeProperties, newNode,
configurationNode.GetChildObjects (false));
}
TreeView.ExpandRow (treeStore.GetPath
(configurationTreeNode), false);
@@ -135,7 +135,7 @@
// add the config to the project
project.Configurations.Add (newConfig);
- properties.SetProperty ("Config", newConfig);
+ properties.Set ("Config", newConfig);
// add the child nodes to this new config
AddNodes (properties, newNode,
configurationNode.GetChildObjects (false));
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineBuildOptions.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineBuildOptions.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineBuildOptions.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -8,8 +8,8 @@
using System.Collections;
using System.ComponentModel;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Projects;
@@ -29,10 +29,10 @@
Combine combine;
- public CombineBuildOptionsWidget(IProperties
CustomizationObject) :
+ public CombineBuildOptionsWidget(Properties
CustomizationObject) :
base ("Base.glade", "CombineBuildOptions")
{
- this.combine =
(Combine)((IProperties)CustomizationObject).GetProperty("Combine");
+ this.combine =
((Properties)CustomizationObject).Get<Combine> ("Combine");
outputDirButton.Filename =
combine.OutputDirectory + System.IO.Path.DirectorySeparatorChar;
}
@@ -45,7 +45,7 @@
public override void LoadPanelContents()
{
- Add (widget = new CombineBuildOptionsWidget
((IProperties) CustomizationObject));
+ Add (widget = new CombineBuildOptionsWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineConfigurationPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineConfigurationPanel.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineConfigurationPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -3,8 +3,8 @@
using System.Collections;
using MonoDevelop.Projects;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Components;
using Gtk;
@@ -22,10 +22,10 @@
CombineConfiguration configuration;
ConfigurationData configData;
- public CombineConfigurationPanelWidget (IProperties
CustomizationObject): base ("Base.glade", "CombineConfigurationsPanel")
+ public CombineConfigurationPanelWidget (Properties
CustomizationObject): base ("Base.glade", "CombineConfigurationsPanel")
{
- configuration =
(CombineConfiguration)((IProperties)CustomizationObject).GetProperty("Config");
- configData =
(ConfigurationData)((IProperties)CustomizationObject).GetProperty("CombineConfigData");
+ configuration =
((Properties)CustomizationObject).Get<CombineConfiguration> ("Config");
+ configData =
((Properties)CustomizationObject).Get<ConfigurationData> ("CombineConfigData");
store = new TreeStore (typeof(object),
typeof(string), typeof(bool));
configsList.Model = store;
@@ -95,7 +95,7 @@
public override void LoadPanelContents()
{
- Add (widget = new CombineConfigurationPanelWidget
((IProperties) CustomizationObject));
+ Add (widget = new CombineConfigurationPanelWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineEntryConfigurationsPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineEntryConfigurationsPanel.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineEntryConfigurationsPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -31,8 +31,8 @@
using System.Reflection;
using MonoDevelop.Projects;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Components;
using MonoDevelop.Core.Gui;
using MonoDevelop.Core.Gui.Dialogs;
@@ -56,10 +56,10 @@
TreeStore store;
ConfigurationData configData;
- public CombineEntryConfigurationsPanelWidget
(IProperties CustomizationObject): base ("Base.glade",
"CombineEntryConfigurationsPanel")
+ public CombineEntryConfigurationsPanelWidget
(Properties CustomizationObject): base ("Base.glade",
"CombineEntryConfigurationsPanel")
{
-// combine =
(Combine)((IProperties)CustomizationObject).GetProperty("Combine");
- configData =
(ConfigurationData)((IProperties)CustomizationObject).GetProperty("CombineConfigData");
+// combine =
(Combine)((Properties)CustomizationObject).Get("Combine");
+ configData =
((Properties)CustomizationObject).Get<ConfigurationData>("CombineConfigData");
store = new TreeStore (typeof(object),
typeof(string));
configsList.Model = store;
@@ -187,7 +187,7 @@
public override void LoadPanelContents()
{
- Add (widget = new CombineEntryConfigurationsPanelWidget
((IProperties) CustomizationObject));
+ Add (widget = new CombineEntryConfigurationsPanelWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineInformationPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineInformationPanel.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineInformationPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -29,8 +29,8 @@
using System.ComponentModel;
using MonoDevelop.Projects;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Components;
using MonoDevelop.Core.Gui.Dialogs;
@@ -52,10 +52,10 @@
Combine combine;
- public CombineInformationWidget (IProperties
CustomizationObject) :
+ public CombineInformationWidget (Properties
CustomizationObject) :
base ("Base.glade", "CombineInformationPanel")
{
- this.combine = (Combine)
((IProperties)CustomizationObject).GetProperty("Combine");
+ this.combine =
((Properties)CustomizationObject).Get<Combine> ("Combine");
versLabel.UseUnderline = true;
descLabel.UseUnderline = true;
@@ -64,7 +64,7 @@
descView.Buffer.Text = combine.Description;
}
- public void Store (IProperties CustomizationObject)
+ public void Store (Properties CustomizationObject)
{
combine.Version = versEntry.Text;
combine.Description = descView.Buffer.Text;
@@ -73,12 +73,12 @@
public override void LoadPanelContents()
{
- Add ( widget = new CombineInformationWidget
((IProperties) CustomizationObject));
+ Add ( widget = new CombineInformationWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
{
- widget.Store ((IProperties) CustomizationObject);
+ widget.Store ((Properties) CustomizationObject);
return true;
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineStartupPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineStartupPanel.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CombineStartupPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -9,7 +9,7 @@
using System.ComponentModel;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Projects;
using MonoDevelop.Core.Gui;
@@ -39,10 +39,10 @@
Combine combine;
- public CombineStartupPanelWidget(IProperties
CustomizationObject) :
+ public CombineStartupPanelWidget(Properties
CustomizationObject) :
base ("Base.glade", "CombineStartupPanel")
{
- this.combine =
(Combine)((IProperties)CustomizationObject).GetProperty("Combine");
+ this.combine =
((Properties)CustomizationObject).Get<Combine> ("Combine");
singleRadioButton.Active =
combine.SingleStartupProject;
@@ -260,7 +260,7 @@
public override void LoadPanelContents()
{
- Add (widget = new CombineStartupPanelWidget
((IProperties) CustomizationObject));
+ Add (widget = new CombineStartupPanelWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CommonAssemblySigningPreferences.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CommonAssemblySigningPreferences.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CommonAssemblySigningPreferences.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -29,7 +29,7 @@
using System;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Projects;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Projects.Gui.Dialogs.OptionPanels
{
@@ -44,9 +44,9 @@
public void LoadPanelContents ()
{
- IProperties props = (IProperties) CustomizationObject;
- configuration = props.GetProperty("Config") as
AbstractProjectConfiguration;
- project =
(Project)((IProperties)CustomizationObject).GetProperty("Project");
+ Properties props = (Properties) CustomizationObject;
+ configuration = props.Get<AbstractProjectConfiguration>
("Config");
+ project =
((Properties)CustomizationObject).Get<Project> ("Project");
this.signAssemblyCheckbutton.Toggled += new
EventHandler (SignAssemblyCheckbuttonActivated);
if (configuration != null) {
this.signAssemblyCheckbutton.Active =
configuration.SignAssembly;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -9,7 +9,7 @@
using MonoDevelop.Projects;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui;
using MonoDevelop.Core.Gui.Components;
using MonoDevelop.Core.Gui.Dialogs;
@@ -30,10 +30,10 @@
Project project;
- public CompileFileOptionsWidget (IProperties
CustomizationObject) :
+ public CompileFileOptionsWidget (Properties
CustomizationObject) :
base ("Base.glade", "CompileFileOptionsPanel")
{
- this.project =
(Project)((IProperties)CustomizationObject).GetProperty("Project");
+ this.project =
((Properties)CustomizationObject).Get<Project> ("Project");
includeLabel.UseUnderline = true;
store = new ListStore (typeof(bool),
typeof(string));
@@ -97,7 +97,7 @@
public override void LoadPanelContents()
{
- Add (widget = new CompileFileOptionsWidget
((IProperties) CustomizationObject));
+ Add (widget = new CompileFileOptionsWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CustomCommandPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CustomCommandPanel.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CustomCommandPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -2,7 +2,7 @@
using System;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Projects;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
namespace MonoDevelop.Projects.Gui.Dialogs.OptionPanels
{
@@ -13,10 +13,10 @@
public override void LoadPanelContents ()
{
- IProperties props = (IProperties) CustomizationObject;
- configuration = props.GetProperty("Config") as
AbstractConfiguration;
+ Properties props = (Properties) CustomizationObject;
+ configuration = props.Get<AbstractConfiguration>
("Config");
if (configuration != null) {
- CombineEntry entry = (CombineEntry)
props.GetProperty("CombineEntry");
+ CombineEntry entry = props.Get<CombineEntry>
("CombineEntry");
commands = configuration.CustomCommands.Clone
();
Add (new CustomCommandPanelWidget (entry,
commands));
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/GeneralProjectOptions.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/GeneralProjectOptions.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/GeneralProjectOptions.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -11,8 +11,8 @@
using System.ComponentModel;
using MonoDevelop.Projects;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Components;
using MonoDevelop.Core.Gui.Dialogs;
@@ -44,10 +44,10 @@
- public GeneralProjectOptionsWidget (IProperties
CustomizationObject) : base ("Base.glade", "GeneralProjectOptionsPanel")
+ public GeneralProjectOptionsWidget (Properties
CustomizationObject) : base ("Base.glade", "GeneralProjectOptionsPanel")
{
- this.project =
(Project)((IProperties)CustomizationObject).GetProperty("Project");
-
+ this.project =
((Properties)CustomizationObject).Get<Project> ("Project");
+
nameLabel.UseUnderline = true;
descriptionLabel.UseUnderline = true;
@@ -86,7 +86,7 @@
}
- public void Store (IProperties CustomizationObject)
+ public void Store (Properties CustomizationObject)
{
project.Name =
projectNameEntry.Text;
project.Description =
projectDescriptionTextView.Buffer.Text;
@@ -104,12 +104,12 @@
public override void LoadPanelContents()
{
- Add (widget = new GeneralProjectOptionsWidget
((IProperties) CustomizationObject));
+ Add (widget = new GeneralProjectOptionsWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
{
- widget.Store ((IProperties) CustomizationObject);
+ widget.Store ((Properties) CustomizationObject);
return true;
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -12,7 +12,7 @@
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Components;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using Gtk;
@@ -34,10 +34,10 @@
DotNetProjectConfiguration configuration;
Project project;
- public OutputOptionsPanelWidget(IProperties
CustomizationObject) : base ("Base.glade", "OutputOptionsPanel")
+ public OutputOptionsPanelWidget(Properties
CustomizationObject) : base ("Base.glade", "OutputOptionsPanel")
{
- configuration =
(DotNetProjectConfiguration)((IProperties)CustomizationObject).GetProperty("Config");
- project =
(Project)((IProperties)CustomizationObject).GetProperty("Project");
+ configuration =
((Properties)CustomizationObject).Get<DotNetProjectConfiguration>("Config");
+ project =
((Properties)CustomizationObject).Get<Project>("Project");
externalConsoleCheckButton.Toggled += new
EventHandler (ExternalConsoleToggle);
assemblyNameEntry.Text =
configuration.OutputAssembly;
@@ -89,7 +89,7 @@
OutputOptionsPanelWidget widget;
public override void LoadPanelContents()
{
- Add (widget = new OutputOptionsPanelWidget
((IProperties) CustomizationObject));
+ Add (widget = new OutputOptionsPanelWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
2007-08-31 14:02:08 UTC (rev 85106)
+++
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/RuntimeOptionsPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
@@ -34,7 +34,7 @@
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Components;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using Gtk;
@@ -52,9 +52,9 @@
DotNetProject project;
ArrayList supportedVersions = new ArrayList ();
- public RuntimeOptionsPanelWidget (IProperties
CustomizationObject) : base ("Base.glade", "RuntimeOptionsPanel")
+ public RuntimeOptionsPanelWidget (Properties
CustomizationObject) : base ("Base.glade", "RuntimeOptionsPanel")
{
- project =
((IProperties)CustomizationObject).GetProperty("Project") as DotNetProject;
+ project =
((Properties)CustomizationObject).Get<DotNetProject>("Project") ;
if (project != null) {
// Get the list of available versions,
and add only those supported by the target language.
ClrVersion[] langSupported =
project.LanguageBinding.GetSupportedClrVersions ();
@@ -88,7 +88,7 @@
public override void LoadPanelContents()
{
- Add (widget = new RuntimeOptionsPanelWidget
((IProperties) CustomizationObject));
+ Add (widget = new RuntimeOptionsPanelWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified: trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/gtk-gui/gui.stetic
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/gtk-gui/gui.stetic
2007-08-31 14:02:08 UTC (rev 85106)
+++ trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/gtk-gui/gui.stetic
2007-08-31 14:02:42 UTC (rev 85107)
@@ -2,11 +2,11 @@
<stetic-interface>
<configuration>
<images-root-path>../</images-root-path>
- <target-gtk-version>2.8.3</target-gtk-version>
+ <target-gtk-version>2.10.0</target-gtk-version>
</configuration>
<import>
- <widget-library name="../../../../build/AddIns/MonoDevelop.Components.dll"
/>
- <widget-library
name="../../../../build/AddIns/MonoDevelop.Projects.Gui.dll" />
+ <widget-library name="../../../../build/bin/MonoDevelop.Components.dll" />
+ <widget-library name="../../../../build/bin/MonoDevelop.Projects.Gui.dll"
internal="true" />
</import>
<widget class="Gtk.Bin"
id="MonoDevelop.Projects.Gui.Dialogs.OptionPanels.CustomCommandWidget"
design-size="492 170">
<property name="MemberName" />
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches