Skip to content
Snippets Groups Projects
Commit e2ae649d authored by Simon Barner's avatar Simon Barner
Browse files

createDecoratedText -> createDecoratedFormText()

parent b4f6a2c9
No related branches found
No related tags found
1 merge request!38Double input format validation: check if the entire string was parsed
......@@ -8,7 +8,7 @@ ModelEditorBindingBase.java 4c5ac569c0b6e7678fc8191096b26dfd09fdcb98 GREEN
ModelElementHandlerBase.java 384727748f125c9d43f19d9c0eba4ba1be5a7a26 GREEN
MultiEObjectActionBase.java 9e237d8ea640c4194e4877af4a9cfce88698e543 GREEN
NamedCommentedModelElementHandlerBase.java 681b98b50b362f01abb7a36f108f4f11b9e51829 GREEN
PropertySectionBase.java abca68908e4fcd097c26c0174bb3a08c8e3921d0 YELLOW
PropertySectionBase.java c2f5c7b815925349f0963cad7a96e6783bb7ee66 YELLOW
TutorialStepUIAtomicBase.java cea2a158158b476de2108d2309afcf47f217b6d9 GREEN
TutorialStepUIAtomicWithWhitelistBase.java a9788ae514f62d27169c737ef59fb583234b5d43 GREEN
TutorialStepUICompositeBase.java 8225210eacb5b88de47d78280c5819f572f00ffa GREEN
......
......@@ -151,21 +151,21 @@ public abstract class PropertySectionBase extends AbstractPropertySection {
protected abstract void setSectionInput(Object input);
/**
* Creates a text widget, which has a {@link ControlDecoration} attached.
* Creates a form text field, which has a {@link ControlDecoration} attached.
* The decoration is stored as widget data for convenience.
*/
protected Text createDecoratedText(String labelText, int style) {
protected Text createDecoratedFormText(String labelText, int style) {
Text text = createFormText(labelText, style);
text.setData(DECORATION_KEY, new ControlDecoration(text, SWT.LEFT | SWT.TOP));
return text;
}
/**
* Creates a text widget, which has a {@link ControlDecoration} attached.
* Creates a form text field, which has a {@link ControlDecoration} attached.
* The decoration is stored as widget data for convenience.
*/
protected Text createDecoratedText(String labelText) {
return createDecoratedText(labelText, SWT.NONE);
protected Text createDecoratedFormText(String labelText) {
return createDecoratedFormText(labelText, SWT.NONE);
}
/** Creates form text field. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment