Class DeleteFormCommandTask
- 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.DeleteFormCommandTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class DeleteFormCommandTask extends BmBasicTask2<Form,FormCommand>
The task deletes a form command from the form. This task is in quality as wrapper overFormCommandManagementService
service.
-
-
Constructor Summary
Constructors Constructor Description DeleteFormCommandTask(FormCommandManagementService service, Form form, FormCommand command, boolean removeRelated)
Creates a new task of removal 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
-
DeleteFormCommandTask
public DeleteFormCommandTask(FormCommandManagementService service, Form form, FormCommand command, boolean removeRelated)
Creates a new task of removal form command.- Parameters:
service
- the management service. Removal happens by using this service.form
- the form in which the deleted attribute belongscommand
- the removal form commandremoveRelated
- the flag setting rules removal of dependent objects. If it istrue
all related objects will be removed, iffalse
then at all related objects the reference to this form command will be cleared
-
-
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>
-
-