Revision a1fbc94a
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/DateDetailSection.java | ||
---|---|---|
55 | 55 |
text_parseText.getMainControl().setToolTipText(Messages.DateDetail_parseText_tooltip); |
56 | 56 |
partialElement_start = formFactory.createPartialElement(this, |
57 | 57 |
"Start ", null, style); |
58 |
|
|
59 |
period_continue = formFactory.createCheckbox(this, "Continue", false, style); |
|
60 |
period_continue.getMainControl().setLayoutData(LayoutConstants.FILL_HORIZONTALLY(6,1)); |
|
58 | 61 |
partialElement_end = formFactory.createPartialElement(this, "End ", |
59 | 62 |
null, style); |
60 |
period_continue = formFactory.createCheckbox(this, "Continue", false, style); |
|
61 |
period_continue.getMainControl().setLayoutData(LayoutConstants.FILL_HORIZONTALLY(6,1)); |
|
63 |
|
|
62 | 64 |
if (includeVerbatim){ |
63 | 65 |
text_VerbatimDate = formFactory.createTextWithLabelElement(this, |
64 | 66 |
"Verbatim Date", null, style); |
... | ... | |
135 | 137 |
period_continue.setSelection(timePeriod.isContinued()); |
136 | 138 |
if (timePeriod.isContinued()){ |
137 | 139 |
partialElement_end.setEnabled(false); |
140 |
|
|
138 | 141 |
} |
139 | 142 |
((Text) getText_parseText().getMainControl()).setSelection(cursorPosition); |
140 | 143 |
text_freeText.setText(timePeriod.getFreeText()); |
Also available in: Unified diff
fix #7717: color of end fields in partial element are grey if disabled