|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMerger
Base interface for merger implementation. Clients can implement this interface or extend
DefaultMerger
which also provide some utility methods.
DefaultMerger
Method Summary | |
---|---|
void |
applyInOrigin()
Applies the modification in the original (left) model. |
boolean |
canApplyInOrigin()
Returns True if the merger is allowed to apply changes in the origin (left) model. |
boolean |
canUndoInTarget()
Returns True if the merger is allowed to undo changes in the target (right) model. |
void |
setDiffElement(DiffElement element)
Sets the DiffElement to be merged. |
void |
undoInTarget()
Cancels the modification in the target (right) model. |
Method Detail |
---|
void applyInOrigin()
boolean canApplyInOrigin()
True
if the merger is allowed to apply changes in the origin (left) model.
True
if the merger is allowed to apply changes in the origin (left) model,
False
otherwise.boolean canUndoInTarget()
True
if the merger is allowed to undo changes in the target (right) model.
True
if the merger is allowed to undo changes in the target (right) model,
False
otherwise.void setDiffElement(DiffElement element)
DiffElement
to be merged.
element
- The DiffElement
to be merged.void undoInTarget()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |