Class AddTableTask
- 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.AddTableTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class AddTableTask extends AbstractAddTask
The task adds a new table item.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.form.service.item.task.AbstractAddTask
managementService, NO_INDEX
-
-
Constructor Summary
Constructors Constructor Description AddTableTask(FormItemContainer parent, int index, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the index position of parent.AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumn, int index)
Create a new task which adds an new table to the index position of parent.AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumn, int index, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the index position of parent.AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumn, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the end of parent.AddTableTask(FormItemContainer parent, AbstractDataPath path, int index, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the index position of parent.AddTableTask(FormItemContainer parent, AbstractDataPath path, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the end of parent.AddTableTask(FormItemContainer parent, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the end of parent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.core.runtime.IStatus
add(Form form, FormItemContainer parent)
The method add newFormItem
protected org.eclipse.core.runtime.IStatus
add(Form form, FormItemContainer parent, int index)
The method add newFormItem
-
Methods inherited from class com._1c.g5.v8.dt.form.service.item.task.AbstractAddTask
createTaskName, execute, getItemDescriptor
-
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
-
AddTableTask
public AddTableTask(FormItemContainer parent, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the end of parent.- Parameters:
parent
- the parental container for which the new table will be added. (The parent can not benull
).itemDescriptor
- the item descriptor, can benull
.
-
AddTableTask
public AddTableTask(FormItemContainer parent, AbstractDataPath path, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the end of parent.- Parameters:
parent
- the parental container for which the new table will be added. (The parent can not benull
).the
- path for sets type to tableitemDescriptor
- the item descriptor, can benull
.
-
AddTableTask
public AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumn, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the end of parent.- Parameters:
parent
- the parental container for which the new table will be added. (The parent can not benull
).the
- path for sets type to tablecreateColumn
- the flag for creation of the columns from childrenPropertyInfo
of thepath
PropertyInfo
.itemDescriptor
- the item descriptor, can benull
.
-
AddTableTask
public AddTableTask(FormItemContainer parent, int index, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the index position of parent.- Parameters:
parent
- the parental container for which the new table will be added. (The parent can not benull
).index
- the position index to which will be added a table.itemDescriptor
- the item descriptor, can benull
.
-
AddTableTask
public AddTableTask(FormItemContainer parent, AbstractDataPath path, int index, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the index position of parent.- Parameters:
parent
- the parental container for which the new table will be added. (The parent can not benull
).path
- the path for sets type to table.index
- the position index to which will be added a table.itemDescriptor
- the item descriptor, can benull
.
-
AddTableTask
public AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumn, int index)
Create a new task which adds an new table to the index position of parent.- Parameters:
parent
- the parental container for which the new table will be added. (The parent can not benull
).path
- the path for sets type to table.createColumn
- the flag for creation of the columns from childrenPropertyInfo
of thepath
PropertyInfo
.index
- the position index to which will be added a table.
-
AddTableTask
public AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumn, int index, FormNewItemDescriptor itemDescriptor)
Create a new task which adds an new table to the index position of parent.- Parameters:
parent
- the parental container for which the new table will be added. (The parent can not benull
).path
- the path for sets type to table.createColumn
- the flag for creation of the columns from childrenPropertyInfo
of thepath
PropertyInfo
.index
- the position index to which will be added a table.itemDescriptor
- the item descriptor, can benull
.
-
-
Method Detail
-
add
protected org.eclipse.core.runtime.IStatus add(Form form, FormItemContainer parent)
The method add newFormItem
- Specified by:
add
in 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
protected org.eclipse.core.runtime.IStatus add(Form form, FormItemContainer parent, int index)
The method add newFormItem
- Specified by:
add
in 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.
-
-