Parcourir la source

Restore unintended API changes (#17645)

This reverts commit 0ae745206a and
restores a removed public method.

Change-Id: I8eff9668d0a5c49fb63ecea7b0214e478b0aeee8
tags/7.4.5
Teemu Suo-Anttila il y a 9 ans
Parent
révision
2d8f29f643

+ 10
- 0
client/src/com/vaadin/client/ui/VFilterSelect.java Voir le fichier

@@ -730,6 +730,16 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
}
}

/**
* This method became obsolete in fix for
* http://dev.vaadin.com/ticket/16981
*
* @deprecated as of 7.4.4
*/
@Deprecated
public void setKeyboardSelectedItem(MenuItem menuItem) {
// NO-OP
}
}

/**

+ 13
- 0
server/src/com/vaadin/ui/Tree.java Voir le fichier

@@ -1301,6 +1301,19 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
}
}

/**
* Tree does not support lazy options loading mode. Setting this true will
* throw UnsupportedOperationException.
*
* @see com.vaadin.ui.Select#setLazyLoading(boolean)
*/
public void setLazyLoading(boolean useLazyLoading) {
if (useLazyLoading) {
throw new UnsupportedOperationException(
"Lazy options loading is not supported by Tree.");
}
}

private ItemStyleGenerator itemStyleGenerator;

private DropHandler dropHandler;

Chargement…
Annuler
Enregistrer