public abstract class TwosideTextDiffViewer extends TwosideDiffViewer<TextEditorHolder>
| Modifier and Type | Class and Description |
|---|---|
protected class |
TwosideTextDiffViewer.MyInitialScrollPositionHelper |
protected class |
TwosideTextDiffViewer.MyToggleAutoScrollAction |
Disposable.Parent| Modifier and Type | Field and Description |
|---|---|
protected SetEditorSettingsAction |
myEditorSettingsAction |
myContentPanel, myPanelLOG, myContext, myProject, myRequest| Constructor and Description |
|---|
TwosideTextDiffViewer(DiffContext context,
ContentDiffRequest request) |
canShowRequest, getComponent, getCurrentEditorHolder, getCurrentSide, getEditorHolders, getPreferredFocusedComponent, processContextHints, setCurrentSide, updateContextHintscreateDocumentListener, createFileListener, onBeforeDocumentChange, onFileChange, onFileChangeabortRediff, addListener, createPopupActions, createToolbarActions, dispose, forceRediffSynchronously, getContext, getListeners, getProject, getRequest, getStatusPanel, init, isDisposed, onAfterRediff, onBeforeRediff, onSlowRediff, performRediff, rediff, rediff, removeListener, scheduleRediff, tryRediffSynchronouslyprotected final SetEditorSettingsAction myEditorSettingsAction
public TwosideTextDiffViewer(DiffContext context, ContentDiffRequest request)
protected void onInit()
onInit in class TwosideDiffViewer<TextEditorHolder>protected void onDispose()
onDispose in class TwosideDiffViewer<TextEditorHolder>protected java.util.List<TextEditorHolder> createEditorHolders(EditorHolderFactory<TextEditorHolder> factory)
createEditorHolders in class TwosideDiffViewer<TextEditorHolder>protected java.util.List<javax.swing.JComponent> createTitles()
createTitles in class TwosideDiffViewer<TextEditorHolder>public TextDiffSettings getTextSettings()
protected java.util.List<AnAction> createEditorPopupActions()
protected void onDocumentChange(DocumentEvent event)
onDocumentChange in class ListenerDiffViewerBaseprotected void installEditorListeners()
protected void destroyEditorListeners()
protected void disableSyncScrollSupport(boolean disable)
protected java.util.List<? extends DocumentContent> getContents()
public java.util.List<? extends EditorEx> getEditors()
protected java.util.List<? extends EditorEx> getEditableEditors()
public EditorEx getCurrentEditor()
public DocumentContent getCurrentContent()
public EditorEx getEditor1()
public EditorEx getEditor2()
public DocumentContent getContent(Side side)
public DocumentContent getContent1()
public DocumentContent getContent2()
public SyncScrollSupport.TwosideSyncScrollSupport getSyncScrollSupport()
protected void scrollToLine(Side side, int line)
protected abstract SyncScrollSupport.SyncScrollable getSyncScrollable()
protected Navigatable getNavigatable()
getNavigatable in class TwosideDiffViewer<TextEditorHolder>public static boolean canShowRequest(DiffContext context, DiffRequest request)
public java.lang.Object getData(java.lang.String dataId)
DataProviderPlatformDataKeys class.getData in interface DataProvidergetData in class TwosideDiffViewer<TextEditorHolder>dataId - the data identifier for which the value is requested.