1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2013 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.taxeditor.operation;
|
11
|
|
12
|
import org.eclipse.core.commands.operations.IUndoContext;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.description.DescriptionBase;
|
15
|
import eu.etaxonomy.cdm.model.description.IDescribable;
|
16
|
import eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy;
|
17
|
|
18
|
/**
|
19
|
* @author pplitzner
|
20
|
* @date 04.12.2013
|
21
|
*
|
22
|
*/
|
23
|
public abstract class AbstractDescriptionPostOperation<T extends IDescribable<D>, D extends DescriptionBase<IIdentifiableEntityCacheStrategy<D>>> extends AbstractPostOperation<T> {
|
24
|
|
25
|
protected D description;
|
26
|
|
27
|
/**
|
28
|
*
|
29
|
*/
|
30
|
public AbstractDescriptionPostOperation(String label, IUndoContext undoContext,
|
31
|
T describable, IPostOperationEnabled postOperationEnabled) {
|
32
|
super(label, undoContext, describable, postOperationEnabled);
|
33
|
}
|
34
|
|
35
|
}
|