Revision c5ed01f6
Added by Katja Luther almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java | ||
---|---|---|
11 | 11 |
import java.util.Map; |
12 | 12 |
import java.util.Set; |
13 | 13 |
|
14 |
import org.eclipse.jface.layout.GridDataFactory; |
|
14 | 15 |
import org.eclipse.jface.util.IPropertyChangeListener; |
15 | 16 |
import org.eclipse.jface.viewers.ISelection; |
16 | 17 |
import org.eclipse.jface.viewers.ISelectionProvider; |
17 | 18 |
import org.eclipse.jface.window.Window; |
19 |
import org.eclipse.nebula.widgets.richtext.RichTextEditor; |
|
18 | 20 |
import org.eclipse.swt.SWT; |
19 | 21 |
import org.eclipse.swt.custom.StyledText; |
20 | 22 |
import org.eclipse.swt.events.FocusAdapter; |
... | ... | |
33 | 35 |
import org.eclipse.swt.widgets.Display; |
34 | 36 |
import org.eclipse.swt.widgets.Event; |
35 | 37 |
import org.eclipse.swt.widgets.Label; |
38 |
import org.eclipse.swt.widgets.Text; |
|
36 | 39 |
import org.eclipse.ui.forms.IFormColors; |
37 | 40 |
import org.eclipse.ui.forms.widgets.ExpandableComposite; |
38 | 41 |
import org.eclipse.ui.forms.widgets.FormToolkit; |
... | ... | |
2989 | 2992 |
return section; |
2990 | 2993 |
} |
2991 | 2994 |
|
2995 |
public RichTextWithLabelElement createRichTextLabelElement(ICdmFormElement parentElement, String labelString, String initialText, int textHeight, int style) { |
|
2996 |
RichTextWithLabelElement element = new RichTextWithLabelElement(this, parentElement, labelString, |
|
2997 |
initialText, textHeight, style); |
|
2998 |
adapt(element); |
|
2999 |
parentElement.addElement(element); |
|
3000 |
return element; |
|
3001 |
} |
|
3002 |
|
|
3003 |
|
|
3004 |
|
|
2992 | 3005 |
|
2993 | 3006 |
|
2994 | 3007 |
|
Also available in: Unified diff
ref #6390: revert some changes and add DetailsViewPart changes