]> source.dussan.org Git - vaadin-framework.git/commitdiff
Avoid using VButton because of vaadin-widgets dependencies (#17023)
authorLeif Åstrand <leif@vaadin.com>
Wed, 25 Mar 2015 12:19:43 +0000 (14:19 +0200)
committerLeif Åstrand <leif@vaadin.com>
Wed, 25 Mar 2015 12:19:43 +0000 (14:19 +0200)
Change-Id: Id1d42ee9555600eb117feadddcc92151dc2c5e1c

client/src/com/vaadin/client/widgets/Grid.java

index 3b26c8be57c5dc741c81f8133ead07e1470eec1d..f980285b6b254c95badf9b0586f5aaefabe44b0f 100644 (file)
@@ -78,7 +78,6 @@ import com.vaadin.client.renderers.ComplexRenderer;
 import com.vaadin.client.renderers.Renderer;
 import com.vaadin.client.renderers.WidgetRenderer;
 import com.vaadin.client.ui.SubPartAware;
-import com.vaadin.client.ui.VButton;
 import com.vaadin.client.ui.dd.DragAndDropHandler;
 import com.vaadin.client.ui.dd.DragAndDropHandler.DragAndDropCallback;
 import com.vaadin.client.widget.escalator.Cell;
@@ -2921,7 +2920,7 @@ public class Grid<T> extends ResizeComposite implements
 
         private final FlowPanel content;
 
-        private final VButton openCloseButton;
+        private final Button openCloseButton;
 
         private final Grid<?> grid;
 
@@ -2931,7 +2930,7 @@ public class Grid<T> extends ResizeComposite implements
             rootContainer = new FlowPanel();
             initWidget(rootContainer);
 
-            openCloseButton = new VButton();
+            openCloseButton = new Button();
             openCloseButton.addClickHandler(openCloseButtonHandler);
 
             rootContainer.add(openCloseButton);