public class TextMergeViewer.MyThreesideViewer extends ThreesideTextDiffViewerEx
Modifier and Type | Class and Description |
---|---|
class |
TextMergeViewer.MyThreesideViewer.ApplyNonConflictsAction |
class |
TextMergeViewer.MyThreesideViewer.MagicResolvedConflictsAction |
class |
TextMergeViewer.MyThreesideViewer.ModifierProvider |
ThreesideTextDiffViewerEx.MyDividerPainter, ThreesideTextDiffViewerEx.MyFoldingModel, ThreesideTextDiffViewerEx.MyInitialScrollHelper, ThreesideTextDiffViewerEx.MyPrevNextDifferenceIterable, ThreesideTextDiffViewerEx.MyStatusPanel, ThreesideTextDiffViewerEx.MySyncScrollable, ThreesideTextDiffViewerEx.MyToggleExpandByDefaultAction
ThreesideTextDiffViewer.MyInitialScrollPositionHelper, ThreesideTextDiffViewer.MyToggleAutoScrollAction, ThreesideTextDiffViewer.TextShowPartialDiffAction
ThreesideDiffViewer.PartialDiffMode, ThreesideDiffViewer.ShowPartialDiffAction
Disposable.Parent
myFoldingModel, myInitialScrollHelper, myStatusPanel
myEditorSettingsAction, mySyncScrollSupport
myContentPanel, myLoadingPanel, myPanel
LOG, myContext, myProject, myRequest
Constructor and Description |
---|
MyThreesideViewer(DiffContext context,
ContentDiffRequest request) |
Modifier and Type | Method and Description |
---|---|
boolean |
canResolveChangeAutomatically(TextMergeChange change,
ThreeSide side) |
protected java.util.List<AnAction> |
createEditorPopupActions() |
protected java.util.List<AnAction> |
createPopupActions() |
protected java.util.List<AnAction> |
createToolbarActions() |
protected void |
destroyChangedBlocks() |
protected java.lang.Runnable |
doPerformRediff(ProgressIndicator indicator) |
boolean |
executeMergeCommand(java.lang.String commandName,
boolean underBulkUpdate,
java.util.List<? extends TextMergeChange> affected,
java.lang.Runnable task) |
boolean |
executeMergeCommand(java.lang.String commandName,
java.util.List<? extends TextMergeChange> affected,
java.lang.Runnable task) |
java.util.List<TextMergeChange> |
getAllChanges() |
java.util.List<TextMergeChange> |
getChanges() |
protected DiffDividerDrawUtil.DividerPaintable |
getDividerPaintable(Side side) |
EditorEx |
getEditor() |
MergeModelBase |
getModel() |
KeyboardModifierListener |
getModifierProvider() |
javax.swing.Action |
getResolveAction(MergeResult result) |
void |
ignoreChange(TextMergeChange change,
Side side,
boolean resolveChange) |
void |
markChangeResolved(TextMergeChange change) |
void |
markChangeResolved(TextMergeChange change,
Side side) |
protected void |
onBeforeDocumentChange(DocumentEvent e) |
protected void |
onDispose() |
protected void |
onInit() |
protected java.lang.Runnable |
performRediff(ProgressIndicator indicator) |
void |
rediff(boolean trySync) |
void |
repaintDividers() |
void |
replaceChange(TextMergeChange change,
Side side,
boolean resolveChange) |
void |
resolveChangeAutomatically(TextMergeChange change,
ThreeSide side) |
applyNotification, clearDiffPresentation, doScrollToChange, doScrollToChange, getChangesCount, getConflictsCount, getData, getFoldingModelSettings, getSelectedChange, getStatusPanel, getSyncScrollable, getSyncScrollSupport, isChangeSelected, onChangeAdded, onChangeRemoved, processContextHints, resetChangeCounters, updateContextHints
canShowRequest, createEditorHolders, createTitles, destroyEditorListeners, disableSyncScrollSupport, getContent, getContents, getCurrentContent, getCurrentEditor, getEditableEditors, getEditor, getEditors, getEditorSide, getNavigatable, getTextSettings, installEditorListeners, onDocumentChange, scrollToLine, transferPosition
canShowRequest, getComponent, getCurrentEditorHolder, getCurrentSide, getEditorHolders, getPreferredFocusedComponent, setCurrentSide
createDocumentListener, createFileListener, onFileChange, onFileChange
abortRediff, addListener, dispose, forceRediffSynchronously, getContext, getListeners, getProject, getRequest, init, isDisposed, onAfterRediff, onBeforeRediff, onSlowRediff, rediff, removeListener, scheduleRediff, tryRediffSynchronously
public MyThreesideViewer(DiffContext context, ContentDiffRequest request)
protected void onInit()
onInit
in class ThreesideTextDiffViewerEx
protected void onDispose()
onDispose
in class ThreesideTextDiffViewerEx
protected java.util.List<AnAction> createToolbarActions()
createToolbarActions
in class DiffViewerBase
protected java.util.List<AnAction> createEditorPopupActions()
createEditorPopupActions
in class ThreesideTextDiffViewer
protected java.util.List<AnAction> createPopupActions()
createPopupActions
in class DiffViewerBase
public javax.swing.Action getResolveAction(MergeResult result)
public void rediff(boolean trySync)
rediff
in class DiffViewerBase
protected java.lang.Runnable performRediff(ProgressIndicator indicator)
performRediff
in class DiffViewerBase
protected java.lang.Runnable doPerformRediff(ProgressIndicator indicator)
protected void destroyChangedBlocks()
destroyChangedBlocks
in class ThreesideTextDiffViewerEx
protected void onBeforeDocumentChange(DocumentEvent e)
onBeforeDocumentChange
in class ListenerDiffViewerBase
public void repaintDividers()
public MergeModelBase getModel()
public java.util.List<TextMergeChange> getAllChanges()
getAllChanges
in class ThreesideTextDiffViewerEx
public java.util.List<TextMergeChange> getChanges()
getChanges
in class ThreesideTextDiffViewerEx
protected DiffDividerDrawUtil.DividerPaintable getDividerPaintable(Side side)
getDividerPaintable
in class ThreesideTextDiffViewerEx
public KeyboardModifierListener getModifierProvider()
public EditorEx getEditor()
public boolean executeMergeCommand(java.lang.String commandName, boolean underBulkUpdate, java.util.List<? extends TextMergeChange> affected, java.lang.Runnable task)
public boolean executeMergeCommand(java.lang.String commandName, java.util.List<? extends TextMergeChange> affected, java.lang.Runnable task)
public void markChangeResolved(TextMergeChange change)
public void markChangeResolved(TextMergeChange change, Side side)
public void ignoreChange(TextMergeChange change, Side side, boolean resolveChange)
public void replaceChange(TextMergeChange change, Side side, boolean resolveChange)
public boolean canResolveChangeAutomatically(TextMergeChange change, ThreeSide side)
public void resolveChangeAutomatically(TextMergeChange change, ThreeSide side)