Class AddButtonTask
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.AddButtonTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
The task creates a new button and insert in parent
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.form.service.item.task.AbstractAddTask
managementService, NO_INDEX -
Constructor Summary
ConstructorsConstructorDescriptionAddButtonTask(FormItemContainer parent) Creates a new task.AddButtonTask(FormItemContainer parent, int index) Creates a new task.AddButtonTask(FormItemContainer parent, int index, FormNewItemDescriptor itemDescriptor) Creates a new task.AddButtonTask(FormItemContainer parent, int index, Command command) Creates a new task.AddButtonTask(FormItemContainer parent, int index, Command command, AbstractDataPath path) Creates a new task.AddButtonTask(FormItemContainer parent, int index, Command command, AbstractDataPath path, FormNewItemDescriptor itemDescriptor) Creates a new task.AddButtonTask(FormItemContainer parent, int index, Command command, FormNewItemDescriptor itemDescriptor) Creates a new task.AddButtonTask(FormItemContainer parent, FormNewItemDescriptor itemDescriptor) Creates a new task.AddButtonTask(FormItemContainer parent, Command command) Creates a new task.AddButtonTask(FormItemContainer parent, Command command, AbstractDataPath path) Creates a new BM Task.AddButtonTask(FormItemContainer parent, Command command, AbstractDataPath path, FormNewItemDescriptor itemDescriptor) Creates a new BM Task.AddButtonTask(FormItemContainer parent, Command command, FormNewItemDescriptor itemDescriptor) Creates a new task. -
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
-
AddButtonTask
Creates a new task. Create default button and insert to last position in parent;- Parameters:
parent- the parent
-
AddButtonTask
Creates a new task. Create default button and insert to last position in parent;- Parameters:
parent- the parentitemDescriptor- the item descriptor, can benull
-
AddButtonTask
Creates a new task. Create button with command and insert to last position in parent;- Parameters:
parent- the parentcommand- the command set to button command name (Button#getCommandName())
-
AddButtonTask
public AddButtonTask(FormItemContainer parent, Command command, FormNewItemDescriptor itemDescriptor) Creates a new task. Create button with command and insert to last position in parent;- Parameters:
parent- the parentcommand- the command set to button command name (Button#getCommandName())itemDescriptor- the item descriptor, can benull
-
AddButtonTask
Creates a new BM Task. Create button with a command and a data path after insert to last position in parent;- Parameters:
parent- the parentcommand- the command set to button command name (Button#getCommandName())path- the path set to button data pathButton#getDataPath()
-
AddButtonTask
public AddButtonTask(FormItemContainer parent, Command command, AbstractDataPath path, FormNewItemDescriptor itemDescriptor) Creates a new BM Task. Create button with a command and a data path after insert to last position in parent;- Parameters:
parent- the parentcommand- the command set to button command name (Button#getCommandName())path- the path set to button data pathButton#getDataPath()itemDescriptor- the item descriptor, can benull
-
AddButtonTask
Creates a new task. Create button insert to index position in parent;- Parameters:
parent- the parentindex- position in parent
-
AddButtonTask
Creates a new task. Create button insert to index position in parent;- Parameters:
parent- the parentindex- position in parentitemDescriptor- the item descriptor, can benull
-
AddButtonTask
Creates a new task. Create button with command insert to index position in parent;- Parameters:
parent- the parentindex- position in parentcommand- the command set to button command name (Button#getCommandName())
-
AddButtonTask
public AddButtonTask(FormItemContainer parent, int index, Command command, FormNewItemDescriptor itemDescriptor) Creates a new task. Create button with command insert to index position in parent;- Parameters:
parent- the parentindex- position in parentcommand- the command set to button command name (Button#getCommandName())itemDescriptor- the item descriptor, can benull
-
AddButtonTask
Creates a new task. Create button with a command and a data path insert to index position in parent;- Parameters:
parent- the parentindex- position in parentcommand- the command set to button command name (Button#getCommandName())path- the path set to button data pathButton#getDataPath()
-
AddButtonTask
public AddButtonTask(FormItemContainer parent, int index, Command command, AbstractDataPath path, FormNewItemDescriptor itemDescriptor) Creates a new task. Create button with a command and a data path insert to index position in parent;- Parameters:
parent- the parentindex- position in parentcommand- the command set to button command name (Button#getCommandName())path- the path set to button data pathButton#getDataPath()itemDescriptor- the item descriptor, can benull
-
-
Method Details
-
add
Description copied from class:AbstractAddTaskThe 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
Description copied from class:AbstractAddTaskThe 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.
-