Class AddFieldWithTableTask

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

    public class AddFieldWithTableTask
    extends AbstractAddTask
    The task adds a new field item with contained table.
    • Constructor Detail

      • AddFieldWithTableTask

        public AddFieldWithTableTask​(FormItemContainer parent,
                                     AbstractDataPath path,
                                     boolean createColumns,
                                     int index)
        Creates a new task which adds an new field with table to the index position of parent.
        Parameters:
        parent - the parental container for which the new field will be added, can not be null
        path - the path for field, can be null
        createColumns - the flag indicating that the columns will be created from PropertyInfo
        index - the position index to which will be added a field.
    • Method Detail

      • add

        protected org.eclipse.core.runtime.IStatus add​(Form form,
                                                       FormItemContainer parent)
        Description copied from class: AbstractAddTask
        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)
        Description copied from class: AbstractAddTask
        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.