Scheduler.get().scheduleFixedDelay(new RepeatingCommand() {
public boolean execute() {
if (!client.hasActiveRequest()) {
- removeActiveSourceClassname(dragSource);
+ removeActiveDragSourceStyleName(dragSource);
return false;
}
return true;
* the server visit is done.
*/
if (!sendTransferableToServer && currentDrag != null) {
- removeActiveSourceClassname(currentDrag.getTransferable()
+ removeActiveDragSourceStyleName(currentDrag.getTransferable()
.getDragSource());
}
}
- private void removeActiveSourceClassname(Paintable dragSource) {
+ private void removeActiveDragSourceStyleName(Paintable dragSource) {
((Widget) dragSource).removeStyleName(ACTIVE_DRAG_SOURCE_STYLENAME);
}