This commit is contained in:
Dmitry Jemerov
2009-09-10 21:16:49 +04:00
parent db3e3f17de
commit d13d5f3ac8
21 changed files with 16 additions and 4 deletions
@@ -0,0 +1,16 @@
public class FieldTest {
private Object comboBox;
private class NoSelectionComboItem {
public final Object comboBox;
private NoSelectionComboItem() {
comboBox = FieldTest.this.comboBox;
}
public String getLabel() {
Object comboItem = comboBox.getSelectedItem();
return comboItem == this ? "<Please Select>" : "<Back to overview>";
}
}
}