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 16:07:46 +0200
commita10764e0b493f8c9c1ea5baa31d06240bbe81e97 (patch)
tree73ed8b5120f1706fe8b5a1feac10e41a1f643975
parente0f815dc176ed484ae14f49e91936fee3d90825a (diff)
downloadvaadin-framework-a10764e0b493f8c9c1ea5baa31d06240bbe81e97.tar.gz
vaadin-framework-a10764e0b493f8c9c1ea5baa31d06240bbe81e97.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);