public class SimpleDiffViewer extends TwosideTextDiffViewer
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleDiffViewer.ModifierProvider |
protected class |
SimpleDiffViewer.SelectedChangesActionBase |
TwosideTextDiffViewer.MyInitialScrollPositionHelper, TwosideTextDiffViewer.MyToggleAutoScrollActionDisposable.Parent| Modifier and Type | Field and Description |
|---|---|
protected TwosideTextDiffProvider |
myTextDiffProvider |
myEditorSettingsActionmyContentPanel, myPanelLOG, myContext, myProject, myRequest| Constructor and Description |
|---|
SimpleDiffViewer(DiffContext context,
DiffRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendChange(SimpleDiffChange change,
Side sourceSide) |
protected java.lang.Runnable |
apply(java.util.List<SimpleDiffChange> changes,
boolean isContentsEqual) |
protected java.lang.Runnable |
applyNotification(javax.swing.JComponent notification) |
static boolean |
canShowRequest(DiffContext context,
DiffRequest request) |
protected java.lang.Runnable |
computeDifferences(ProgressIndicator indicator) |
protected java.util.List<AnAction> |
createEditorPopupActions() |
protected java.util.List<AnAction> |
createPopupActions() |
protected java.util.List<AnAction> |
createToolbarActions() |
protected SimpleDiffChangeUi |
createUi(SimpleDiffChange change) |
protected boolean |
doScrollToChange(DiffUserDataKeysEx.ScrollToPolicy scrollToPolicy) |
protected boolean |
doScrollToContext(DiffNavigationContext context) |
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
protected java.util.List<SimpleDiffChange> |
getDiffChanges() |
FoldingModelSupport.Settings |
getFoldingModelSettings() |
KeyboardModifierListener |
getModifierProvider() |
protected SimpleDiffChange |
getSelectedChange(Side side) |
protected java.util.List<SimpleDiffChange> |
getSelectedChanges(Side side) |
protected StatusPanel |
getStatusPanel() |
protected SyncScrollSupport.SyncScrollable |
getSyncScrollable() |
SyncScrollSupport.TwosideSyncScrollSupport |
getSyncScrollSupport() |
protected boolean |
isEditable(Side side) |
protected boolean |
isSomeChangeSelected(Side side) |
protected void |
onBeforeDocumentChange(DocumentEvent e) |
protected void |
onDispose() |
protected void |
onInit() |
protected void |
onSlowRediff() |
protected java.lang.Runnable |
performRediff(ProgressIndicator indicator) |
protected void |
processContextHints() |
void |
replaceChange(SimpleDiffChange change,
Side sourceSide) |
protected void |
updateContextHints() |
createEditorHolders, createTitles, destroyEditorListeners, disableSyncScrollSupport, getContent, getContent1, getContent2, getContents, getCurrentContent, getCurrentEditor, getEditableEditors, getEditor, getEditor1, getEditor2, getEditors, getNavigatable, getTextSettings, installEditorListeners, onDocumentChange, scrollToLine, transferPositioncanShowRequest, getComponent, getCurrentEditorHolder, getCurrentSide, getEditorHolders, getPreferredFocusedComponent, setCurrentSidecreateDocumentListener, createFileListener, onFileChange, onFileChangeabortRediff, addListener, dispose, forceRediffSynchronously, getContext, getListeners, getProject, getRequest, init, isDisposed, onAfterRediff, onBeforeRediff, rediff, rediff, removeListener, scheduleRediff, tryRediffSynchronouslyprotected final TwosideTextDiffProvider myTextDiffProvider
public SimpleDiffViewer(DiffContext context, DiffRequest request)
protected void onInit()
onInit in class TwosideTextDiffViewerprotected void onDispose()
onDispose in class TwosideTextDiffViewerprotected java.util.List<AnAction> createToolbarActions()
createToolbarActions in class DiffViewerBaseprotected java.util.List<AnAction> createPopupActions()
createPopupActions in class DiffViewerBaseprotected java.util.List<AnAction> createEditorPopupActions()
createEditorPopupActions in class TwosideTextDiffViewerprotected void processContextHints()
processContextHints in class TwosideDiffViewer<TextEditorHolder>protected void updateContextHints()
updateContextHints in class TwosideDiffViewer<TextEditorHolder>protected SimpleDiffChangeUi createUi(SimpleDiffChange change)
public FoldingModelSupport.Settings getFoldingModelSettings()
protected void onSlowRediff()
onSlowRediff in class DiffViewerBaseprotected java.lang.Runnable performRediff(ProgressIndicator indicator)
performRediff in class DiffViewerBaseprotected java.lang.Runnable computeDifferences(ProgressIndicator indicator)
protected java.lang.Runnable apply(java.util.List<SimpleDiffChange> changes, boolean isContentsEqual)
protected java.lang.Runnable applyNotification(javax.swing.JComponent notification)
protected void onBeforeDocumentChange(DocumentEvent e)
onBeforeDocumentChange in class ListenerDiffViewerBaseprotected boolean doScrollToChange(DiffUserDataKeysEx.ScrollToPolicy scrollToPolicy)
protected boolean doScrollToContext(DiffNavigationContext context)
protected java.util.List<SimpleDiffChange> getDiffChanges()
protected SyncScrollSupport.SyncScrollable getSyncScrollable()
getSyncScrollable in class TwosideTextDiffViewerprotected StatusPanel getStatusPanel()
getStatusPanel in class DiffViewerBasepublic KeyboardModifierListener getModifierProvider()
public SyncScrollSupport.TwosideSyncScrollSupport getSyncScrollSupport()
getSyncScrollSupport in class TwosideTextDiffViewerprotected boolean isEditable(Side side)
public static boolean canShowRequest(DiffContext context, DiffRequest request)
protected boolean isSomeChangeSelected(Side side)
protected java.util.List<SimpleDiffChange> getSelectedChanges(Side side)
protected SimpleDiffChange getSelectedChange(Side side)
public void replaceChange(SimpleDiffChange change, Side sourceSide)
public void appendChange(SimpleDiffChange change, Side sourceSide)
public java.lang.Object getData(java.lang.String dataId)
DataProviderPlatformDataKeys class.getData in interface DataProvidergetData in class TwosideTextDiffViewerdataId - the data identifier for which the value is requested.