Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/dialogs/filteredSelection/FilteredClassificationSelectionDialog.java | ||
---|---|---|
22 | 22 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
23 | 23 |
|
24 | 24 |
/** |
25 |
* <p>FilteredClassificationSelectionDialog class.</p> |
|
26 |
* |
|
25 | 27 |
* @author n.hoffmann |
26 | 28 |
* @created Sep 21, 2009 |
27 | 29 |
* @version 1.0 |
... | ... | |
30 | 32 |
AbstractFilteredCdmResourceSelectionDialog<TaxonomicTree> { |
31 | 33 |
|
32 | 34 |
/** |
33 |
* @param taxon |
|
34 |
* @return |
|
35 |
*/ |
|
35 |
* <p>select</p> |
|
36 |
* |
|
37 |
* @param shell a {@link org.eclipse.swt.widgets.Shell} object. |
|
38 |
* @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object. |
|
39 |
* @return a {@link eu.etaxonomy.cdm.model.taxon.TaxonomicTree} object. |
|
40 |
*/ |
|
36 | 41 |
public static TaxonomicTree select(Shell shell, ConversationHolder conversation) { |
37 | 42 |
FilteredClassificationSelectionDialog dialog = new FilteredClassificationSelectionDialog(shell, conversation, |
38 | 43 |
"Choose a Classification", false, "", null); |
... | ... | |
40 | 45 |
} |
41 | 46 |
|
42 | 47 |
/** |
43 |
* @param shell |
|
44 |
* @param title |
|
45 |
* @param multi |
|
46 |
* @param settings |
|
48 |
* <p>Constructor for FilteredClassificationSelectionDialog.</p> |
|
49 |
* |
|
50 |
* @param shell a {@link org.eclipse.swt.widgets.Shell} object. |
|
51 |
* @param title a {@link java.lang.String} object. |
|
52 |
* @param multi a boolean. |
|
53 |
* @param settings a {@link java.lang.String} object. |
|
54 |
* @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object. |
|
55 |
* @param classification a {@link eu.etaxonomy.cdm.model.taxon.TaxonomicTree} object. |
|
47 | 56 |
*/ |
48 | 57 |
protected FilteredClassificationSelectionDialog(Shell shell, ConversationHolder conversation, String title, |
49 | 58 |
boolean multi, String settings, TaxonomicTree classification) { |
... | ... | |
53 | 62 |
/* (non-Javadoc) |
54 | 63 |
* @see org.eclipse.ui.dialogs.FilteredItemsSelectionDialog#createExtendedContentArea(org.eclipse.swt.widgets.Composite) |
55 | 64 |
*/ |
65 |
/** {@inheritDoc} */ |
|
56 | 66 |
@Override |
57 | 67 |
protected Control createExtendedContentArea(Composite parent) { |
58 | 68 |
// TODO Auto-generated method stub |
... | ... | |
62 | 72 |
/* (non-Javadoc) |
63 | 73 |
* @see eu.etaxonomy.taxeditor.dialogs.AbstractFilteredCdmResourceSelectionDialog#getPersistentObject(java.util.UUID) |
64 | 74 |
*/ |
75 |
/** {@inheritDoc} */ |
|
65 | 76 |
@Override |
66 | 77 |
protected TaxonomicTree getPersistentObject(UUID cdmUuid) { |
67 | 78 |
return CdmStore.getTaxonTreeService().getTaxonomicTreeByUuid(cdmUuid); |
... | ... | |
70 | 81 |
/* (non-Javadoc) |
71 | 82 |
* @see eu.etaxonomy.taxeditor.dialogs.AbstractFilteredCdmResourceSelectionDialog#initModel() |
72 | 83 |
*/ |
84 |
/** {@inheritDoc} */ |
|
73 | 85 |
@Override |
74 | 86 |
protected void initModel() { |
75 | 87 |
model = CdmStore.getTaxonTreeService().getUuidAndTitleCache(); |
76 | 88 |
} |
77 | 89 |
|
90 |
/** {@inheritDoc} */ |
|
78 | 91 |
@Override |
79 | 92 |
protected AbstractNewEntityWizard getNewEntityWizard() { |
80 | 93 |
// TODO Auto-generated method stub |
81 | 94 |
return null; |
82 | 95 |
} |
83 | 96 |
|
97 |
/** {@inheritDoc} */ |
|
84 | 98 |
@Override |
85 | 99 |
protected String getNewWizardLinkText() { |
86 | 100 |
// TODO Auto-generated method stub |
Also available in: Unified diff
performed javacscript:fix and worked on documentation