public abstract class ThreesideTextDiffViewerEx extends ThreesideTextDiffViewer
Modifier and Type | Class and Description |
---|---|
protected class |
ThreesideTextDiffViewerEx.MyDividerPainter |
protected static class |
ThreesideTextDiffViewerEx.MyFoldingModel |
protected class |
ThreesideTextDiffViewerEx.MyInitialScrollHelper |
protected class |
ThreesideTextDiffViewerEx.MyPrevNextDifferenceIterable |
protected class |
ThreesideTextDiffViewerEx.MyStatusPanel |
protected class |
ThreesideTextDiffViewerEx.MySyncScrollable |
protected class |
ThreesideTextDiffViewerEx.MyToggleExpandByDefaultAction |
ThreesideTextDiffViewer.MyInitialScrollPositionHelper, ThreesideTextDiffViewer.MyToggleAutoScrollAction, ThreesideTextDiffViewer.TextShowPartialDiffAction
ThreesideDiffViewer.PartialDiffMode, ThreesideDiffViewer.ShowPartialDiffAction
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
protected ThreesideTextDiffViewerEx.MyFoldingModel |
myFoldingModel |
protected ThreesideTextDiffViewerEx.MyInitialScrollHelper |
myInitialScrollHelper |
protected ThreesideTextDiffViewerEx.MyStatusPanel |
myStatusPanel |
myEditorSettingsAction, mySyncScrollSupport
myContentPanel, myLoadingPanel, myPanel
LOG, myContext, myProject, myRequest
Constructor and Description |
---|
ThreesideTextDiffViewerEx(DiffContext context,
ContentDiffRequest request) |
canShowRequest, createEditorHolders, createEditorPopupActions, 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, onBeforeDocumentChange, onFileChange, onFileChange
abortRediff, addListener, createPopupActions, createToolbarActions, dispose, forceRediffSynchronously, getContext, getListeners, getProject, getRequest, init, isDisposed, onAfterRediff, onBeforeRediff, onSlowRediff, performRediff, rediff, rediff, removeListener, scheduleRediff, tryRediffSynchronously
protected final ThreesideTextDiffViewerEx.MyStatusPanel myStatusPanel
protected final ThreesideTextDiffViewerEx.MyFoldingModel myFoldingModel
protected final ThreesideTextDiffViewerEx.MyInitialScrollHelper myInitialScrollHelper
public ThreesideTextDiffViewerEx(DiffContext context, ContentDiffRequest request)
protected void onInit()
onInit
in class ThreesideTextDiffViewer
protected void onDispose()
onDispose
in class ThreesideTextDiffViewer
protected void processContextHints()
processContextHints
in class ThreesideDiffViewer<TextEditorHolder>
protected void updateContextHints()
updateContextHints
in class ThreesideDiffViewer<TextEditorHolder>
public FoldingModelSupport.Settings getFoldingModelSettings()
protected java.lang.Runnable applyNotification(javax.swing.JComponent notification)
protected void clearDiffPresentation()
protected void destroyChangedBlocks()
protected boolean doScrollToChange(DiffUserDataKeysEx.ScrollToPolicy scrollToPolicy)
protected void doScrollToChange(ThreesideDiffChangeBase change, boolean animated)
public int getChangesCount()
public int getConflictsCount()
protected void resetChangeCounters()
protected void onChangeAdded(ThreesideDiffChangeBase change)
protected void onChangeRemoved(ThreesideDiffChangeBase change)
protected abstract DiffDividerDrawUtil.DividerPaintable getDividerPaintable(Side side)
protected java.util.List<? extends ThreesideDiffChangeBase> getAllChanges()
protected abstract java.util.List<? extends ThreesideDiffChangeBase> getChanges()
protected SyncScrollSupport.SyncScrollable getSyncScrollable(Side side)
getSyncScrollable
in class ThreesideTextDiffViewer
protected javax.swing.JComponent getStatusPanel()
getStatusPanel
in class DiffViewerBase
public SyncScrollSupport.ThreesideSyncScrollSupport getSyncScrollSupport()
protected ThreesideDiffChangeBase getSelectedChange(ThreeSide side)
protected static boolean isChangeSelected(ThreesideDiffChangeBase change, java.util.BitSet lines, ThreeSide side)
public java.lang.Object getData(java.lang.String dataId)
DataProvider
PlatformDataKeys
class.getData
in interface DataProvider
getData
in class ThreesideTextDiffViewer
dataId
- the data identifier for which the value is requested.