mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
fixed checkstyle
This commit is contained in:
parent
dc4aaeda0a
commit
edd7d89e9c
@ -67,9 +67,7 @@ public class ShareDialog extends Dialog implements LocaleChangeObserver {
|
||||
latexArea.setClassName(FIELD_CLASS);
|
||||
UI.getCurrent().getPage().executeJs("window.autoSelect($0)", FIELD_CLASS);
|
||||
|
||||
urlField.setReadOnly(true);
|
||||
packageArea.setReadOnly(true);
|
||||
latexArea.setReadOnly(true);
|
||||
setReadOnly();
|
||||
|
||||
layout.add(urlField, packageArea, latexArea);
|
||||
|
||||
@ -84,4 +82,10 @@ public class ShareDialog extends Dialog implements LocaleChangeObserver {
|
||||
packageArea.setLabel(getTranslation("share.packages.label"));
|
||||
latexArea.setLabel(getTranslation("share.latex.label"));
|
||||
}
|
||||
|
||||
private void setReadOnly() {
|
||||
urlField.setReadOnly(true);
|
||||
packageArea.setReadOnly(true);
|
||||
latexArea.setReadOnly(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user