Skip to content

Commit

Permalink
Move remaining selects and container implementations to compatibility…
Browse files Browse the repository at this point in the history
… package

Because of dependencies also moves
Calendar, ColorPicker, SQLContainer, container filters

Change-Id: I0594cb24f20486ebbca4be578827fea7cdf92108
  • Loading branch information
Artur- committed Aug 19, 2016
1 parent 65370e1 commit fe3dca0
Show file tree
Hide file tree
Showing 158 changed files with 4 additions and 10 deletions.
3 changes: 1 addition & 2 deletions server/src/main/java/com/vaadin/event/dd/DragSource.java
Expand Up @@ -20,7 +20,6 @@
import com.vaadin.event.Transferable;
import com.vaadin.event.dd.acceptcriteria.AcceptCriterion;
import com.vaadin.ui.Component;
import com.vaadin.ui.Tree;

/**
* DragSource is a {@link Component} that builds a {@link Transferable} for a
Expand Down Expand Up @@ -48,7 +47,7 @@ public interface DragSource extends Component {
* the client side. Vaadin developer don't and can't know anything about
* these generated keys, only about item identifiers. When tree node is
* dragged client puts that key to {@link Transferable}s client side
* counterpart. In {@link Tree#getTransferable(Map)} the key is converted
* counterpart. In {@code Tree.getTransferable(Map)} the key is converted
* back to item identifier that the server side developer can use.
* <p>
*
Expand Down
4 changes: 1 addition & 3 deletions server/src/main/java/com/vaadin/event/dd/TargetDetails.java
Expand Up @@ -17,15 +17,13 @@

import java.io.Serializable;

import com.vaadin.ui.Tree.TreeTargetDetails;

/**
* TargetDetails wraps drop target related information about
* {@link DragAndDropEvent}.
* <p>
* When a TargetDetails object is used in {@link DropHandler} it is often
* preferable to cast the TargetDetails to an implementation provided by
* DropTarget like {@link TreeTargetDetails}. They often provide a better typed,
* DropTarget like {@code TreeTargetDetails}. They often provide a better typed,
* drop target specific API.
*
* @since 6.3
Expand Down
Expand Up @@ -32,7 +32,6 @@

import com.vaadin.event.ShortcutAction;
import com.vaadin.server.Resource;
import com.vaadin.ui.AbstractSelect;
import com.vaadin.ui.declarative.converters.DesignDateConverter;
import com.vaadin.ui.declarative.converters.DesignEnumConverter;
import com.vaadin.ui.declarative.converters.DesignObjectConverter;
Expand Down Expand Up @@ -379,7 +378,7 @@ protected <T> LegacyConverter<String, T> findConverterFor(
* </p>
* <p>
* Typically, this method will be used by components to encode data (like
* option items in {@link AbstractSelect}) when dumping to HTML format
* option items in {@code AbstractSelect}) when dumping to HTML format
* </p>
*
* @since 7.5.7
Expand All @@ -403,7 +402,7 @@ public static String encodeForTextNode(String input) {
*
* <p>
* Typically this method will be used by components to read back data (like
* option items in {@link AbstractSelect}) from HTML. Note that this method
* option items in {@code AbstractSelect}) from HTML. Note that this method
* unencodes more characters than {@link #encodeForTextNode(String)} encodes
* </p>
*
Expand Down
Expand Up @@ -10,7 +10,6 @@
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.components.colorpicker.ColorPickerPreview;

public class AddRemoveComponentTest {

Expand All @@ -22,7 +21,6 @@ public void testRemoveComponentFromWrongContainer()

// No default constructor, special case
containerClasses.remove(CustomLayout.class);
containerClasses.remove(ColorPickerPreview.class);
testRemoveComponentFromWrongContainer(new CustomLayout("dummy"));

for (Class<? extends ComponentContainer> c : containerClasses) {
Expand Down

0 comments on commit fe3dca0

Please sign in to comment.