public class ChangeConceptToSynonymOperation extends AbstractPostTaxonOperation
ChangeConceptToSynonymOperation class.
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CHANGE_CONCEPT_TO_SYNONYM_OPERATION_MULTI_REPS |
protected static java.lang.String |
CHANGE_CONCEPT_TO_SYNONYM_OPERATION_MULTI_REPS_MESSAGE |
parentNodeUuid, taxonNode
element, postOperationEnabled
Constructor and Description |
---|
ChangeConceptToSynonymOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
eu.etaxonomy.cdm.model.taxon.Taxon taxon,
eu.etaxonomy.cdm.model.taxon.Taxon concept,
eu.etaxonomy.cdm.model.name.HomotypicalGroup homotypicalGroup,
IPostOperationEnabled editor)
Constructor for ChangeConceptToSynonymOperation.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
execute(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
redo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
undo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
getSync, setSync
getCdmEntitySessionEnabled, getPostOperationEnabled, postExecute
protected static final java.lang.String CHANGE_CONCEPT_TO_SYNONYM_OPERATION_MULTI_REPS_MESSAGE
protected static final java.lang.String CHANGE_CONCEPT_TO_SYNONYM_OPERATION_MULTI_REPS
public ChangeConceptToSynonymOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, eu.etaxonomy.cdm.model.taxon.Taxon taxon, eu.etaxonomy.cdm.model.taxon.Taxon concept, eu.etaxonomy.cdm.model.name.HomotypicalGroup homotypicalGroup, IPostOperationEnabled editor)
Constructor for ChangeConceptToSynonymOperation.
label
- a String
object.undoContext
- a IUndoContext
object.taxon
- a Taxon
object.concept
- a Taxon
object.homotypicalGroup
- a HomotypicalGroup
object.editor
- a IPostOperationEnabled
object.public org.eclipse.core.runtime.IStatus execute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
execute
in interface org.eclipse.core.commands.operations.IUndoableOperation
execute
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
public org.eclipse.core.runtime.IStatus redo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
redo
in interface org.eclipse.core.commands.operations.IUndoableOperation
redo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
public org.eclipse.core.runtime.IStatus undo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
undo
in interface org.eclipse.core.commands.operations.IUndoableOperation
undo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
Copyright © 2007-2018. All Rights Reserved.