Revision cd024235
Added by Katja Luther over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java | ||
---|---|---|
1855 | 1855 |
return section; |
1856 | 1856 |
} |
1857 | 1857 |
|
1858 |
public SingleSourceSection createSingleSourceSection(ConversationHolder conversation, ICdmFormElement parentElement, CdmBase cdmEntity, ISelectionProvider selectionProvider, int style){ |
|
1859 |
SingleSourceSection section = new SingleSourceSection(this, conversation, parentElement, cdmEntity, selectionProvider, style); |
|
1858 |
public SingleSourceSection createSingleSourceSection(ConversationHolder conversation, ICdmFormElement parentElement, CdmBase cdmEntity, ISelectionProvider selectionProvider, String label, int style){
|
|
1859 |
SingleSourceSection section = new SingleSourceSection(this, conversation, parentElement, cdmEntity, selectionProvider, style, label);
|
|
1860 | 1860 |
addAndAdaptSection(parentElement, section); |
1861 | 1861 |
return section; |
1862 | 1862 |
} |
... | ... | |
2205 | 2205 |
addAndAdaptElement(parentElement, element); |
2206 | 2206 |
return element; |
2207 | 2207 |
} |
2208 |
public OriginalSourceElement createOriginalSourceElement(ICdmFormElement parentElement, CdmBase cdmEntity){ |
|
2209 |
OriginalSourceElement element = new OriginalSourceElement(this, parentElement, cdmEntity); |
|
2208 |
public OriginalSourceElement createOriginalSourceElement(ICdmFormElement parentElement, CdmBase cdmEntity, String label){
|
|
2209 |
OriginalSourceElement element = new OriginalSourceElement(this, parentElement, cdmEntity, label);
|
|
2210 | 2210 |
addAndAdaptElement(parentElement, element); |
2211 | 2211 |
return element; |
2212 | 2212 |
} |
... | ... | |
2852 | 2852 |
if (parentElement instanceof DescriptionElementSourceSection){ |
2853 | 2853 |
parent = ((DescriptionElementSourceSection)parentElement).getParent(); |
2854 | 2854 |
} |
2855 |
if(parent != null){ |
|
2856 |
Composite grandParent = parent.getParent(); |
|
2857 |
} |
|
2858 | 2855 |
element = new DescriptionElementSourceElement(this, parentElement, (DescriptionElementSource) entity, |
2859 | 2856 |
removeListener, style, false); |
2860 | 2857 |
} else if (entity instanceof DescriptionElementSource) { |
Also available in: Unified diff
ref #9199: adapt nomenclatural status to original source and layout issues