Checkstyle

This commit is contained in:
Moritz Dieing 2021-01-31 14:14:06 +01:00
parent e8baff88a0
commit b7870e0e78
3 changed files with 13 additions and 13 deletions

View File

@ -101,12 +101,12 @@
"@vaadin/vaadin-time-picker": "2.4.0",
"@vaadin/vaadin-context-menu": "4.5.0",
"@vaadin/vaadin-avatar": "1.0.3",
"@vaadin-component-factory/vcf-tooltip": "1.3.13",
"@vaadin/vaadin-radio-button": "1.5.1",
"@vaadin/vaadin-tabs": "3.2.0",
"@vaadin/vaadin-lumo-styles": "1.6.0",
"@vaadin/vaadin-material-styles": "1.3.2",
"open": "^7.2.1"
"open": "^7.2.1",
"@vaadin-component-factory/vcf-tooltip": "1.3.13"
},
"devDependencies": {
"compression-webpack-plugin": "4.0.1",

View File

@ -28,18 +28,18 @@ public class InfoDialog extends Dialog implements LocaleChangeObserver {
* Creates new InfoDialog.
*/
protected InfoDialog() {
heading = new H4(getTranslation("root.inputSyntax"));
HorizontalLayout infoHeader = new HorizontalLayout(heading);
infoHeader.setId(INFO_HEADER_ID);
heading = new H4(getTranslation("root.inputSyntax"));
HorizontalLayout infoHeader = new HorizontalLayout(heading);
infoHeader.setId(INFO_HEADER_ID);
//TODO fill with content
VerticalLayout infoContent = new VerticalLayout();
infoContent.setId(INFO_CONTENT_ID);
add(infoHeader, infoContent);
//TODO fill with content
VerticalLayout infoContent = new VerticalLayout();
infoContent.setId(INFO_CONTENT_ID);
add(infoHeader, infoContent);
}
@Override
public void localeChange(LocaleChangeEvent event) {
heading.setText(getTranslation("root.inputSyntax"));
heading.setText(getTranslation("root.inputSyntax"));
}
}

View File

@ -85,8 +85,8 @@ public class InputBar extends HorizontalLayout implements LocaleChangeObserver {
}
private void onInfoIconClick() {
final Dialog infoDialog = new InfoDialog();
infoDialog.open();
final Dialog infoDialog = new InfoDialog();
infoDialog.open();
}
@Override