summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-08-28 15:01:14 +0300
committerJohn Ahlroos <john@vaadin.com>2012-08-28 15:01:14 +0300
commit96131e2e3e3746514de4baa40c3f8e47d262768c (patch)
tree2ea6eb8d517f79c6a4c53392155c5ba488ce6fe9 /client
parent04664a99cd88442b87d147e5951caef07742ddc2 (diff)
downloadvaadin-framework-96131e2e3e3746514de4baa40c3f8e47d262768c.tar.gz
vaadin-framework-96131e2e3e3746514de4baa40c3f8e47d262768c.zip
Replaced all .v and .v-connector selectors with .v-widget selector
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java7
-rw-r--r--client/src/com/vaadin/terminal/gwt/client/ui/orderedlayout/VBoxLayout.java3
2 files changed, 6 insertions, 4 deletions
diff --git a/client/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java b/client/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
index 14d7f4007e..9ccf1deb7c 100644
--- a/client/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
+++ b/client/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
@@ -42,9 +42,10 @@ import com.vaadin.terminal.gwt.client.metadata.Type;
import com.vaadin.terminal.gwt.client.metadata.TypeData;
import com.vaadin.terminal.gwt.client.ui.UI.UIConnector;
import com.vaadin.terminal.gwt.client.ui.datefield.PopupDateFieldConnector;
+import com.vaadin.ui.themes.BaseTheme;
public abstract class AbstractComponentConnector extends AbstractConnector
- implements ComponentConnector {
+implements ComponentConnector {
private Widget widget;
@@ -70,7 +71,7 @@ public abstract class AbstractComponentConnector extends AbstractConnector
getConnection().getVTooltip().connectHandlersToWidget(getWidget());
// Set the core 'v' style name for the widget
- getWidget().setStyleName("v", true);
+ getWidget().setStyleName(BaseTheme.UI_WIDGET, true);
}
/**
@@ -90,7 +91,7 @@ public abstract class AbstractComponentConnector extends AbstractConnector
"There is no information about the widget for "
+ Util.getSimpleName(this)
+ ". Did you remember to compile the right widgetset?",
- e);
+ e);
}
}
diff --git a/client/src/com/vaadin/terminal/gwt/client/ui/orderedlayout/VBoxLayout.java b/client/src/com/vaadin/terminal/gwt/client/ui/orderedlayout/VBoxLayout.java
index c8fff17cba..cd6a5f0d51 100644
--- a/client/src/com/vaadin/terminal/gwt/client/ui/orderedlayout/VBoxLayout.java
+++ b/client/src/com/vaadin/terminal/gwt/client/ui/orderedlayout/VBoxLayout.java
@@ -23,6 +23,7 @@ import com.vaadin.shared.ui.AlignmentInfo;
import com.vaadin.shared.ui.MarginInfo;
import com.vaadin.terminal.gwt.client.ComponentConnector;
import com.vaadin.terminal.gwt.client.LayoutManager;
+import com.vaadin.ui.themes.BaseTheme;
public class VBoxLayout extends FlowPanel {
@@ -254,7 +255,7 @@ public class VBoxLayout extends FlowPanel {
if (caption == null) {
caption = DOM.createDiv();
captionWrap = DOM.createDiv();
- captionWrap.addClassName("v");
+ captionWrap.addClassName(BaseTheme.UI_WIDGET);
captionWrap.addClassName("v-has-caption");
getElement().appendChild(captionWrap);
captionWrap.appendChild(getWidget().getElement());