public abstract class OnesideTextDiffViewer extends OnesideDiffViewer<TextEditorHolder>
| Modifier and Type | Class and Description |
|---|---|
protected class |
OnesideTextDiffViewer.MyInitialScrollPositionHelper |
Disposable.Parent| Modifier and Type | Field and Description |
|---|---|
protected SetEditorSettingsAction |
myEditorSettingsAction |
myContentPanel, myPanelLOG, myContext, myProject, myRequest| Constructor and Description |
|---|
OnesideTextDiffViewer(DiffContext context,
ContentDiffRequest request) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canShowRequest(DiffContext context,
DiffRequest request) |
protected TextEditorHolder |
createEditorHolder(EditorHolderFactory<TextEditorHolder> factory) |
protected java.util.List<AnAction> |
createEditorPopupActions() |
protected javax.swing.JComponent |
createTitle() |
protected void |
destroyEditorListeners() |
DocumentContent |
getContent() |
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
protected java.util.List<? extends EditorEx> |
getEditableEditors() |
EditorEx |
getEditor() |
java.util.List<? extends EditorEx> |
getEditors() |
protected Navigatable |
getNavigatable() |
TextDiffSettings |
getTextSettings() |
protected void |
installEditorListeners() |
protected void |
onDispose() |
protected void |
onInit() |
protected void |
scrollToLine(int line) |
canShowRequest, getComponent, getEditorHolder, getPreferredFocusedComponent, getSidecreateDocumentListener, createFileListener, onBeforeDocumentChange, onDocumentChange, onFileChange, onFileChangeabortRediff, addListener, createPopupActions, createToolbarActions, dispose, forceRediffSynchronously, getContext, getListeners, getProject, getRequest, getStatusPanel, init, isDisposed, onAfterRediff, onBeforeRediff, onSlowRediff, performRediff, processContextHints, rediff, rediff, removeListener, scheduleRediff, tryRediffSynchronously, updateContextHintsprotected final SetEditorSettingsAction myEditorSettingsAction
public OnesideTextDiffViewer(DiffContext context, ContentDiffRequest request)
protected void onInit()
onInit in class OnesideDiffViewer<TextEditorHolder>protected void onDispose()
onDispose in class OnesideDiffViewer<TextEditorHolder>protected TextEditorHolder createEditorHolder(EditorHolderFactory<TextEditorHolder> factory)
createEditorHolder in class OnesideDiffViewer<TextEditorHolder>protected javax.swing.JComponent createTitle()
createTitle in class OnesideDiffViewer<TextEditorHolder>public TextDiffSettings getTextSettings()
protected java.util.List<AnAction> createEditorPopupActions()
protected void installEditorListeners()
protected void destroyEditorListeners()
public java.util.List<? extends EditorEx> getEditors()
protected java.util.List<? extends EditorEx> getEditableEditors()
public EditorEx getEditor()
public DocumentContent getContent()
getContent in class OnesideDiffViewer<TextEditorHolder>protected void scrollToLine(int line)
protected Navigatable getNavigatable()
getNavigatable in class OnesideDiffViewer<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 OnesideDiffViewer<TextEditorHolder>dataId - the data identifier for which the value is requested.