Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/operations/ToggleUserEnablementOperation.java | ||
---|---|---|
21 | 21 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
22 | 22 |
|
23 | 23 |
/** |
24 |
* <p>ToggleUserEnablementOperation class.</p> |
|
25 |
* |
|
24 | 26 |
* @author n.hoffmann |
25 | 27 |
* @created 02.07.2009 |
26 | 28 |
* @version 1.0 |
... | ... | |
30 | 32 |
private User user; |
31 | 33 |
|
32 | 34 |
/** |
33 |
* @param label |
|
34 |
* @param undoContext |
|
35 |
* @param parentNodeUuid |
|
36 |
* @param postOperationEnabled |
|
35 |
* <p>Constructor for ToggleUserEnablementOperation.</p> |
|
36 |
* |
|
37 |
* @param label a {@link java.lang.String} object. |
|
38 |
* @param undoContext a {@link org.eclipse.core.commands.operations.IUndoContext} object. |
|
39 |
* @param postOperationEnabled a {@link eu.etaxonomy.taxeditor.operations.IPostOperationEnabled} object. |
|
40 |
* @param user a {@link eu.etaxonomy.cdm.model.common.User} object. |
|
41 |
* @param conversationEnabled a {@link eu.etaxonomy.cdm.api.conversation.IConversationEnabled} object. |
|
37 | 42 |
*/ |
38 | 43 |
public ToggleUserEnablementOperation(String label, IUndoContext undoContext, |
39 | 44 |
User user, IPostOperationEnabled postOperationEnabled, IConversationEnabled conversationEnabled) { |
... | ... | |
44 | 49 |
/* (non-Javadoc) |
45 | 50 |
* @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
46 | 51 |
*/ |
52 |
/** {@inheritDoc} */ |
|
47 | 53 |
@Override |
48 | 54 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) |
49 | 55 |
throws ExecutionException { |
... | ... | |
62 | 68 |
/* (non-Javadoc) |
63 | 69 |
* @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
64 | 70 |
*/ |
71 |
/** {@inheritDoc} */ |
|
65 | 72 |
@Override |
66 | 73 |
public IStatus redo(IProgressMonitor monitor, IAdaptable info) |
67 | 74 |
throws ExecutionException { |
... | ... | |
71 | 78 |
/* (non-Javadoc) |
72 | 79 |
* @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
73 | 80 |
*/ |
81 |
/** {@inheritDoc} */ |
|
74 | 82 |
@Override |
75 | 83 |
public IStatus undo(IProgressMonitor monitor, IAdaptable info) |
76 | 84 |
throws ExecutionException { |
Also available in: Unified diff
performed javacscript:fix and worked on documentation