Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/operations/CreateNameRelationOperation.java
21 21
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
22 22

  
23 23
/**
24
 * <p>CreateNameRelationOperation class.</p>
25
 *
24 26
 * @author n.hoffmann
25 27
 * @created Mar 30, 2010
26 28
 * @version 1.0
......
31 33
	private TaxonNameBase relatedName;
32 34
	private NameRelationshipType type;
33 35

  
36
	/**
37
	 * <p>Constructor for CreateNameRelationOperation.</p>
38
	 *
39
	 * @param label a {@link java.lang.String} object.
40
	 * @param undoContext a {@link org.eclipse.core.commands.operations.IUndoContext} object.
41
	 * @param taxonBase a {@link eu.etaxonomy.cdm.model.taxon.TaxonBase} object.
42
	 * @param relatedName a {@link eu.etaxonomy.cdm.model.name.TaxonNameBase} object.
43
	 * @param type a {@link eu.etaxonomy.cdm.model.name.NameRelationshipType} object.
44
	 * @param postOperationEnabled a {@link eu.etaxonomy.taxeditor.operations.IPostOperationEnabled} object.
45
	 */
34 46
	public CreateNameRelationOperation(String label, IUndoContext undoContext, TaxonBase taxonBase, TaxonNameBase relatedName, NameRelationshipType type, IPostOperationEnabled postOperationEnabled) {
35 47
		super(label, undoContext, postOperationEnabled);
36 48
		this.taxonBase = taxonBase;
......
41 53
	/* (non-Javadoc)
42 54
	 * @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
43 55
	 */
56
	/** {@inheritDoc} */
44 57
	@Override
45 58
	public IStatus execute(IProgressMonitor monitor, IAdaptable info)
46 59
			throws ExecutionException {
......
55 68
	/* (non-Javadoc)
56 69
	 * @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
57 70
	 */
71
	/** {@inheritDoc} */
58 72
	@Override
59 73
	public IStatus redo(IProgressMonitor monitor, IAdaptable info)
60 74
			throws ExecutionException {
......
64 78
	/* (non-Javadoc)
65 79
	 * @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
66 80
	 */
81
	/** {@inheritDoc} */
67 82
	@Override
68 83
	public IStatus undo(IProgressMonitor monitor, IAdaptable info)
69 84
			throws ExecutionException {

Also available in: Unified diff