Class AddFieldTask
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<FormItemContainer,Form>
com._1c.g5.v8.dt.form.service.item.task.AbstractAddTask
com._1c.g5.v8.dt.form.service.item.task.AddFieldTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
The task adds a new field item.
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.form.service.item.task.AbstractAddTask
managementService, NO_INDEX -
Constructor Summary
ConstructorsConstructorDescriptionAddFieldTask(FormItemContainer parent, int index, FormNewItemDescriptor itemDescriptor) Create a new task which adds an new field to the index position of parent.AddFieldTask(FormItemContainer parent, AbstractDataPath path, int index) Create a new task which adds an new field to the index position of parent.AddFieldTask(FormItemContainer parent, AbstractDataPath path, int index, FormNewItemDescriptor itemDescriptor) Create a new task which adds an new field to the index position of parent.AddFieldTask(FormItemContainer parent, AbstractDataPath path, FormNewItemDescriptor itemDescriptor) Create a new task which adds an new field to the end of parent.AddFieldTask(FormItemContainer parent, FormNewItemDescriptor itemDescriptor) Create a new task which adds an new field to the end of parent. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.core.runtime.IStatusadd(Form form, FormItemContainer parent) The method add newFormItemprotected org.eclipse.core.runtime.IStatusadd(Form form, FormItemContainer parent, int index) The method add newFormItemMethods inherited from class com._1c.g5.v8.dt.form.service.item.task.AbstractAddTask
createTaskName, execute, getItemDescriptorMethods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask2
executeMethods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransactionMethods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Constructor Details
-
AddFieldTask
Create a new task which adds an new field to the end of parent.- Parameters:
parent- the parental container for which the new field will be added. (The parent can not benull).itemDescriptor- the item descriptor, can benull.
-
AddFieldTask
public AddFieldTask(FormItemContainer parent, AbstractDataPath path, FormNewItemDescriptor itemDescriptor) Create a new task which adds an new field to the end of parent.- Parameters:
parent- the parental container for which the new field will be added. (The parent can not benull).the- path for sets type to fielditemDescriptor- the item descriptor, can benull.
-
AddFieldTask
Create a new task which adds an new field to the index position of parent.- Parameters:
parent- the parental container for which the new field will be added. (The parent can not benull).index- the position index to which will be added a field.itemDescriptor- the item descriptor, can benull.
-
AddFieldTask
Create a new task which adds an new field to the index position of parent.- Parameters:
parent- the parental container for which the new field will be added. (The parent can not benull).path- the path for sets type to fieldindex- the position index to which will be added a field.
-
AddFieldTask
public AddFieldTask(FormItemContainer parent, AbstractDataPath path, int index, FormNewItemDescriptor itemDescriptor) Create a new task which adds an new field to the index position of parent.- Parameters:
parent- the parental container for which the new field will be added. (The parent can not benull).path- the path for sets type to fieldindex- the position index to which will be added a field.itemDescriptor- the item descriptor, can benull.
-
-
Method Details
-
add
The method add newFormItem- Specified by:
addin classAbstractAddTask- Parameters:
form- the form in which there are all objects.parent- the parental element to which the field will be added.- Returns:
- the status of operation.
-
add
The method add newFormItem- Specified by:
addin classAbstractAddTask- Parameters:
form- the form in which there are all objects.parent- the parental element to which the field will be added.index- the position index to which will be added an item.- Returns:
- the status of operation.
-