Interface IDtComparisonEditorInputFactory


  • public interface IDtComparisonEditorInputFactory
    A factory for creation of DT comparison editor inputs.
    • Method Detail

      • create

        IDtComparisonEditorInput create​(IComparisonDataSourceDescriptor mainDescriptor,
                                        IComparisonDataSourceDescriptor otherDescriptor,
                                        IComparisonDataSourceDescriptor ancestorDescriptor,
                                        ComparisonScope comparisonScope,
                                        IComparisonProcessSettings settings,
                                        boolean noMerge,
                                        String mainComparisonSideName,
                                        String otherComparisonSideName)
        Creates an editor input.
        Parameters:
        mainDescriptor - the main data source descriptor, can not be null
        otherDescriptor - the other data source descriptor, can not be null
        ancestorDescriptor - the common ancestor data source descriptor, may be null)
        comparisonScope - the comparison scope, can not be null
        settings - the comparison process settings, can not be null
        noMerge - the 'noMerge' flag, defines whether it is possible to run merge
        mainComparisonSideName - the main comparison side name, can not be null
        otherComparisonSideName - the other comparison side name, can not be null
        Returns:
        a new editor input, never null
      • create

        IDtComparisonEditorInput create​(IComparisonDataSourceDescriptor mainDescriptor,
                                        IComparisonDataSourceDescriptor otherDescriptor,
                                        IComparisonDataSourceDescriptor ancestorDescriptor,
                                        ComparisonScope comparisonScope,
                                        IComparisonProcessSettings settings,
                                        IMergeCallback callback,
                                        String mainComparisonSideName,
                                        String otherComparisonSideName)
        Creates an editor input.
        Parameters:
        mainDescriptor - the main data source descriptor, can not be null
        otherDescriptor - the other data source descriptor, can not be null
        ancestorDescriptor - the common ancestor data source descriptor, may be null)
        comparisonScope - the comparison scope, can not be null
        settings - the comparison process settings, can not be null
        callback - the merge process callback, can not be null
        mainComparisonSideName - the main comparison side name, can not be null
        otherComparisonSideName - the other comparison side name, can not be null
        Returns:
        a new editor input, never null
      • create

        IDtComparisonEditorInput create​(List<CompareMergeProcessDescriptor> descriptors,
                                        boolean noMerge,
                                        String mainComparisonSideName,
                                        String otherComparisonSideName)
        Creates an editor input.
        Parameters:
        descriptors - the compare/merge process descriptors, can not be null
        noMerge - the 'noMerge' flag, defines whether it is possible to run merge
        mainComparisonSideName - the main comparison side name, can not be null
        otherComparisonSideName - the other comparison side name, can not be null
        Returns:
        a new editor input, never null
      • create

        IDtComparisonEditorInput create​(List<CompareMergeProcessDescriptor> descriptors,
                                        IMergeCallback callback,
                                        String mainComparisonSideName,
                                        String otherComparisonSideName)
        Creates an editor input.
        Parameters:
        descriptors - the compare/merge process descriptors, can not be null
        callback - the merge process callback, can not be null
        mainComparisonSideName - the main comparison side name, can not be null
        otherComparisonSideName - the other comparison side name, can not be null
        Returns:
        a new editor input, never null
      • create

        IDtComparisonEditorInput create​(List<CompareMergeProcessDescriptor> descriptors,
                                        boolean noMerge,
                                        String mainComparisonSideName,
                                        String otherComparisonSideName,
                                        String uniquePersistentName)
        Creates an editor input.
        Parameters:
        descriptors - the compare/merge process descriptors, can not be null
        noMerge - the 'noMerge' flag, defines whether it is possible to run merge
        mainComparisonSideName - the main comparison side name, can not be null
        otherComparisonSideName - the other comparison side name, can not be null
        uniquePersistentName - the unique persistent name, can not be null
        Returns:
        a new editor input, never null