Revision c964d5e8
Added by Patrick Plitzner over 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/dbstatus/AbstractSettingsDialogWindow.java | ||
---|---|---|
36 | 36 |
cancelButton.setImmediate(true); |
37 | 37 |
cancelButton.addStyleName("dialogButton"); |
38 | 38 |
buttonToolBar.addComponent(cancelButton); |
39 |
|
|
39 |
|
|
40 | 40 |
// okButton |
41 | 41 |
okButton = new Button(); |
42 | 42 |
okButton.setCaption("OK"); |
... | ... | |
51 | 51 |
window.setModal(true); |
52 | 52 |
window.setWidth("60%"); |
53 | 53 |
window.setHeight("80%"); |
54 |
window.setCaption("Settings"); |
|
54 |
window.setCaption("Distribution Settings");
|
|
55 | 55 |
window.setContent(mainLayout); |
56 | 56 |
return window; |
57 | 57 |
} |
58 |
|
|
58 |
|
|
59 | 59 |
/** |
60 | 60 |
* Update OK/Cancel button depending on {@link #isValid()} |
61 | 61 |
*/ |
62 | 62 |
protected void updateButtons(){ |
63 | 63 |
okButton.setEnabled(isValid()); |
64 | 64 |
} |
65 |
|
|
65 |
|
|
66 | 66 |
/** |
67 |
* Evaluates if this dialog has all necessary values set in
|
|
67 |
* Evaluates if this dialog has all necessary values set in |
|
68 | 68 |
* a correct state |
69 | 69 |
* @return <code>true</code> if the status of this dialog is valid |
70 | 70 |
*/ |
Also available in: Unified diff
Fix title of distribution settings view