public class SimpleOnesideDiffViewer extends OnesideTextDiffViewer
OnesideTextDiffViewer.MyInitialScrollPositionHelper
Disposable.Parent
myEditorSettingsAction
myContentPanel, myPanel
LOG, myContext, myProject, myRequest
Constructor and Description |
---|
SimpleOnesideDiffViewer(DiffContext context,
DiffRequest request) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canShowRequest(DiffContext context,
DiffRequest request) |
protected java.util.List<AnAction> |
createPopupActions() |
protected java.util.List<AnAction> |
createToolbarActions() |
protected boolean |
doScrollToContext(DiffNavigationContext context) |
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
protected void |
onDispose() |
protected java.lang.Runnable |
performRediff(ProgressIndicator indicator) |
protected void |
processContextHints() |
protected void |
updateContextHints() |
createEditorHolder, createEditorPopupActions, createTitle, destroyEditorListeners, getContent, getEditableEditors, getEditor, getEditors, getNavigatable, getTextSettings, installEditorListeners, onInit, scrollToLine
canShowRequest, getComponent, getEditorHolder, getPreferredFocusedComponent, getSide
createDocumentListener, createFileListener, onBeforeDocumentChange, onDocumentChange, onFileChange, onFileChange
abortRediff, addListener, dispose, forceRediffSynchronously, getContext, getListeners, getProject, getRequest, getStatusPanel, init, isDisposed, onAfterRediff, onBeforeRediff, onSlowRediff, rediff, rediff, removeListener, scheduleRediff, tryRediffSynchronously
public SimpleOnesideDiffViewer(DiffContext context, DiffRequest request)
protected void onDispose()
onDispose
in class OnesideTextDiffViewer
protected java.util.List<AnAction> createToolbarActions()
createToolbarActions
in class DiffViewerBase
protected java.util.List<AnAction> createPopupActions()
createPopupActions
in class DiffViewerBase
protected void processContextHints()
processContextHints
in class DiffViewerBase
protected void updateContextHints()
updateContextHints
in class DiffViewerBase
protected java.lang.Runnable performRediff(ProgressIndicator indicator)
performRediff
in class DiffViewerBase
protected boolean doScrollToContext(DiffNavigationContext context)
public static boolean canShowRequest(DiffContext context, DiffRequest request)
public java.lang.Object getData(java.lang.String dataId)
DataProvider
PlatformDataKeys
class.getData
in interface DataProvider
getData
in class OnesideTextDiffViewer
dataId
- the data identifier for which the value is requested.