aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-03-25 14:19:43 +0200
committerLeif Åstrand <leif@vaadin.com>2015-03-25 14:19:43 +0200
commitff5f4e29731e534a85c5c22fab292eea0476237b (patch)
tree71d430d2d4cc2013e4f6e1773e6541b0501222a7
parent754caf060f1473f2367c421ecd70f3a8966f6f10 (diff)
downloadvaadin-framework-ff5f4e29731e534a85c5c22fab292eea0476237b.tar.gz
vaadin-framework-ff5f4e29731e534a85c5c22fab292eea0476237b.zip
Avoid using VButton because of vaadin-widgets dependencies (#17023)
Change-Id: Id1d42ee9555600eb117feadddcc92151dc2c5e1c
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index 3b26c8be57..f980285b6b 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -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);