From f4e437bbb439ef6e51ccda2fc1dbeb9268f43b8a Mon Sep 17 00:00:00 2001 From: anssit Date: Fri, 10 Mar 2017 10:50:18 +0200 Subject: Update JavaDoc for @DesignRoot. (#8805) Emphasise that both location and filename for the design file can be specified in the value parameter. --- server/src/main/java/com/vaadin/annotations/DesignRoot.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/com/vaadin/annotations/DesignRoot.java b/server/src/main/java/com/vaadin/annotations/DesignRoot.java index 4199309d49..c3d25b78b6 100644 --- a/server/src/main/java/com/vaadin/annotations/DesignRoot.java +++ b/server/src/main/java/com/vaadin/annotations/DesignRoot.java @@ -26,10 +26,11 @@ import com.vaadin.ui.declarative.Design; * Marks the component as the root of a design (html) file. *

* Used together with {@link Design#read(com.vaadin.ui.Component)} to be able - * the load the design without further configuration. The design is loaded from - * the same package as the annotated class and by default the design filename is - * derived from the class name. Using the {@link #value()} parameter you can - * specify another design file name. + * the load the design without further configuration. By default, the design + * is loaded from the same package as the annotated class and the design + * filename is derived from the class name. You can override the default + * behaviour by using the {@link #value()} parameter in order to load the + * design from a different package or with a non-default filename. * * @since 7.4 * @author Vaadin Ltd -- cgit v1.2.3