Class AddFormCommandTask
- 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<Form,FormCommand>
-
- com._1c.g5.v8.dt.form.service.command.AddFormCommandTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class AddFormCommandTask extends BmBasicTask2<Form,FormCommand>
The task adds form command to the form. This task is in quality as wrapper overFormCommandManagementService
service.
-
-
Constructor Summary
Constructors Constructor Description AddFormCommandTask(FormCommandManagementService service, Form form, FormCommand command)
Creates a new task of adding form command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(Form form, FormCommand command, 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
-
AddFormCommandTask
public AddFormCommandTask(FormCommandManagementService service, Form form, FormCommand command)
Creates a new task of adding form command.- Parameters:
service
- the management service. Addition happens by using this service.form
- the form in which the form command will be addedcommand
- it is the added form command
-
-
Method Detail
-
execute
public org.eclipse.core.runtime.IStatus execute(Form form, FormCommand command, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBmBasicTask2<Form,FormCommand>
-
-