mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 10:20:41 +00:00
Checkstyle
This commit is contained in:
parent
e8baff88a0
commit
b7870e0e78
@ -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",
|
||||
|
@ -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);
|
||||
|
||||
//TODO fill with content
|
||||
VerticalLayout infoContent = new VerticalLayout();
|
||||
infoContent.setId(INFO_CONTENT_ID);
|
||||
add(infoHeader, infoContent);
|
||||
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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void localeChange(LocaleChangeEvent event) {
|
||||
heading.setText(getTranslation("root.inputSyntax"));
|
||||
heading.setText(getTranslation("root.inputSyntax"));
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user