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/element/ToggleableTextElement.java
64 64
		addControl(label);
65 65
		
66 66
		container = formFactory.createComposite(getLayoutComposite(), SWT.WRAP);		
67
		container.setLayout(CdmFormFactory.LAYOUT(2, false));
68
		container.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY());
67
		container.setLayout(LayoutConstants.LAYOUT(2, false));
68
		container.setLayoutData(LayoutConstants.FILL_HORIZONTALLY());
69 69
		addControl(container);
70 70
		
71 71
		text_cache = formFactory.createText(container, initialText, SWT.WRAP | SWT.MULTI);
72 72
		addControl(text_cache);
73 73
		text_cache.addModifyListener(this);
74
		text_cache.setLayoutData(CdmFormFactory.FILL());
74
		text_cache.setLayoutData(LayoutConstants.FILL());
75 75

  
76 76
		// Don't accept carriage returns as input
77 77
		text_cache.addKeyListener( new KeyAdapter(){

Also available in: Unified diff