From f5099e517b29657e4f451f5948cea3895f1fccb6 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 11 Apr 2012 21:55:57 +0300 Subject: [PATCH] Removed deprecated interface (#8169) --- src/com/vaadin/event/ItemClickEvent.java | 14 -------------- src/com/vaadin/ui/Table.java | 5 ++--- src/com/vaadin/ui/Tree.java | 4 +--- 3 files changed, 3 insertions(+), 20 deletions(-) diff --git a/src/com/vaadin/event/ItemClickEvent.java b/src/com/vaadin/event/ItemClickEvent.java index c503f8f9c9..bb41398e8d 100644 --- a/src/com/vaadin/event/ItemClickEvent.java +++ b/src/com/vaadin/event/ItemClickEvent.java @@ -6,7 +6,6 @@ package com.vaadin.event; import java.io.Serializable; import java.lang.reflect.Method; -import com.vaadin.data.Container; import com.vaadin.data.Item; import com.vaadin.data.Property; import com.vaadin.event.MouseEvents.ClickEvent; @@ -83,19 +82,6 @@ public class ItemClickEvent extends ClickEvent implements Serializable { public void itemClick(ItemClickEvent event); } - /** - * Components implementing - * - * @link {@link Container} interface may support emitting - * {@link ItemClickEvent}s. - * - * @deprecated Use {@link ItemClickNotifier} instead. ItemClickSource was - * deprecated in version 6.5. - */ - @Deprecated - public interface ItemClickSource extends ItemClickNotifier { - } - /** * The interface for adding and removing ItemClickEvent * listeners. By implementing this interface a class explicitly announces diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java index cfb3762164..0658c4e6a5 100644 --- a/src/com/vaadin/ui/Table.java +++ b/src/com/vaadin/ui/Table.java @@ -34,7 +34,6 @@ import com.vaadin.event.DataBoundTransferable; import com.vaadin.event.ItemClickEvent; import com.vaadin.event.ItemClickEvent.ItemClickListener; import com.vaadin.event.ItemClickEvent.ItemClickNotifier; -import com.vaadin.event.ItemClickEvent.ItemClickSource; import com.vaadin.event.MouseEvents.ClickEvent; import com.vaadin.event.dd.DragAndDropEvent; import com.vaadin.event.dd.DragSource; @@ -76,8 +75,8 @@ import com.vaadin.terminal.gwt.client.ui.table.VScrollTable; */ @SuppressWarnings({ "deprecation" }) public class Table extends AbstractSelect implements Action.Container, - Container.Ordered, Container.Sortable, ItemClickSource, - ItemClickNotifier, DragSource, DropTarget, HasComponents { + Container.Ordered, Container.Sortable, ItemClickNotifier, DragSource, + DropTarget, HasComponents { private static final Logger logger = Logger .getLogger(Table.class.getName()); diff --git a/src/com/vaadin/ui/Tree.java b/src/com/vaadin/ui/Tree.java index e26dfc74a4..db738fee58 100644 --- a/src/com/vaadin/ui/Tree.java +++ b/src/com/vaadin/ui/Tree.java @@ -28,7 +28,6 @@ import com.vaadin.event.DataBoundTransferable; import com.vaadin.event.ItemClickEvent; import com.vaadin.event.ItemClickEvent.ItemClickListener; import com.vaadin.event.ItemClickEvent.ItemClickNotifier; -import com.vaadin.event.ItemClickEvent.ItemClickSource; import com.vaadin.event.Transferable; import com.vaadin.event.dd.DragAndDropEvent; import com.vaadin.event.dd.DragSource; @@ -62,8 +61,7 @@ import com.vaadin.tools.ReflectTools; */ @SuppressWarnings({ "serial", "deprecation" }) public class Tree extends AbstractSelect implements Container.Hierarchical, - Action.Container, ItemClickSource, ItemClickNotifier, DragSource, - DropTarget { + Action.Container, ItemClickNotifier, DragSource, DropTarget { /* Private members */ -- 2.39.5