diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-24 15:13:24 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-24 15:13:24 +0000 |
commit | fa397b38e7de75b61dff5b9db0387c23be8c5f74 (patch) | |
tree | 186c65d8f8b924bdaf7a4c0a309b9a59d5d8c170 /src/com/vaadin/event | |
parent | 36bc8fe1ea5eba476e28f93e5742d8c15754eaa1 (diff) | |
download | vaadin-framework-fa397b38e7de75b61dff5b9db0387c23be8c5f74.tar.gz vaadin-framework-fa397b38e7de75b61dff5b9db0387c23be8c5f74.zip |
renaming criteria
svn changeset:12072/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/event')
-rw-r--r-- | src/com/vaadin/event/dd/acceptcriteria/TargetDetailIs.java (renamed from src/com/vaadin/event/dd/acceptcriteria/DropTargetDetailEquals.java) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/vaadin/event/dd/acceptcriteria/DropTargetDetailEquals.java b/src/com/vaadin/event/dd/acceptcriteria/TargetDetailIs.java index ceb98bbcee..c20f10667d 100644 --- a/src/com/vaadin/event/dd/acceptcriteria/DropTargetDetailEquals.java +++ b/src/com/vaadin/event/dd/acceptcriteria/TargetDetailIs.java @@ -10,7 +10,7 @@ import com.vaadin.event.dd.DragAndDropEvent; import com.vaadin.event.dd.DropTargetDetails; import com.vaadin.terminal.PaintException; import com.vaadin.terminal.PaintTarget; -import com.vaadin.terminal.gwt.client.ui.dd.VDropDetailEquals; +import com.vaadin.terminal.gwt.client.ui.dd.VTargetDetailIs; /** * Criterion for checking if drop target details contains the specific property @@ -21,8 +21,8 @@ import com.vaadin.terminal.gwt.client.ui.dd.VDropDetailEquals; * TODO add support for other basic data types that we support in UIDL. * */ -@ClientCriterion(VDropDetailEquals.class) -public class DropTargetDetailEquals extends ClientSideCriterion { +@ClientCriterion(VTargetDetailIs.class) +public class TargetDetailIs extends ClientSideCriterion { private static final long serialVersionUID = 763165450054331246L; private String propertyName; @@ -38,12 +38,12 @@ public class DropTargetDetailEquals extends ClientSideCriterion { * the reference value to which the drop target detail will be * compared */ - public DropTargetDetailEquals(String dataFlavor, String value) { + public TargetDetailIs(String dataFlavor, String value) { propertyName = dataFlavor; this.value = value; } - public DropTargetDetailEquals(String dataFlavor, Boolean true1) { + public TargetDetailIs(String dataFlavor, Boolean true1) { propertyName = dataFlavor; value = true1; } @@ -68,6 +68,6 @@ public class DropTargetDetailEquals extends ClientSideCriterion { @Override protected String getIdentifier() { // sub classes by default use VDropDetailEquals a client implementation - return DropTargetDetailEquals.class.getCanonicalName(); + return TargetDetailIs.class.getCanonicalName(); } }
\ No newline at end of file |