Class UnifiedDiffMode
java.lang.Object
org.eclipse.compare.unifieddiff.UnifiedDiffMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UnifiedDiffModeThe source in the editor is not modified.static final UnifiedDiffModeThe source in the editor is not modified.static final UnifiedDiffModeDiffs are directly applied in the editor.static final UnifiedDiffModeThe current source in the editor represents the latest/newest version, which is compared against an older version. -
Method Summary
-
Field Details
-
REPLACE_MODE
Diffs are directly applied in the editor. Users have the possibility to keep or undo the applied diffs. -
OVERLAY_MODE
The source in the editor is not modified. Diffs are shown as code mining and users have the possibility to apply or hide individual diffs. -
OVERLAY_READ_ONLY_MODE
The source in the editor is not modified. Diffs are shown as code mining and users cannot apply or dismiss the diffs (read-only mode). -
REVERT_MODE
The current source in the editor represents the latest/newest version, which is compared against an older version. Diffs are shown so that they can be reverted to the old version. Unlike the other modes, the passed source is treated as the base (old version) and the current source as the modified (new version).
-
-
Method Details
-
toString
-