mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-122616
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import java.util.function.Function;
|
||||
|
||||
class ChoiceBox<T> {
|
||||
static {
|
||||
ChoiceBox<Item> confParamField1 = new ChoiceBox<>("", p -> p.getName());
|
||||
ChoiceBox<Item> confParamField2 = new ChoiceBox<Item>("", p -> p.getName());
|
||||
}
|
||||
|
||||
public ChoiceBox(T... options) {}
|
||||
|
||||
public ChoiceBox(String caption, Function<T, String> itemCaption) {}
|
||||
|
||||
public static class Item {
|
||||
public String getName() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user