Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/VocabularyTermWizard.java | ||
---|---|---|
20 | 20 |
import eu.etaxonomy.taxeditor.store.TermStore; |
21 | 21 |
|
22 | 22 |
/** |
23 |
* <p>VocabularyTermWizard class.</p> |
|
24 |
* |
|
23 | 25 |
* @author n.hoffmann |
24 | 26 |
* @created 12.06.2009 |
25 | 27 |
* @version 1.0 |
... | ... | |
33 | 35 |
private Class<T> termClass; |
34 | 36 |
|
35 | 37 |
/** |
36 |
* |
|
38 |
* <p>Constructor for VocabularyTermWizard.</p> |
|
39 |
* |
|
40 |
* @param vocabularyClass a {@link java.lang.Class} object. |
|
37 | 41 |
*/ |
38 | 42 |
public VocabularyTermWizard(Class<T> vocabularyClass){ |
39 | 43 |
this.termClass = vocabularyClass; |
40 | 44 |
} |
41 | 45 |
|
42 | 46 |
/** |
43 |
* |
|
44 |
* @param selectedFeature |
|
47 |
* <p>Constructor for VocabularyTermWizard.</p> |
|
48 |
* |
|
49 |
* @param vocabularyClass a {@link java.lang.Class} object. |
|
50 |
* @param selectedTerm a T object. |
|
45 | 51 |
*/ |
46 | 52 |
public VocabularyTermWizard(Class<T> vocabularyClass, T selectedTerm){ |
47 | 53 |
this(vocabularyClass); |
... | ... | |
52 | 58 |
/* (non-Javadoc) |
53 | 59 |
* @see org.eclipse.jface.wizard.Wizard#addPages() |
54 | 60 |
*/ |
61 |
/** {@inheritDoc} */ |
|
55 | 62 |
@Override |
56 | 63 |
public void addPages() { |
57 | 64 |
super.addPages(); |
... | ... | |
62 | 69 |
/* (non-Javadoc) |
63 | 70 |
* @see org.eclipse.jface.wizard.Wizard#performFinish() |
64 | 71 |
*/ |
72 |
/** {@inheritDoc} */ |
|
65 | 73 |
@Override |
66 | 74 |
public boolean performFinish() { |
67 | 75 |
|
... | ... | |
79 | 87 |
} |
80 | 88 |
|
81 | 89 |
/** |
82 |
* |
|
83 |
* @param term |
|
90 |
* <p>Setter for the field <code>term</code>.</p> |
|
91 |
* |
|
92 |
* @param term a T object. |
|
84 | 93 |
*/ |
85 | 94 |
public void setTerm(T term) { |
86 | 95 |
this.term = term; |
87 | 96 |
} |
88 | 97 |
|
89 | 98 |
/** |
99 |
* <p>Setter for the field <code>term</code>.</p> |
|
100 |
* |
|
90 | 101 |
* @param text |
91 | 102 |
* @param text2 |
92 | 103 |
* @param text3 |
104 |
* @param label a {@link java.lang.String} object. |
|
105 |
* @param abbreviatedLabel a {@link java.lang.String} object. |
|
93 | 106 |
*/ |
94 | 107 |
public void setTerm(String text, String label, String abbreviatedLabel) { |
95 | 108 |
|
... | ... | |
114 | 127 |
} |
115 | 128 |
|
116 | 129 |
/** |
130 |
* <p>Getter for the field <code>term</code>.</p> |
|
131 |
* |
|
117 | 132 |
* @return the term |
118 | 133 |
*/ |
119 | 134 |
public T getTerm() { |
... | ... | |
121 | 136 |
} |
122 | 137 |
|
123 | 138 |
/** |
139 |
* <p>isEditMode</p> |
|
140 |
* |
|
124 | 141 |
* @return the editMode |
125 | 142 |
*/ |
126 | 143 |
public boolean isEditMode() { |
... | ... | |
128 | 145 |
} |
129 | 146 |
|
130 | 147 |
/** |
131 |
* @return |
|
148 |
* <p>Getter for the field <code>termClass</code>.</p> |
|
149 |
* |
|
150 |
* @return a {@link java.lang.Class} object. |
|
132 | 151 |
*/ |
133 | 152 |
public Class<T> getTermClass() { |
134 | 153 |
return termClass; |
Also available in: Unified diff
performed javacscript:fix and worked on documentation