Author: mkrueger
Date: 2007-08-31 10:07:24 -0400 (Fri, 31 Aug 2007)
New Revision: 85116

Modified:
   trunk/monodevelop/Extras/JavaBinding/ChangeLog
   trunk/monodevelop/Extras/JavaBinding/Gui/GlobalOptionsPanel.cs
   trunk/monodevelop/Extras/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs
   trunk/monodevelop/Extras/JavaBinding/JavaLanguageBinding.cs
Log:
* JavaLanguageBinding.cs, Gui/GlobalOptionsPanel.cs,
  Gui/ProjectConfigurationPropertyPanel.cs: Changes due to new
  property infrastructure.

Modified: trunk/monodevelop/Extras/JavaBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/JavaBinding/ChangeLog      2007-08-31 14:07:14 UTC 
(rev 85115)
+++ trunk/monodevelop/Extras/JavaBinding/ChangeLog      2007-08-31 14:07:24 UTC 
(rev 85116)
@@ -1,3 +1,9 @@
+2007-08-31  Mike Krüger <[EMAIL PROTECTED]> 
+
+       * JavaLanguageBinding.cs, Gui/GlobalOptionsPanel.cs,
+         Gui/ProjectConfigurationPropertyPanel.cs: Changes due to new property
+         infrastructure.
+
 2007-08-09  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * JavaBinding.addin.xml, JavaBinding.mdp, Makefile.am: Reorganized the

Modified: trunk/monodevelop/Extras/JavaBinding/Gui/GlobalOptionsPanel.cs
===================================================================
--- trunk/monodevelop/Extras/JavaBinding/Gui/GlobalOptionsPanel.cs      
2007-08-31 14:07:14 UTC (rev 85115)
+++ trunk/monodevelop/Extras/JavaBinding/Gui/GlobalOptionsPanel.cs      
2007-08-31 14:07:24 UTC (rev 85116)
@@ -6,7 +6,7 @@
 using MonoDevelop.Core.Gui.Dialogs;
 using MonoDevelop.Components;
 using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
 
 namespace JavaBinding
 {

Modified: 
trunk/monodevelop/Extras/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs
===================================================================
--- 
trunk/monodevelop/Extras/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs   
    2007-08-31 14:07:14 UTC (rev 85115)
+++ 
trunk/monodevelop/Extras/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs   
    2007-08-31 14:07:24 UTC (rev 85116)
@@ -12,7 +12,7 @@
 using MonoDevelop.Core.Gui.Dialogs;
 using MonoDevelop.Components;
 using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
 
 namespace JavaBinding
 {
@@ -41,9 +41,9 @@
                        JavaCompilerParameters compilerParameters = null;
                        DotNetProjectConfiguration configuration;
                        
-                       public CodeGenerationPanelWidget (IProperties 
CustomizationObject) : base ("Java.glade", "CodeGenerationPanel")
+                       public CodeGenerationPanelWidget (Properties 
CustomizationObject) : base ("Java.glade", "CodeGenerationPanel")
                        {       
-                               configuration = 
(DotNetProjectConfiguration)((IProperties)CustomizationObject).GetProperty("Config");
+                               configuration = 
((Properties)CustomizationObject).Get<DotNetProjectConfiguration> ("Config");
                                compilerParameters = (JavaCompilerParameters) 
configuration.CompilationParameters;
                                
                                ListStore store = new ListStore (typeof 
(string));
@@ -112,7 +112,7 @@
                
                public override void LoadPanelContents()
                {
-                       Add (widget = new  CodeGenerationPanelWidget 
((IProperties) CustomizationObject));
+                       Add (widget = new  CodeGenerationPanelWidget 
((Properties) CustomizationObject));
                }
                
                public override bool StorePanelContents()

Modified: trunk/monodevelop/Extras/JavaBinding/JavaLanguageBinding.cs
===================================================================
--- trunk/monodevelop/Extras/JavaBinding/JavaLanguageBinding.cs 2007-08-31 
14:07:14 UTC (rev 85115)
+++ trunk/monodevelop/Extras/JavaBinding/JavaLanguageBinding.cs 2007-08-31 
14:07:24 UTC (rev 85116)
@@ -17,7 +17,7 @@
 using MonoDevelop.Projects;
 using MonoDevelop.Core.Gui;
 using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
 using MonoDevelop.Projects.Parser;
 using MonoDevelop.Projects.CodeGeneration;
 
@@ -114,26 +114,26 @@
        
        public class GlobalProperties
        {
-               IProperties props = (IProperties) 
Runtime.Properties.GetProperty ("JavaBinding.GlobalProps", new 
DefaultProperties ());
+               Properties props = (Properties) PropertyService.Get 
("JavaBinding.GlobalProps", new Properties ());
                
                public string IkvmPath {
-                       get { return props.GetProperty ("IkvmPath", ""); }
-                       set { props.SetProperty ("IkvmPath", value != null ? 
value : ""); }
+                       get { return props.Get ("IkvmPath", ""); }
+                       set { props.Set ("IkvmPath", value != null ? value : 
""); }
                }
                
                public string CompilerCommand {
-                       get { return props.GetProperty ("CompilerCommand", ""); 
}
-                       set { props.SetProperty ("CompilerCommand", value != 
null ? value : "javac"); }
+                       get { return props.Get ("CompilerCommand", ""); }
+                       set { props.Set ("CompilerCommand", value != null ? 
value : "javac"); }
                }
                
                public JavaCompiler CompilerType {
-                       get { return (JavaCompiler) props.GetProperty 
("CompilerType", 0); }
-                       set { props.SetProperty ("CompilerType", (int)value); }
+                       get { return (JavaCompiler) props.Get ("CompilerType", 
0); }
+                       set { props.Set ("CompilerType", (int)value); }
                }
                
                public string Classpath {
-                       get { return props.GetProperty ("Classpath", ""); }
-                       set { props.SetProperty ("Classpath", value != null ? 
value : ""); }
+                       get { return props.Get ("Classpath", ""); }
+                       set { props.Set ("Classpath", value != null ? value : 
""); }
                }
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to