From 038f95e1fbcb32d6621a993432ef071ce1d36673 Mon Sep 17 00:00:00 2001 From: Sami Ekblad Date: Wed, 18 Jan 2017 09:09:54 +0200 Subject: Better instructions in widgetset optimization view in the debug window. (#8261) * Better instructions in widgetset optimization view in the debug window. The generated example code is ok, but steps to use them are not obvious. Added more details to debug window instructions to make it clear what steps are needed to optimize the widgetset. Change-Id: Id46632697044223092ef772f98b1fcd69c28d0da --- .../vaadin/client/debug/internal/OptimizedWidgetsetPanel.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/main/java/com/vaadin/client/debug/internal/OptimizedWidgetsetPanel.java b/client/src/main/java/com/vaadin/client/debug/internal/OptimizedWidgetsetPanel.java index ab8307d39e..fb421e8cbc 100644 --- a/client/src/main/java/com/vaadin/client/debug/internal/OptimizedWidgetsetPanel.java +++ b/client/src/main/java/com/vaadin/client/debug/internal/OptimizedWidgetsetPanel.java @@ -55,19 +55,19 @@ public class OptimizedWidgetsetPanel extends FlowPanel { s += Util.escapeHTML(connectorName) + "
"; } - s += "

To make an optimized widgetset based on these connectors, do:

"; - s += "

1. Add to your widgetset.gwt.xml file:

"; + s += "

To make an optimized widgetset based on these connectors:

"; + s += "

1. Add the following to the end of your widgetset.gwt.xml file:

"; s += ""; - s += "

2. Add the following java file to your project:

"; + s += "

2. Add the following code into OptimizedConnectorBundleLoaderFactory.java:

"; s += ""; - s += "

3. Recompile widgetset

"; + s += "

3. Recompile your widgetset. For example with Maven: 'mvn compile vaadin:compile'

"; } -- cgit v1.2.3