Revision 50257107
Added by Andreas Kohlbecker almost 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/ListViewBean.java | ||
---|---|---|
66 | 66 |
private CssLayout toolBar; |
67 | 67 |
|
68 | 68 |
public ListViewBean() { |
69 |
|
|
70 | 69 |
super(); |
70 |
} |
|
71 | 71 |
|
72 |
@Override |
|
73 |
protected void initContent() { |
|
72 | 74 |
toolBar = new CssLayout(); |
73 | 75 |
toolBar.setWidth(100, Unit.PERCENTAGE); |
74 | 76 |
toolBar.addComponent(new Button("As grid", e -> toggleListType(e))); |
... | ... | |
78 | 80 |
buildGrid(); |
79 | 81 |
|
80 | 82 |
showList(); |
83 |
|
|
81 | 84 |
} |
82 | 85 |
|
83 | 86 |
@Override |
Also available in: Unified diff
seperating out content initialization from View constructors