You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2010/04/17 18:02:34 UTC

svn commit: r935195 - in /incubator/wookie/trunk/connector/CSharp/WookieService/Wookie: WidgetInstance.cs WookieConnectorService.cs

Author: rgardler
Date: Sat Apr 17 16:02:34 2010
New Revision: 935195

URL: http://svn.apache.org/viewvc?rev=935195&view=rev
Log:
Remove refences to maximize attribute Fixes Wooki-137 thanks to Mohamed Elamry and Marco Bassetti

Modified:
    incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WidgetInstance.cs
    incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WookieConnectorService.cs

Modified: incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WidgetInstance.cs
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WidgetInstance.cs?rev=935195&r1=935194&r2=935195&view=diff
==============================================================================
--- incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WidgetInstance.cs (original)
+++ incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WidgetInstance.cs Sat Apr 17 16:02:34 2010
@@ -25,15 +25,13 @@ namespace WookieService.Wookie
         private String title;
         private Int32 height;
         private Int32 width;
-        private String maximize;
 
-        public WidgetInstance(String url, String guid, String title, Int32 height, Int32 width, String maximize) {
+        public WidgetInstance(String url, String guid, String title, Int32 height, Int32 width) {
             this.setIdentifier(guid);
             this.setUrl(url);
             this.setTitle(title);
             this.setHeight(height);
             this.setWidth(width);
-            this.setMaximize(maximize);
         }
       
         public String getUrl() {
@@ -75,16 +73,5 @@ namespace WookieService.Wookie
         public void setWidth(Int32 width) {
             this.width = width;
         }
-
-        public String getMaximize() {
-            return this.maximize;
-        }
-
-        public void setMaximize(String maximize) {
-            this.maximize = maximize;
-        }
-        public String isMaximizable() {
-            return this.getMaximize();
-        }
     }
 }

Modified: incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WookieConnectorService.cs
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WookieConnectorService.cs?rev=935195&r1=935194&r2=935195&view=diff
==============================================================================
--- incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WookieConnectorService.cs (original)
+++ incubator/wookie/trunk/connector/CSharp/WookieService/Wookie/WookieConnectorService.cs Sat Apr 17 16:02:34 2010
@@ -72,11 +72,9 @@ namespace WookieService.Wookie
             String widgetTitle = doc.GetElementsByTagName("title")[0].InnerText;;
             Int32 widgetHeight = Int32.Parse(doc.GetElementsByTagName("height")[0].InnerText);
             Int32 widgetWidth = Int32.Parse(doc.GetElementsByTagName("width")[0].InnerText);
-            String widgetMaximize = doc.GetElementsByTagName("maximize")[0].InnerText;;
-
           
             WidgetInstance newInstance = new WidgetInstance(widgetInstanceUrl, guid, widgetTitle, 
-                                                            widgetHeight, widgetWidth, widgetMaximize);
+                                                            widgetHeight, widgetWidth);
             return newInstance;            
         }