diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-24 15:15:45 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-24 15:15:45 +0000 |
commit | 7f09fcfac4d0bd424427cb59403204863f337e12 (patch) | |
tree | b07be31287512c21f2977038a48813910016f83c /src/com/vaadin/event | |
parent | fa397b38e7de75b61dff5b9db0387c23be8c5f74 (diff) | |
download | vaadin-framework-7f09fcfac4d0bd424427cb59403204863f337e12.tar.gz vaadin-framework-7f09fcfac4d0bd424427cb59403204863f337e12.zip |
renaming criteria
svn changeset:12073/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/event')
-rw-r--r-- | src/com/vaadin/event/dd/acceptcriteria/SourceIsTarget.java (renamed from src/com/vaadin/event/dd/acceptcriteria/IsSameSourceAndTarget.java) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/vaadin/event/dd/acceptcriteria/IsSameSourceAndTarget.java b/src/com/vaadin/event/dd/acceptcriteria/SourceIsTarget.java index ac522da999..edee16498a 100644 --- a/src/com/vaadin/event/dd/acceptcriteria/IsSameSourceAndTarget.java +++ b/src/com/vaadin/event/dd/acceptcriteria/SourceIsTarget.java @@ -10,7 +10,7 @@ import com.vaadin.event.Transferable; import com.vaadin.event.TransferableImpl; import com.vaadin.event.dd.DragAndDropEvent; import com.vaadin.event.dd.DropTarget; -import com.vaadin.terminal.gwt.client.ui.dd.VSourceIsSameAsTarget; +import com.vaadin.terminal.gwt.client.ui.dd.VSourceIsTarget; import com.vaadin.ui.Component; import com.vaadin.ui.Table; import com.vaadin.ui.Tree; @@ -26,13 +26,13 @@ import com.vaadin.ui.Tree; * @since 6.3 * */ -@ClientCriterion(VSourceIsSameAsTarget.class) -public class IsSameSourceAndTarget extends ClientSideCriterion { +@ClientCriterion(VSourceIsTarget.class) +public class SourceIsTarget extends ClientSideCriterion { private static final long serialVersionUID = -451399314705532584L; - private static IsSameSourceAndTarget instance = new IsSameSourceAndTarget(); + private static SourceIsTarget instance = new SourceIsTarget(); - private IsSameSourceAndTarget() { + private SourceIsTarget() { } public boolean accept(DragAndDropEvent dragEvent) { @@ -45,7 +45,7 @@ public class IsSameSourceAndTarget extends ClientSideCriterion { return false; } - public static synchronized IsSameSourceAndTarget get() { + public static synchronized SourceIsTarget get() { return instance; } |