Class EMFCompareTextMergeViewer.EditCommand

    • Method Detail

      • isLeftToRight

        public boolean isLeftToRight()
        Returns true if the command will be applied from left to right side, false otherwise.
        Specified by:
        isLeftToRight in interface ICompareCopyCommand
        Returns:
        true if the command will be applied from left to right side, false otherwise.
      • getSide

        public IMergeViewer.MergeViewerSide getSide()
        Returns the side on which this command operates.
        Returns:
        the side on which this command operates.
      • getDiff

        public Diff getDiff()
        Returns the diff on which this command operates.
        Returns:
        the diff on which this command operates.
      • getModelUpdateStrategy

        public IModelUpdateStrategy getModelUpdateStrategy()
        Returns the update strategy used to make the change to the feature.
        Returns:
      • getChangedDiffs

        public com.google.common.collect.Multimap<DifferenceState,​Diff> getChangedDiffs()
        Returns the state changes to any diffs that this command produced.
        Returns:
        the state changes to any diffs that this command produced.