]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add DesignContext getter to ComponentCreatedEvent (#10943)
authorIlia Motornyi <elmot@vaadin.com>
Tue, 22 May 2018 13:02:35 +0000 (16:02 +0300)
committerGitHub <noreply@github.com>
Tue, 22 May 2018 13:02:35 +0000 (16:02 +0300)
server/src/main/java/com/vaadin/ui/declarative/DesignContext.java

index 745d9f417b5f0a806e93df97d2432cb1c1ebf03a..fdb95d8d61dcff67e5dbe3e3212e1c9316f3ec78 100644 (file)
@@ -729,6 +729,17 @@ public class DesignContext implements Serializable {
         public Component getComponent() {
             return component;
         }
+
+        /**
+         * Returns the new component context.
+         *
+         * @return the context
+         *
+         * @since
+         */
+        public DesignContext getContext() {
+            return context;
+        }
     }
 
     /**