Class CloneFormAttributeTask

    • Constructor Detail

      • CloneFormAttributeTask

        public CloneFormAttributeTask​(FormAttributeManagementService managementService,
                                      Form form,
                                      FormAttribute sourceAttribute,
                                      TypeDescription attributeType,
                                      AbstractDataPath path,
                                      Consumer<FormAttribute> adapter)
        Creates a new task of clonning attribute.
        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
        sourceAttribute - it is the attribute to clone, can't be null
        attributeType - the attribute type description, can't be null
        path - source attribute data path, cannot be null
        adapter - form attribute 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>