Package com._1c.g5.v8.dt.md.api
Class ChangeTypeDescriptionTask
- java.lang.Object
-
- com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
-
- com._1c.g5.v8.bm.integration.BmBasicTask
-
- com._1c.g5.v8.bm.integration.BmBasicTask2<org.eclipse.emf.ecore.EObject,TypeDescription>
-
- com._1c.g5.v8.dt.md.api.ChangeTypeDescriptionTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class ChangeTypeDescriptionTask extends BmBasicTask2<org.eclipse.emf.ecore.EObject,TypeDescription>
AnIBmTask
implementation for changing type of anEObject
.
-
-
Constructor Summary
Constructors Constructor Description ChangeTypeDescriptionTask(org.eclipse.emf.ecore.EObject object, TypeDescription type, org.eclipse.emf.ecore.EStructuralFeature featureToChange, IModelEditingSupport editingSupport)
Creates a newChangeTypeDescriptionTask
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(org.eclipse.emf.ecore.EObject object, TypeDescription type, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask2
execute
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransaction
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Constructor Detail
-
ChangeTypeDescriptionTask
public ChangeTypeDescriptionTask(org.eclipse.emf.ecore.EObject object, TypeDescription type, org.eclipse.emf.ecore.EStructuralFeature featureToChange, IModelEditingSupport editingSupport)
Creates a newChangeTypeDescriptionTask
.- Parameters:
object
- is theEObject
to change, cannot benull
type
- is the newTypeDescription
, cannot benull
featureToChange
- is the feature to change, cannot benull
editingSupport
- is the model editing support, cannot benull
-
-
Method Detail
-
execute
public org.eclipse.core.runtime.IStatus execute(org.eclipse.emf.ecore.EObject object, TypeDescription type, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBmBasicTask2<org.eclipse.emf.ecore.EObject,TypeDescription>
-
-