Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/forms/selection/TaxonBaseSelectionElement.java | ||
---|---|---|
12 | 12 |
import eu.etaxonomy.taxeditor.forms.ICdmFormElement; |
13 | 13 |
|
14 | 14 |
/** |
15 |
* @author nho
|
|
15 |
* <p>TaxonBaseSelectionElement class.</p>
|
|
16 | 16 |
* |
17 |
* @author nho |
|
18 |
* @version $Id: $ |
|
17 | 19 |
*/ |
18 | 20 |
public class TaxonBaseSelectionElement extends AbstractSelectionElement<TaxonBase> { |
19 | 21 |
|
20 | 22 |
/** |
21 |
* @param parent |
|
22 |
* @param labelString |
|
23 |
* @param selection |
|
24 |
* @param style |
|
23 |
* <p>Constructor for TaxonBaseSelectionElement.</p> |
|
24 |
* |
|
25 |
* @param labelString a {@link java.lang.String} object. |
|
26 |
* @param selection a {@link eu.etaxonomy.cdm.model.taxon.TaxonBase} object. |
|
27 |
* @param style a int. |
|
28 |
* @param toolkit a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object. |
|
29 |
* @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object. |
|
30 |
* @param parentElement a {@link eu.etaxonomy.taxeditor.forms.ICdmFormElement} object. |
|
25 | 31 |
*/ |
26 | 32 |
public TaxonBaseSelectionElement(CdmFormFactory toolkit, ConversationHolder conversation, ICdmFormElement parentElement, String labelString, |
27 | 33 |
TaxonBase selection, int style) { |
... | ... | |
30 | 36 |
/* (non-Javadoc) |
31 | 37 |
* @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) |
32 | 38 |
*/ |
39 |
/** {@inheritDoc} */ |
|
33 | 40 |
public void widgetSelected(SelectionEvent e) { |
34 | 41 |
TaxonBase newSelection = FilteredTaxonBaseSelectionDialog.select(getShell(), getConversationHolder()); |
35 | 42 |
setSelectionInternal(newSelection); |
Also available in: Unified diff
performed javacscript:fix and worked on documentation