Project

General

Profile

« Previous | Next » 

Revision 23783f7a

Added by Niels Hoffmann about 12 years ago

Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/openurl/OpenUrlSelectorElement.java
17 17
import org.eclipse.swt.events.SelectionListener;
18 18
import org.eclipse.swt.widgets.Button;
19 19
import org.eclipse.swt.widgets.Label;
20
import org.eclipse.ui.editors.text.EditorsUI;
21 20

  
22 21
import eu.etaxonomy.cdm.model.reference.Reference;
23 22
import eu.etaxonomy.taxeditor.store.StoreUtil;
24 23
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement;
25 24
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
26 25
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
26
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants;
27 27

  
28 28
/**
29 29
 * @author n.hoffmann
......
57 57
		addControl(label);
58 58
		
59 59
		button = formFactory.createButton(getLayoutComposite(), labelString, SWT.PUSH);
60
		button.setLayoutData(CdmFormFactory.RIGHT());
60
		button.setLayoutData(LayoutConstants.RIGHT());
61 61
		addControl(button);
62 62
		button.addSelectionListener(this);
63 63
	}
......
84 84
	/**
85 85
	 * @return
86 86
	 */
87
	private String getDetail() {
87
	public String getDetail() {
88 88
		return referenceDetail;
89 89
	}
90 90
	

Also available in: Unified diff