Project

General

Profile

« Previous | Next » 

Revision 432276e4

Added by Katja Luther over 5 years ago

ref #7849: harmonize admin and local preferences for distribution editor and use drop down instead of radio buttons

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/LanguageRepresentationPreferencePage.java
14 14
import org.eclipse.swt.SWT;
15 15
import org.eclipse.swt.events.SelectionAdapter;
16 16
import org.eclipse.swt.events.SelectionEvent;
17
import org.eclipse.swt.layout.GridData;
18 17
import org.eclipse.swt.layout.GridLayout;
19 18
import org.eclipse.swt.layout.RowLayout;
20 19
import org.eclipse.swt.widgets.Button;
......
37 36
	private boolean isMultilanguageTextEditingCapability;
38 37
	private Language globalLanguage;
39 38

  
40
	private Composite createComposite(Composite parent){
41
		Composite composite = new Composite(parent, SWT.NULL);
42
		composite.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 2, 1));
43
		composite.setLayout(new RowLayout(SWT.HORIZONTAL));
44
		return composite;
45
	}
39
//	private Composite createComposite(Composite parent){
40
//		Composite composite = new Composite(parent, SWT.NULL);
41
//		composite.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 2, 1));
42
//		composite.setLayout(new RowLayout(SWT.HORIZONTAL));
43
//		return composite;
44
//	}
46 45

  
47 46
	@Override
48 47
	protected Control createContents(Composite parent) {

Also available in: Unified diff