Class AddUsualNotVisualGroup

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

public class AddUsualNotVisualGroup extends AbstractAddTask
The task adds a new usual group and sets UsualGroupRepresentation.NONE to representation feature.
  • Constructor Details

    • AddUsualNotVisualGroup

      public AddUsualNotVisualGroup(FormItemContainer parent, FormNewItemDescriptor itemDescriptor)
      Create a new task which adds a new group to the end of parent.
      Parameters:
      parent - the parental container for which the new group will be added. (The parent can not be null).
      itemDescriptor - the item descriptor, can be null.
    • AddUsualNotVisualGroup

      public AddUsualNotVisualGroup(FormItemContainer parent, int index, FormNewItemDescriptor itemDescriptor)
      Create a new task which adds a new group to the index position of parent.
      Parameters:
      parent - the parental container for which the new group will be added. (The parent can not be null).
      index - the position index to which will be added a group.
      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.