Revision fdc9126a
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractCdmDetailSection.java | ||
---|---|---|
60 | 60 |
this(formFactory, null, conversation, parentElement, selectionProvider, style); |
61 | 61 |
} |
62 | 62 |
|
63 |
|
|
64 | 63 |
public AbstractCdmDetailSection(CdmFormFactory formFactory, Class<ENTITY> clazz, |
65 | 64 |
ConversationHolder conversation, ICdmFormElement parentElement, |
66 | 65 |
ISelectionProvider selectionProvider, int style) { |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/AbstractOriginalSourceElement.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.taxeditor.ui.section.supplemental; |
11 | 10 |
|
12 | 11 |
import org.eclipse.swt.SWT; |
... | ... | |
34 | 33 |
* @created Mar 16, 2010 |
35 | 34 |
*/ |
36 | 35 |
public abstract class AbstractOriginalSourceElement<T extends OriginalSourceBase> extends AbstractReferencedEntityElement<T> { |
36 |
|
|
37 | 37 |
protected EnumComboElement<OriginalSourceType> combo_origsourcetype; |
38 | 38 |
protected TextWithLabelElement text_idInSource; |
39 | 39 |
protected TextWithLabelElement text_idNamespace; |
... | ... | |
56 | 56 |
super(formFactory, section, element, removeListener, style); |
57 | 57 |
} |
58 | 58 |
|
59 |
/** |
|
60 |
* {@inheritDoc} |
|
61 |
*/ |
|
62 | 59 |
@Override |
63 | 60 |
public void setEntity(T entity) { |
64 | 61 |
super.setEntity(entity); |
... | ... | |
77 | 74 |
externalLinks.setEntity(entity); |
78 | 75 |
} |
79 | 76 |
|
80 |
/** {@inheritDoc}
|
|
77 |
/** |
|
81 | 78 |
* @wbp.parser.entryPoint*/ |
82 | 79 |
@Override |
83 | 80 |
public void createControls(ICdmFormElement formElement, int style) { |
... | ... | |
96 | 93 |
text_cdmsource = formFactory.createTextWithLabelElement( |
97 | 94 |
formElement, "CDM Source", null, SWT.NULL); |
98 | 95 |
((Text) text_cdmsource.getMainControl()).setEditable(false); |
99 |
|
|
100 | 96 |
} |
101 |
|
|
102 |
|
|
103 | 97 |
} |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/IdentifiableSourceElement.java | ||
---|---|---|
20 | 20 |
/** |
21 | 21 |
* @author n.hoffmann |
22 | 22 |
* @created Nov 16, 2009 |
23 |
* @version 1.0 |
|
24 | 23 |
*/ |
25 | 24 |
public class IdentifiableSourceElement extends AbstractOriginalSourceElement<IdentifiableSource>{ |
26 | 25 |
|
Also available in: Unified diff
cleanup