mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 02:40:42 +00:00
Focus new type assumption field
This commit is contained in:
parent
0e1c596702
commit
c6eb794049
@ -62,6 +62,13 @@ public class TypeAssumptionField extends HorizontalLayout implements LocaleChang
|
|||||||
setId(ASSUMPTIONS_FIELD_ID);
|
setId(ASSUMPTIONS_FIELD_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Focus the variable field of this element.
|
||||||
|
*/
|
||||||
|
protected void focus() {
|
||||||
|
variableInputField.focus();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the variable of the type assumption.
|
* Gets the variable of the type assumption.
|
||||||
*
|
*
|
||||||
|
@ -94,6 +94,7 @@ public class TypeAssumptionsArea extends Dialog implements LocaleChangeObserver
|
|||||||
});
|
});
|
||||||
assumptionContainer.add(assumption);
|
assumptionContainer.add(assumption);
|
||||||
fields.add(assumption);
|
fields.add(assumption);
|
||||||
|
assumption.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onDeleteAllClick() {
|
private void onDeleteAllClick() {
|
||||||
|
Loading…
Reference in New Issue
Block a user