aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-18 17:43:28 +0300
committerArtur Signell <artur@vaadin.com>2016-08-19 06:25:44 +0000
commit599f6fa601f9cd8cd025061eb97b3e521c5b65c2 (patch)
tree6e679bc789fce8ef4cbc1019b99d0c66ecdd126d /server/src/main
parent1b73770105899b9015ff6685e7d6674934336ca4 (diff)
downloadvaadin-framework-599f6fa601f9cd8cd025061eb97b3e521c5b65c2.tar.gz
vaadin-framework-599f6fa601f9cd8cd025061eb97b3e521c5b65c2.zip
Remove dependencies from core framework to old componnets
Change-Id: I4667d58ee54c8fda5af0608e232e403c4f8e424b
Diffstat (limited to 'server/src/main')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractComponent.java3
-rw-r--r--server/src/main/java/com/vaadin/ui/Component.java15
-rw-r--r--server/src/main/java/com/vaadin/ui/LoginForm.java1
-rw-r--r--server/src/main/java/com/vaadin/ui/themes/ValoTheme.java3
4 files changed, 9 insertions, 13 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractComponent.java b/server/src/main/java/com/vaadin/ui/AbstractComponent.java
index 4e7cb19b74..536e831d87 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractComponent.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractComponent.java
@@ -62,7 +62,6 @@ import com.vaadin.shared.util.SharedUtil;
import com.vaadin.ui.declarative.DesignAttributeHandler;
import com.vaadin.ui.declarative.DesignContext;
import com.vaadin.util.ReflectTools;
-import com.vaadin.v7.ui.LegacyField;
/**
* An abstract class that defines default implementation for the
@@ -1334,7 +1333,7 @@ public abstract class AbstractComponent extends AbstractClientConnector
/**
* Gets the {@link ActionManager} used to manage the
- * {@link ShortcutListener}s added to this {@link LegacyField}.
+ * {@link ShortcutListener}s added to this component.
*
* @return the ActionManager in use
*/
diff --git a/server/src/main/java/com/vaadin/ui/Component.java b/server/src/main/java/com/vaadin/ui/Component.java
index ac96c9e2d6..993d88d992 100644
--- a/server/src/main/java/com/vaadin/ui/Component.java
+++ b/server/src/main/java/com/vaadin/ui/Component.java
@@ -30,7 +30,6 @@ import com.vaadin.server.Resource;
import com.vaadin.server.Sizeable;
import com.vaadin.server.VariableOwner;
import com.vaadin.ui.declarative.DesignContext;
-import com.vaadin.v7.ui.LegacyField;
/**
* {@code Component} is the top-level interface that is and must be implemented
@@ -379,8 +378,8 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
/**
* Tests whether the component is in the read-only mode. The user can not
- * change the value of a read-only component. As only {@link AbstractField}
- * or {@link LegacyField} components normally have a value that can be input
+ * change the value of a read-only component. As only {@code AbstractField}
+ * or {@code LegacyField} components normally have a value that can be input
* or changed by the user, this is mostly relevant only to field components,
* though not restricted to them.
*
@@ -406,7 +405,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* can not change the value of a read-only component.
*
* <p>
- * As only {@link AbstractField} or{@link LegacyField} components normally
+ * As only {@code AbstractField} or{@code LegacyField} components normally
* have a value that can be input or changed by the user, this is mostly
* relevant only to field components, though not restricted to them.
* </p>
@@ -1028,14 +1027,14 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
/**
* A sub-interface implemented by components that can obtain input focus.
- * This includes all {@link LegacyField} components as well as some other
- * components, such as {@link Upload}.
+ * This includes all {@code LegacyField} components as well as some other
+ * components, such as {@code Upload}.
*
* <p>
* Focus can be set with {@link #focus()}. This interface does not provide
* an accessor that would allow finding out the currently focused component;
* focus information can be acquired for some (but not all)
- * {@link LegacyField} components through the
+ * {@code LegacyField} components through the
* {@link com.vaadin.event.FieldEvents.FocusListener} and
* {@link com.vaadin.event.FieldEvents.BlurListener} interfaces.
* </p>
@@ -1069,7 +1068,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* <p>
* Notice that this interface does not provide an accessor that would
* allow finding out the currently focused component. Focus information
- * can be acquired for some (but not all) {@link LegacyField} components
+ * can be acquired for some (but not all) {@code LegacyField} components
* through the {@link com.vaadin.event.FieldEvents.FocusListener} and
* {@link com.vaadin.event.FieldEvents.BlurListener} interfaces.
* </p>
diff --git a/server/src/main/java/com/vaadin/ui/LoginForm.java b/server/src/main/java/com/vaadin/ui/LoginForm.java
index 0cd2b18cf9..d5ec373a43 100644
--- a/server/src/main/java/com/vaadin/ui/LoginForm.java
+++ b/server/src/main/java/com/vaadin/ui/LoginForm.java
@@ -28,7 +28,6 @@ import com.vaadin.server.StreamResource;
import com.vaadin.shared.ui.loginform.LoginFormConstants;
import com.vaadin.shared.ui.loginform.LoginFormRpc;
import com.vaadin.shared.ui.loginform.LoginFormState;
-import com.vaadin.v7.ui.LegacyTextField;
/**
* Login form with auto-completion and auto-fill for all major browsers. You can
diff --git a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java
index 721ce98d7d..c6b1260e93 100644
--- a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java
+++ b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java
@@ -17,7 +17,6 @@ package com.vaadin.ui.themes;
import com.vaadin.server.FontAwesome;
import com.vaadin.ui.Notification.Type;
-import com.vaadin.ui.Table.ColumnHeaderMode;
/**
* <p>
@@ -625,7 +624,7 @@ public class ValoTheme {
/**
* Hide the table column headers (effectively the same as
- * {@link ColumnHeaderMode#HIDDEN}). Can be combined with any other
+ * {@code ColumnHeaderMode.HIDDEN}). Can be combined with any other
* Table/TreeTable style.
*/
public static final String TABLE_NO_HEADER = "no-header";