From 9f97638b0f75b882b76eeb5d2b95f87bb5263a73 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 23 Nov 2012 11:46:14 +0200 Subject: Refactor BrowserPopupOpener API (#10241) * Rename BrowserPopupOpener to BrowserWindowOpener * Rename setPopupName -> setWindowName * Rename BrowserPopupUIProvider -> BrowserWindowUIProvider * Make BrowserWindowUIProvider a private static inner class Change-Id: Id839b274762424bb50fe3590d7cd1187e92baa6c --- .../shared/ui/BrowserPopupExtensionState.java | 27 --------------------- .../vaadin/shared/ui/BrowserWindowOpenerState.java | 28 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 27 deletions(-) delete mode 100644 shared/src/com/vaadin/shared/ui/BrowserPopupExtensionState.java create mode 100644 shared/src/com/vaadin/shared/ui/BrowserWindowOpenerState.java (limited to 'shared') diff --git a/shared/src/com/vaadin/shared/ui/BrowserPopupExtensionState.java b/shared/src/com/vaadin/shared/ui/BrowserPopupExtensionState.java deleted file mode 100644 index 199de54f8f..0000000000 --- a/shared/src/com/vaadin/shared/ui/BrowserPopupExtensionState.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2012 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 - * License for the specific language governing permissions and limitations under - * the License. - */ - -package com.vaadin.shared.ui; - -import com.vaadin.shared.AbstractComponentState; - -public class BrowserPopupExtensionState extends AbstractComponentState { - - public String target = "_blank"; - - public String features; - -} diff --git a/shared/src/com/vaadin/shared/ui/BrowserWindowOpenerState.java b/shared/src/com/vaadin/shared/ui/BrowserWindowOpenerState.java new file mode 100644 index 0000000000..95e053b925 --- /dev/null +++ b/shared/src/com/vaadin/shared/ui/BrowserWindowOpenerState.java @@ -0,0 +1,28 @@ +/* + * Copyright 2012 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 + * License for the specific language governing permissions and limitations under + * the License. + */ + +package com.vaadin.shared.ui; + +import com.vaadin.shared.AbstractComponentState; + +public class BrowserWindowOpenerState extends AbstractComponentState { + public static final String locationResource = "url"; + + public String target = "_blank"; + + public String features; + +} -- cgit v1.2.3