Revision 3f5ed758
Added by Andreas Müller almost 2 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/operation/CdmDefaultOperation.java | ||
---|---|---|
19 | 19 |
/** |
20 | 20 |
* @author cmathew |
21 | 21 |
* @date 21 Jul 2015 |
22 |
* |
|
23 | 22 |
*/ |
24 | 23 |
public abstract class CdmDefaultOperation extends CdmOperation { |
25 | 24 |
|
... | ... | |
28 | 27 |
public CdmDefaultOperation(String label, Action action, Object source, boolean async) { |
29 | 28 |
super(label, action, source, async); |
30 | 29 |
} |
31 |
/* (non-Javadoc) |
|
32 |
* @see eu.etaxonomy.taxeditor.operation.RemotingCdmOperation#doExecute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
|
33 |
*/ |
|
30 |
|
|
34 | 31 |
@Override |
35 | 32 |
protected boolean doExecute(IProgressMonitor monitor, IAdaptable info) { |
36 | 33 |
try { |
... | ... | |
48 | 45 |
if(success && cdmEntity != null) { |
49 | 46 |
fireDataChangeEvent(cdmEntity); |
50 | 47 |
} |
51 |
|
|
52 | 48 |
} |
53 |
/* (non-Javadoc) |
|
54 |
* @see eu.etaxonomy.taxeditor.operation.RemotingCdmOperation#onComplete(boolean) |
|
55 |
*/ |
|
49 |
|
|
56 | 50 |
@Override |
57 | 51 |
protected IStatus onComplete(boolean success) { |
58 | 52 |
return Status.OK_STATUS; |
59 | 53 |
} |
60 |
|
|
61 |
} |
|
54 |
} |
Also available in: Unified diff
cleanup