public class MergeController
extends java.lang.Object
implements java.io.Serializable, java.awt.event.ActionListener
| Modifier and Type | Class and Description |
|---|---|
static class |
MergeController.ConflictInfo |
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
LOGGER |
static java.lang.String |
PROP_BASETMX |
static java.lang.String |
PROP_CONFLICTCOUNT |
static java.lang.String |
PROP_CONFLICTSARERESOLVED |
static java.lang.String |
PROP_LEFTTMX |
static java.lang.String |
PROP_RIGHTTMX |
| Constructor and Description |
|---|
MergeController() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
addSelection(Key key,
javax.swing.AbstractButton[] buttons) |
MergeAnalysis |
analyze(ITmx baseTmx,
ITmx leftTmx,
ITmx rightTmx) |
ITmx |
apply(ResolutionSet resolution) |
void |
clearSelections() |
ITmx |
getBaseTmx() |
int |
getConflictCount() |
java.util.List<MergeController.ConflictInfo> |
getConflicts() |
ITmx |
getLeftTmx() |
int |
getListViewThreshold() |
ITmx |
getRightTmx() |
java.util.Map<Key,javax.swing.AbstractButton[]> |
getSelections() |
boolean |
isCanCancel() |
boolean |
isConflictsAreResolved() |
boolean |
isQuiet() |
boolean |
isTwoWayMerge() |
ITmx |
merge(ITmx leftTmx,
ITmx rightTmx) |
ITmx |
merge(ITmx baseTmx,
ITmx leftTmx,
ITmx rightTmx) |
ITmx |
merge(ITmx baseTmx,
ITmx leftTmx,
ITmx rightTmx,
ResolutionStrategy strategy) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
ResolutionSet |
resolve(ResolutionStrategy strategy) |
void |
setBaseTmx(ITmx baseTmx) |
void |
setCanCancel(boolean canCancel) |
void |
setIsTwoWayMerge(boolean isTwoWayMerge) |
void |
setLeftTmx(ITmx leftTmx) |
void |
setListViewThreshold(int conflicts) |
void |
setParentWindow(java.awt.Window window) |
void |
setQuiet(boolean quiet) |
void |
setRightTmx(ITmx rightTmx) |
public static final java.util.logging.Logger LOGGER
public static final java.lang.String PROP_BASETMX
public static final java.lang.String PROP_LEFTTMX
public static final java.lang.String PROP_RIGHTTMX
public static final java.lang.String PROP_CONFLICTCOUNT
public static final java.lang.String PROP_CONFLICTSARERESOLVED
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public ITmx merge(ITmx baseTmx, ITmx leftTmx, ITmx rightTmx, ResolutionStrategy strategy)
public MergeAnalysis analyze(ITmx baseTmx, ITmx leftTmx, ITmx rightTmx)
public ResolutionSet resolve(ResolutionStrategy strategy)
public ITmx apply(ResolutionSet resolution)
public boolean isConflictsAreResolved()
public void addSelection(Key key, javax.swing.AbstractButton[] buttons)
public void clearSelections()
public java.util.Map<Key,javax.swing.AbstractButton[]> getSelections()
public java.util.List<MergeController.ConflictInfo> getConflicts()
public ITmx getBaseTmx()
public void setBaseTmx(ITmx baseTmx)
public ITmx getLeftTmx()
public void setLeftTmx(ITmx leftTmx)
public ITmx getRightTmx()
public void setRightTmx(ITmx rightTmx)
public int getConflictCount()
public void setCanCancel(boolean canCancel)
public boolean isCanCancel()
public void setQuiet(boolean quiet)
public boolean isQuiet()
public void setIsTwoWayMerge(boolean isTwoWayMerge)
public boolean isTwoWayMerge()
public void setListViewThreshold(int conflicts)
public int getListViewThreshold()
public void setParentWindow(java.awt.Window window)
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListener