Revision 23783f7a
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/password/EditPasswordElement.java | ||
---|---|---|
24 | 24 |
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement; |
25 | 25 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
26 | 26 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
27 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
|
27 | 28 |
|
28 | 29 |
/** |
29 | 30 |
* @author n.hoffmann |
... | ... | |
54 | 55 |
String buttonLabelString = (labelString != null) ? labelString : "Change Password"; |
55 | 56 |
|
56 | 57 |
button = formFactory.createButton(getLayoutComposite(), buttonLabelString, SWT.PUSH); |
57 |
button.setLayoutData(CdmFormFactory.RIGHT());
|
|
58 |
button.setLayoutData(LayoutConstants.RIGHT());
|
|
58 | 59 |
addControl(button); |
59 | 60 |
|
60 | 61 |
button.addSelectionListener(this); |
Also available in: Unified diff
Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)