Revision 7000c7bf
Added by Andreas Kohlbecker almost 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/reference/ReferencePopupEditor.java | ||
---|---|---|
109 | 109 |
addField(typeSelect, "type", 3, row); |
110 | 110 |
grid.setComponentAlignment(typeSelect, Alignment.TOP_RIGHT); |
111 | 111 |
row++; |
112 |
|
|
112 | 113 |
SwitchableTextField titleCacheField = addSwitchableTextField("Reference cache", "titleCache", "protectedTitleCache", 0, row, GRID_COLS-1, row); |
113 | 114 |
titleCacheField.setWidth(100, Unit.PERCENTAGE); |
114 | 115 |
row++; |
116 |
|
|
115 | 117 |
SwitchableTextField abbrevTitleCacheField = addSwitchableTextField("Abbrev. cache", "abbrevTitleCache", "protectedAbbrevTitleCache", 0, row, GRID_COLS-1, row); |
116 | 118 |
abbrevTitleCacheField.setWidth(100, Unit.PERCENTAGE); |
117 | 119 |
row++; |
120 |
|
|
118 | 121 |
titleField = addTextField("Title", "title", 0, row, GRID_COLS-1, row); |
119 | 122 |
titleField.setWidth(100, Unit.PERCENTAGE); |
120 | 123 |
row++; |
121 | 124 |
addTextField("Nomenclatural title", "abbrevTitle", 0, row, GRID_COLS-1, row).setWidth(100, Unit.PERCENTAGE); |
122 | 125 |
row++; |
126 |
|
|
123 | 127 |
authorshipField = new TeamOrPersonField("Author(s)", TeamOrPersonBaseCaptionGenerator.CacheType.BIBLIOGRAPHIC_TITLE); |
124 | 128 |
authorshipField.setWidth(100, Unit.PERCENTAGE); |
125 | 129 |
addField(authorshipField, "authorship", 0, row, 3, row); |
126 | 130 |
row++; |
127 |
addTextField("Series", "seriesPart", 0, row); |
|
128 |
addTextField("Volume", "volume", 1, row); |
|
129 |
addTextField("Pages", "pages", 2, row); |
|
130 |
addTextField("Editor", "editor", 3, row).setWidth(100, Unit.PERCENTAGE); |
|
131 |
row++; |
|
132 | 131 |
|
133 | 132 |
inReferenceCombobox = new ToOneRelatedEntityCombobox<Reference>("In-reference", Reference.class); |
134 | 133 |
inReferenceCombobox.setWidth(100, Unit.PERCENTAGE); |
... | ... | |
148 | 147 |
}); |
149 | 148 |
addField(inReferenceCombobox, "inReference", 0, row, 3, row); |
150 | 149 |
row++; |
150 |
|
|
151 |
addTextField("Series", "seriesPart", 0, row); |
|
152 |
addTextField("Volume", "volume", 1, row); |
|
153 |
addTextField("Pages", "pages", 2, row); |
|
154 |
addTextField("Editor", "editor", 3, row).setWidth(100, Unit.PERCENTAGE); |
|
155 |
row++; |
|
156 |
|
|
151 | 157 |
addTextField("Place published", "placePublished", 0, row, 1, row).setWidth(100, Unit.PERCENTAGE); |
152 | 158 |
TextField publisherField = addTextField("Publisher", "publisher", 2, row, 3, row); |
153 | 159 |
publisherField.setWidth(100, Unit.PERCENTAGE); |
154 | 160 |
TimePeriodField timePeriodField = new TimePeriodField("Date published"); |
155 | 161 |
addField(timePeriodField, "datePublished"); |
156 | 162 |
row++; |
163 |
|
|
157 | 164 |
addTextField("ISSN", "issn", 0, row); |
158 | 165 |
addTextField("ISBN", "isbn", 1, row); |
159 | 166 |
TextFieldNFix doiField = new TextFieldNFix("DOI"); |
Also available in: Unified diff
moving in-reference up one row in editor