Class AddTableTask

All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>

public class AddTableTask extends AbstractAddTask
The task adds a new table item.
  • Constructor Details

    • 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 be null).
      index - the position index to which will be added a table.
      itemDescriptor - the item descriptor, can be null.
    • 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 be null).
      path - the path for sets type to table.
      index - the position index to which will be added a table.
      itemDescriptor - the item descriptor, can be null.
    • AddTableTask

      public AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumns, 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 be null).
      path - the path for sets type to table.
      createColumns - the flag for creation of the columns from children PropertyInfo of the path PropertyInfo.
      index - the position index to which will be added a table.
    • AddTableTask

      public AddTableTask(FormItemContainer parent, AbstractDataPath path, boolean createColumns, 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 be null).
      path - the path for sets type to table.
      createColumns - the flag for creation of the columns from children PropertyInfo of the path PropertyInfo.
      index - the position index to which will be added a table.
      itemDescriptor - the item descriptor, can be null.
  • Method Details

    • add

      protected org.eclipse.core.runtime.IStatus add(Form form, FormItemContainer parent)
      The method add new FormItem
      Specified by:
      add in class AbstractAddTask
      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 new FormItem
      Specified by:
      add in class AbstractAddTask
      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.