Class CloneFormAttributeColumnTask

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

    public class CloneFormAttributeColumnTask
    extends BmBasicTask1<Form>
    The task clones an attribute columns to the form. This task is in quality as wrapper over FormAttributeManagementService service.
    • Constructor Detail

      • CloneFormAttributeColumnTask

        public CloneFormAttributeColumnTask​(FormAttributeManagementService managementService,
                                            Form form,
                                            FormAttributeColumn sourceAttributeColumn,
                                            AbstractDataPath targetDataPath,
                                            Consumer<FormAttributeColumn> adapter)
        Creates a new task of clonning attribute column.
        Parameters:
        managementService - the management service. Clonning happens by using this service, can't be null
        form - the form in which the cloned attribute will be added, can't be null
        sourceAttributeColumn - it is the attribute column to clone, can't be null
        targetDataPath - the data path of the parent PropertyInfo, can't be null
        adapter - form attribute column post-processing action, cannot be null
    • Method Detail

      • execute

        public org.eclipse.core.runtime.IStatus execute​(Form form,
                                                        org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        execute in class BmBasicTask1<Form>