diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-24 16:25:51 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-24 16:25:51 +0000 |
commit | 68d907d504ed62963c08f903f19d5262ef62ab34 (patch) | |
tree | 3f83e844c1680172863c265dbba09238804b1f3e /src/com/vaadin/ui/AbstractSelect.java | |
parent | c8fbcdc7dc02d36ddbcd2cb8ab061d45db04e154 (diff) | |
download | vaadin-framework-68d907d504ed62963c08f903f19d5262ef62ab34.tar.gz vaadin-framework-68d907d504ed62963c08f903f19d5262ef62ab34.zip |
renamed DropTargetDetails... to TargetDetails... Should be just as clear for developer, but looks better in the code examples.
svn changeset:12077/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/ui/AbstractSelect.java')
-rw-r--r-- | src/com/vaadin/ui/AbstractSelect.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/com/vaadin/ui/AbstractSelect.java b/src/com/vaadin/ui/AbstractSelect.java index 42bc93a183..137f415555 100644 --- a/src/com/vaadin/ui/AbstractSelect.java +++ b/src/com/vaadin/ui/AbstractSelect.java @@ -23,7 +23,7 @@ import com.vaadin.event.DataBoundTransferable; import com.vaadin.event.Transferable; import com.vaadin.event.dd.DragAndDropEvent; import com.vaadin.event.dd.DropTarget; -import com.vaadin.event.dd.DropTargetDetailsImpl; +import com.vaadin.event.dd.TargetDetailsImpl; import com.vaadin.event.dd.acceptcriteria.ClientCriterion; import com.vaadin.event.dd.acceptcriteria.ClientSideCriterion; import com.vaadin.event.dd.acceptcriteria.ContainsDataFlavor; @@ -1714,7 +1714,7 @@ public abstract class AbstractSelect extends AbstractField implements } public boolean accept(DragAndDropEvent dragEvent) { - AbstractSelectDropTargetDetails dropTargetData = (AbstractSelectDropTargetDetails) dragEvent + AbstractSelectTargetDetails dropTargetData = (AbstractSelectTargetDetails) dragEvent .getDropTargetDetails(); if (dropTargetData.getTarget() != select) { return false; @@ -1801,12 +1801,12 @@ public abstract class AbstractSelect extends AbstractField implements } /** - * DropTargetDetails implementation for subclasses of {@link AbstractSelect} + * TargetDetails implementation for subclasses of {@link AbstractSelect} * that implement {@link DropTarget}. * * @since 6.3 */ - public class AbstractSelectDropTargetDetails extends DropTargetDetailsImpl { + public class AbstractSelectTargetDetails extends TargetDetailsImpl { /** * The item id over which the drag event happened. @@ -1818,8 +1818,7 @@ public abstract class AbstractSelect extends AbstractField implements * corresponding item Id * */ - protected AbstractSelectDropTargetDetails( - Map<String, Object> rawVariables) { + protected AbstractSelectTargetDetails(Map<String, Object> rawVariables) { super(rawVariables, (DropTarget) AbstractSelect.this); // eagar fetch itemid, mapper may be emptied String keyover = (String) getData("itemIdOver"); |