diff dwtx/jface/internal/text/html/BrowserInformationControl.d @ 158:25f1f92fa3df

...
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:46:34 +0200
parents f70d9508c95c
children 3678e4f1a766
line wrap: on
line diff
--- a/dwtx/jface/internal/text/html/BrowserInformationControl.d	Mon Aug 25 19:06:44 2008 +0200
+++ b/dwtx/jface/internal/text/html/BrowserInformationControl.d	Tue Aug 26 02:46:34 2008 +0200
@@ -21,11 +21,11 @@
 import dwtx.jface.internal.text.html.BrowserInformationControlInput; // packageimport
 import dwtx.jface.internal.text.html.HTMLMessages; // packageimport
 
-
+// FIXME needs Browser :/
+/++
 import dwt.dwthelper.utils;
 
-import java.io.IOException;
-import java.io.StringReader;
+import dwtx.dwtxhelper.StringReader;
 import dwtx.dwtxhelper.Collection;
 
 import dwt.DWT;
@@ -251,10 +251,15 @@
      * {@inheritDoc}
      * @deprecated use {@link #setInput(Object)}
      */
-    public void setInformation(final String content) {
-        setInput(new class(null)  BrowserInformationControlInput {
+    public void setInformation(String content) {
+        setInput(new class(null,content)  BrowserInformationControlInput {
+            String content_;
+            this(BrowserInformationControlInput input, String a){
+                super(input);
+                content_=a;
+            }
             public String getHtml() {
-                return content;
+                return content_;
             }
 
             public String getInputName() {
@@ -262,7 +267,7 @@
             }
 
             public Object getInputElement() {
-                return content;
+                return stringcast(content_);
             }
         });
     }
@@ -632,3 +637,5 @@
     }
 
 }
+
+++/
\ No newline at end of file