]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added license note and removed old getWidgetForPaintable from VButton and VNativeButton
authorJens Jansson <peppe@vaadin.com>
Mon, 30 Jan 2012 12:51:46 +0000 (14:51 +0200)
committerJens Jansson <peppe@vaadin.com>
Mon, 30 Jan 2012 12:51:46 +0000 (14:51 +0200)
src/com/vaadin/terminal/gwt/client/ui/VButton.java
src/com/vaadin/terminal/gwt/client/ui/VButtonPaintable.java
src/com/vaadin/terminal/gwt/client/ui/VNativeButton.java
src/com/vaadin/terminal/gwt/client/ui/VNativeButtonPaintable.java

index f8397d4a39cc79afe756e6b4fe8235b4b80a901c..21b5d8bbe848347b432863049a3d11c39b308884 100644 (file)
@@ -19,7 +19,6 @@ import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.Event;
 import com.google.gwt.user.client.ui.Accessibility;
 import com.google.gwt.user.client.ui.FocusWidget;
-import com.google.gwt.user.client.ui.Widget;
 import com.vaadin.terminal.gwt.client.ApplicationConnection;
 import com.vaadin.terminal.gwt.client.BrowserInfo;
 import com.vaadin.terminal.gwt.client.EventId;
@@ -450,9 +449,4 @@ public class VButton extends FocusWidget implements ClickHandler, FocusHandler,
     public void onBlur(BlurEvent arg0) {
         client.updateVariable(paintableId, EventId.BLUR, "", true);
     }
-
-    public Widget getWidgetForPaintable() {
-        return this;
-    }
-
 }
index 1367d412a87e1d713e0d615b80d77b6069cdaff6..5f26d81bcdde1c157b7b269ae8b0407ac3fa9681 100644 (file)
@@ -1,3 +1,6 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
 package com.vaadin.terminal.gwt.client.ui;
 
 import com.google.gwt.core.client.GWT;
index 9991769e46946ca23cbf48b770dc376f7020fada..94e5cdf40c18ba0045c00380da1e045a2e7cf83f 100644 (file)
@@ -15,7 +15,6 @@ import com.google.gwt.event.shared.HandlerRegistration;
 import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.Event;
 import com.google.gwt.user.client.ui.Button;
-import com.google.gwt.user.client.ui.Widget;
 import com.vaadin.terminal.gwt.client.ApplicationConnection;
 import com.vaadin.terminal.gwt.client.BrowserInfo;
 import com.vaadin.terminal.gwt.client.EventId;
@@ -145,8 +144,4 @@ public class VNativeButton extends Button implements ClickHandler,
             setStyleName(ApplicationConnection.DISABLED_CLASSNAME, !enabled);
         }
     }
-
-    public Widget getWidgetForPaintable() {
-        return this;
-    }
 }
index 5e0dceea7502ec3e3bff214fdd86934af5d8e2cb..ebf9cad264adba7654b123ee71af908a1d5e0152 100644 (file)
@@ -1,3 +1,6 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
 package com.vaadin.terminal.gwt.client.ui;
 
 import com.google.gwt.core.client.GWT;