- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 30 of file WarningsVM.java.
◆ WarningsVM()
org.turro.warnings.WarningsVM.WarningsVM |
( |
| ) |
|
◆ getModel()
GroupsModel<IWarning, Object, Object> org.turro.warnings.WarningsVM.getModel |
( |
| ) |
|
Definition at line 35 of file WarningsVM.java.
36 List<List<IWarning>> data =
new ArrayList<>();
37 List<String> headers =
new ArrayList<>();
39 for(IElephantWarning iew : ElephantWarnings.getWarnings()) {
40 List<IWarning> warnings = iew.getWarnings();
41 if(!warnings.isEmpty()) {
42 headers.add(iew.getHeader());
47 return new SimpleGroupsModel<>(data, headers);
The documentation for this class was generated from the following file: