/**
* @author cmathew
* @date 21 Jul 2015
- *
*/
public abstract class CdmDefaultOperation extends CdmOperation {
public CdmDefaultOperation(String label, Action action, Object source, boolean async) {
super(label, action, source, async);
}
- /* (non-Javadoc)
- * @see eu.etaxonomy.taxeditor.operation.RemotingCdmOperation#doExecute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
- */
+
@Override
protected boolean doExecute(IProgressMonitor monitor, IAdaptable info) {
try {
if(success && cdmEntity != null) {
fireDataChangeEvent(cdmEntity);
}
-
}
- /* (non-Javadoc)
- * @see eu.etaxonomy.taxeditor.operation.RemotingCdmOperation#onComplete(boolean)
- */
+
@Override
protected IStatus onComplete(boolean success) {
return Status.OK_STATUS;
}
-
-}
+}
\ No newline at end of file