Revision 604e7242
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPart.java | ||
---|---|---|
60 | 60 |
* @author pplitzner |
61 | 61 |
* @since Aug 10, 2017 |
62 | 62 |
*/ |
63 |
public abstract class AbstractCdmEditorPart |
|
63 |
public abstract class AbstractCdmEditorPart<V extends Viewer>
|
|
64 | 64 |
implements IDirtyMarkable, ISelectionElementEditingPart, IPostOperationEnabled{ |
65 | 65 |
|
66 | 66 |
private static final Logger logger = LogManager.getLogger(); |
... | ... | |
158 | 158 |
} |
159 | 159 |
} |
160 | 160 |
|
161 |
protected Viewer viewer;
|
|
161 |
protected V viewer; |
|
162 | 162 |
|
163 | 163 |
protected MPart thisPart; |
164 | 164 |
|
... | ... | |
223 | 223 |
} |
224 | 224 |
} |
225 | 225 |
|
226 |
public Viewer getViewer() {
|
|
226 |
public V getViewer() { |
|
227 | 227 |
return viewer; |
228 | 228 |
} |
229 | 229 |
|
Also available in: Unified diff
add viewer generics to AbstractCdmEditorPart, remove deprecated ViewerSorter and some other cleanup