Revision 6f0224b6
Added by Patrick Plitzner over 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/dbstatus/SettingsConfigWindow.java | ||
---|---|---|
9 | 9 |
*/ |
10 | 10 |
package eu.etaxonomy.cdm.vaadin.view.dbstatus; |
11 | 11 |
|
12 |
import java.sql.SQLException; |
|
13 |
|
|
14 | 12 |
import com.vaadin.data.Container; |
15 | 13 |
import com.vaadin.data.Property.ValueChangeEvent; |
16 | 14 |
import com.vaadin.data.Property.ValueChangeListener; |
... | ... | |
34 | 32 |
import eu.etaxonomy.cdm.model.common.TermVocabulary; |
35 | 33 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
36 | 34 |
import eu.etaxonomy.cdm.vaadin.container.TaxonNodeContainer; |
37 |
import eu.etaxonomy.cdm.vaadin.presenter.dbstatus.DistributionTablePresenter; |
|
38 | 35 |
import eu.etaxonomy.cdm.vaadin.presenter.dbstatus.settings.SettingsPresenter; |
39 | 36 |
|
40 | 37 |
/** |
... | ... | |
112 | 109 |
VaadinSession.getCurrent().setAttribute("taxonNodeUUID", taxonNode.getUuid()); |
113 | 110 |
VaadinSession.getCurrent().setAttribute("selectedTerm", term.getUuid()); |
114 | 111 |
|
115 |
DistributionTableView dtv = new DistributionTableView(); |
|
116 |
try { |
|
117 |
new DistributionTablePresenter(dtv); |
|
118 |
} catch (SQLException e) { |
|
119 |
e.printStackTrace(); |
|
120 |
} |
|
121 |
UI.getCurrent().getNavigator().addView("table", dtv); |
|
122 |
//navigate to table view |
|
123 | 112 |
window.close(); |
124 | 113 |
UI.getCurrent().getNavigator().navigateTo("table"); |
125 | 114 |
} |
Also available in: Unified diff
ref #5458 Do view data binding in enter() method of table view