public class SimpleThreesideDiffViewer extends ThreesideTextDiffViewerEx
Modifier and Type | Class and Description |
---|---|
protected class |
SimpleThreesideDiffViewer.MyEditorReadOnlyLockAction |
protected class |
SimpleThreesideDiffViewer.SelectedChangesActionBase |
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 |
---|
SimpleThreesideDiffViewer(DiffContext context,
DiffRequest request) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canShowRequest(DiffContext context,
DiffRequest request) |
protected java.util.List<AnAction> |
createEditorPopupActions() |
protected java.util.List<AnAction> |
createPopupActions() |
protected java.util.List<AnAction> |
createToolbarActions() |
protected void |
destroyChangedBlocks() |
java.util.List<SimpleThreesideDiffChange> |
getChanges() |
protected DiffDividerDrawUtil.DividerPaintable |
getDividerPaintable(Side side) |
protected boolean |
isEditable(ThreeSide side) |
protected boolean |
isSomeChangeSelected(ThreeSide side) |
protected void |
onBeforeDocumentChange(DocumentEvent e) |
protected void |
onSlowRediff() |
protected java.lang.Runnable |
performRediff(ProgressIndicator indicator) |
void |
replaceChange(SimpleThreesideDiffChange change,
ThreeSide sourceSide,
ThreeSide outputSide) |
applyNotification, clearDiffPresentation, doScrollToChange, doScrollToChange, getAllChanges, getChangesCount, getConflictsCount, getData, getFoldingModelSettings, getSelectedChange, getStatusPanel, getSyncScrollable, getSyncScrollSupport, isChangeSelected, onChangeAdded, onChangeRemoved, onDispose, onInit, processContextHints, resetChangeCounters, updateContextHints
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, rediff, rediff, removeListener, scheduleRediff, tryRediffSynchronously
public SimpleThreesideDiffViewer(DiffContext context, DiffRequest request)
protected java.util.List<AnAction> createToolbarActions()
createToolbarActions
in class DiffViewerBase
protected java.util.List<AnAction> createPopupActions()
createPopupActions
in class DiffViewerBase
protected java.util.List<AnAction> createEditorPopupActions()
createEditorPopupActions
in class ThreesideTextDiffViewer
protected void onSlowRediff()
onSlowRediff
in class DiffViewerBase
protected java.lang.Runnable performRediff(ProgressIndicator indicator)
performRediff
in class DiffViewerBase
protected void destroyChangedBlocks()
destroyChangedBlocks
in class ThreesideTextDiffViewerEx
protected void onBeforeDocumentChange(DocumentEvent e)
onBeforeDocumentChange
in class ListenerDiffViewerBase
public java.util.List<SimpleThreesideDiffChange> getChanges()
getChanges
in class ThreesideTextDiffViewerEx
protected DiffDividerDrawUtil.DividerPaintable getDividerPaintable(Side side)
getDividerPaintable
in class ThreesideTextDiffViewerEx
public static boolean canShowRequest(DiffContext context, DiffRequest request)
protected boolean isEditable(ThreeSide side)
protected boolean isSomeChangeSelected(ThreeSide side)
public void replaceChange(SimpleThreesideDiffChange change, ThreeSide sourceSide, ThreeSide outputSide)