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/SwapSynonymAndAcceptedOperation.java
23 23
import eu.etaxonomy.taxeditor.store.StoreUtil;
24 24

  
25 25
/**
26
 * <p>SwapSynonymAndAcceptedOperation class.</p>
27
 *
26 28
 * @author n.hoffmann
27 29
 * @created 23.04.2009
28 30
 * @version 1.0
......
34 36
	private SynonymRelationshipType synonymRelationshipType;
35 37
	
36 38
	/**
37
	 * @param label
38
	 * @param undoContext
39
	 * @param taxon
40
	 * @param postOperationEnabled
39
	 * <p>Constructor for SwapSynonymAndAcceptedOperation.</p>
40
	 *
41
	 * @param label a {@link java.lang.String} object.
42
	 * @param undoContext a {@link org.eclipse.core.commands.operations.IUndoContext} object.
43
	 * @param taxon a {@link eu.etaxonomy.cdm.model.taxon.Taxon} object.
44
	 * @param postOperationEnabled a {@link eu.etaxonomy.taxeditor.operations.IPostOperationEnabled} object.
45
	 * @param synonym a {@link eu.etaxonomy.cdm.model.taxon.Synonym} object.
41 46
	 */
42 47
	public SwapSynonymAndAcceptedOperation(String label, IUndoContext undoContext,
43 48
			Taxon taxon, Synonym synonym, IPostOperationEnabled postOperationEnabled) {
......
49 54
	/* (non-Javadoc)
50 55
	 * @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
51 56
	 */
57
	/** {@inheritDoc} */
52 58
	@Override
53 59
	public IStatus execute(IProgressMonitor monitor, IAdaptable info)
54 60
			throws ExecutionException {
......
65 71
	/* (non-Javadoc)
66 72
	 * @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
67 73
	 */
74
	/** {@inheritDoc} */
68 75
	@Override
69 76
	public IStatus redo(IProgressMonitor monitor, IAdaptable info)
70 77
			throws ExecutionException {
......
75 82
	/* (non-Javadoc)
76 83
	 * @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
77 84
	 */
85
	/** {@inheritDoc} */
78 86
	@Override
79 87
	public IStatus undo(IProgressMonitor monitor, IAdaptable info)
80 88
			throws ExecutionException {
81 89
		StoreUtil.error(this.getClass(), "Not yet implemented", null);
82 90
		return null;
83 91
	}
84
}
92
}

Also available in: Unified diff