Class CloneFormAttributeTask
- 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.BmBasicTask1<Form>
-
- com._1c.g5.v8.dt.form.service.attribute.CloneFormAttributeTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class CloneFormAttributeTask extends BmBasicTask1<Form>
The task clones an attribute to the form. This task is in quality as wrapper overFormAttributeManagementService
service.
-
-
Constructor Summary
Constructors Constructor Description CloneFormAttributeTask(FormAttributeManagementService managementService, Form form, FormAttribute sourceAttribute, TypeDescription attributeType, AbstractDataPath path, Consumer<FormAttribute> adapter)
Creates a new task of clonning attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(Form form, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask1
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
-
CloneFormAttributeTask
public CloneFormAttributeTask(FormAttributeManagementService managementService, Form form, FormAttribute sourceAttribute, TypeDescription attributeType, AbstractDataPath path, Consumer<FormAttribute> adapter)
Creates a new task of clonning attribute.- Parameters:
managementService
- the management service. Clonning happens by using this service, can't benull
form
- the form in which the cloned attribute will be added, can't benull
sourceAttribute
- it is the attribute to clone, can't benull
attributeType
- the attribute type description, can't benull
path
- source attribute data path, cannot benull
adapter
- form attribute post-processing action, cannot benull
-
-
Method Detail
-
execute
public org.eclipse.core.runtime.IStatus execute(Form form, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBmBasicTask1<Form>
-
-