Class MergeDataImpl

    • Constructor Detail

      • MergeDataImpl

        public MergeDataImpl​(boolean leftEditable,
                             boolean rightEditable)
        Constructor.
        Parameters:
        leftEditable - Left side editable.
        rightEditable - Right side editable.
      • MergeDataImpl

        public MergeDataImpl​(boolean leftEditable,
                             boolean rightEditable,
                             boolean mirrored)
        Constructor.
        Parameters:
        leftEditable - Left side editable.
        rightEditable - Right side editable.
        mirrored - Left and right side are swapped, i.e., mirrored.
    • Method Detail

      • isLeftEditable

        public boolean isLeftEditable()
        Returns whether the left side of the comparison is editable.
        Specified by:
        isLeftEditable in interface IMergeData
        Returns:
        true if the left side of the comparison is editable, false otherwise.
        See Also:
        IMergeData.isLeftEditable()
      • isRightEditable

        public boolean isRightEditable()
        Returns whether the right side of the comparison is editable.
        Specified by:
        isRightEditable in interface IMergeData
        Returns:
        true if the right side of the comparison is editable, false otherwise.
        See Also:
        IMergeData.isRightEditable()
      • setLeftEditable

        public void setLeftEditable​(boolean leftEditable)
        Set whether the left side of the comparison is editable.
        Specified by:
        setLeftEditable in interface IMergeData
        Parameters:
        leftEditable - whether the left side of the comparison is editable.
        See Also:
        IMergeData.setLeftEditable(boolean)
      • setRightEditable

        public void setRightEditable​(boolean rightEditable)
        Set whether the right side of the comparison is editable.
        Specified by:
        setRightEditable in interface IMergeData
        Parameters:
        rightEditable - whether the right side of the comparison is editable.
        See Also:
        IMergeData.setRightEditable(boolean)
      • isMirrored

        public boolean isMirrored()
        Returns whether the left and right sides are swapped, i.e., mirrored.
        Specified by:
        isMirrored in interface IMergeData
        Returns:
        true if the left and right sides are swapped, i.e., mirrored, false otherwise.
        See Also:
        IMergeData.isMirrored()
      • setMirrored

        public void setMirrored​(boolean mirrored)
        Sets whether the left and right sides are swapped, i.e., mirrored.
        Specified by:
        setMirrored in interface IMergeData
        Parameters:
        mirrored - whether the left and right sides are swapped, i.e., mirrored, false otherwise.
        See Also:
        IMergeData.setMirrored(boolean)