From 812e7f03c1bc5cb7bd5c9894d8b7ec04b4d5212a Mon Sep 17 00:00:00 2001
From: Kirill Bulatov
Date: Fri, 28 Sep 2018 13:53:46 +0300
Subject: [PATCH] Update java wrapper to stable version (#23)
---
.../GeneratedVaadinContextMenu.java | 48 ++++++++++---------
1 file changed, 25 insertions(+), 23 deletions(-)
diff --git a/src/main/java/com/vaadin/flow/component/contextmenu/GeneratedVaadinContextMenu.java b/src/main/java/com/vaadin/flow/component/contextmenu/GeneratedVaadinContextMenu.java
index 72abfb9..13bfb51 100644
--- a/src/main/java/com/vaadin/flow/component/contextmenu/GeneratedVaadinContextMenu.java
+++ b/src/main/java/com/vaadin/flow/component/contextmenu/GeneratedVaadinContextMenu.java
@@ -1,12 +1,12 @@
/*
- * Copyright 2000-2017 Vaadin Ltd.
- *
+ * Copyright 2000-2018 Vaadin Ltd.
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -16,16 +16,18 @@
package com.vaadin.flow.component.contextmenu;
import javax.annotation.Generated;
-import com.vaadin.flow.component.Tag;
-import com.vaadin.flow.component.dependency.HtmlImport;
-import com.vaadin.flow.component.HasStyle;
+
import com.vaadin.flow.component.ClickNotifier;
-import com.vaadin.flow.component.Synchronize;
-import elemental.json.JsonObject;
+import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.ComponentEvent;
import com.vaadin.flow.component.ComponentEventListener;
+import com.vaadin.flow.component.HasStyle;
+import com.vaadin.flow.component.Synchronize;
+import com.vaadin.flow.component.Tag;
+import com.vaadin.flow.component.dependency.HtmlImport;
import com.vaadin.flow.shared.Registration;
-import com.vaadin.flow.component.Component;
+
+import elemental.json.JsonObject;
/**
*
@@ -135,8 +137,8 @@
* how to apply styles for shadow parts
*
*/
-@Generated({ "Generator: com.vaadin.generator.ComponentGenerator#1.0-SNAPSHOT",
- "WebComponent: Vaadin.ContextMenuElement#4.0.1", "Flow#1.0-SNAPSHOT" })
+@Generated({ "Generator: com.vaadin.generator.ComponentGenerator#1.1-SNAPSHOT",
+ "WebComponent: Vaadin.ContextMenuElement#4.1.0", "Flow#1.1-SNAPSHOT" })
@Tag("vaadin-context-menu")
@HtmlImport("frontend://bower_components/vaadin-context-menu/src/vaadin-context-menu.html")
public abstract class GeneratedVaadinContextMenu>
@@ -153,7 +155,7 @@ public abstract class GeneratedVaadinContextMenu
- *
+ *
* @return the {@code selector} property from the webcomponent
*/
protected String getSelectorString() {
@@ -168,7 +170,7 @@ protected String getSelectorString() {
* CSS selector that can be used to target any child element of the context
* menu to listen for {@code openOn} events.
*
- *
+ *
* @param selector
* the String value to set
*/
@@ -186,7 +188,7 @@ protected void setSelector(String selector) {
* This property is synchronized automatically from client side when a
* 'opened-changed' event happens.
*
- *
+ *
* @return the {@code opened} property from the webcomponent
*/
@Synchronize(property = "opened", value = "opened-changed")
@@ -204,7 +206,7 @@ protected boolean isOpenedBoolean() {
* This property is not synchronized automatically from the client side, so
* the returned value may not be the same as in client side.
*
- *
+ *
* @return the {@code openOn} property from the webcomponent
*/
protected String getOpenOnString() {
@@ -218,7 +220,7 @@ protected String getOpenOnString() {
*
* Event name to listen for opening the context menu.
*
- *
+ *
* @param openOn
* the String value to set
*/
@@ -238,7 +240,7 @@ protected void setOpenOn(String openOn) {
* This property is not synchronized automatically from the client side, so
* the returned value may not be the same as in client side.
*
- *
+ *
* @return the {@code listenOn} property from the webcomponent
*/
protected JsonObject getListenOnJsonObject() {
@@ -254,7 +256,7 @@ protected JsonObject getListenOnJsonObject() {
* default the vaadin-context-menu listens to the target's
* {@code vaadin-contextmenu} events.
*
- *
+ *
* @param listenOn
* the JsonObject value to set
*/
@@ -272,7 +274,7 @@ protected void setListenOn(JsonObject listenOn) {
* This property is not synchronized automatically from the client side, so
* the returned value may not be the same as in client side.
*
- *
+ *
* @return the {@code closeOn} property from the webcomponent
*/
protected String getCloseOnString() {
@@ -286,7 +288,7 @@ protected String getCloseOnString() {
*
* Event name to listen for closing the context menu.
*
- *
+ *
* @param closeOn
* the String value to set
*/
@@ -335,7 +337,7 @@ public boolean isOpened() {
/**
* Adds a listener for {@code opened-changed} events fired by the
* webcomponent.
- *
+ *
* @param listener
* the listener
* @return a {@link Registration} for removing the event listener
@@ -348,4 +350,4 @@ protected Registration addOpenedChangeListener(
new OpenedChangeEvent((R) this,
event.isUserOriginated())));
}
-}
\ No newline at end of file
+}