Class DataSetsWrapperBase<T extends DataSet>

    • Constructor Detail

      • DataSetsWrapperBase

        public DataSetsWrapperBase​(DataSets dataSetsPage,
                                   T dataSet)
        Constructor
        Parameters:
        dataSetsPage - data sets page, can't be null
        dataSet - data set, can't be null
    • Method Detail

      • copyField

        public void copyField​(DataSetField currentField,
                              String parentPathNew)
        Description copied from interface: IDataSetWrapper
        Copy field
        Specified by:
        copyField in interface IDataSetWrapper
        Parameters:
        currentField - field, can't be null
        parentPathNew - destination folder path or null (empty) for root
      • setFieldPath

        public void setFieldPath​(DataSetField field,
                                 String path)
        Description copied from interface: IDataSetWrapper
        Set 'Data path' property of field
        Specified by:
        setFieldPath in interface IDataSetWrapper
        Parameters:
        field - field, can't be null
        path - value of 'Data path' property, can't be null
      • setFieldUseRestiction

        public void setFieldUseRestiction​(DataSetField dataSetField,
                                          org.eclipse.emf.ecore.EStructuralFeature feature,
                                          boolean state)
        Description copied from interface: IDataSetWrapper
        Set field restiction
        Specified by:
        setFieldUseRestiction in interface IDataSetWrapper
        Parameters:
        dataSetField - field, can't be null
        feature - feature of restriction, can't be null
        state - state
      • setFieldAttrUseRestiction

        public void setFieldAttrUseRestiction​(DataSetField dataSetField,
                                              org.eclipse.emf.ecore.EStructuralFeature feature,
                                              boolean state)
        Description copied from interface: IDataSetWrapper
        Set field attribute restiction
        Specified by:
        setFieldAttrUseRestiction in interface IDataSetWrapper
        Parameters:
        dataSetField - field, can't be null
        feature - feature of attribute restriction, can't be null
        state - state
      • notifyParentAddField

        protected void notifyParentAddField​(IDataSetFieldsWrapper fieldWrapper)
        Notify parent data set about field added
        Parameters:
        fieldWrapper - field wrapper, can't be null
      • notifyParentSetFieldRestriction

        protected void notifyParentSetFieldRestriction​(IDataSetFieldsWrapper fieldWrapper)
        Notify parent data set about restriction changed
        Parameters:
        fieldWrapper - field wrapper, can't be null
      • notifyParentRemoveFieldRestriction

        protected void notifyParentRemoveFieldRestriction​(IDataSetFieldsWrapper fieldWrapper)
        Notify parent data set about restriction removed
        Parameters:
        fieldWrapper - field wrapper, can't be null