public abstract class CacheDiffRequestProcessor<T> extends DiffRequestProcessor
Modifier and Type | Class and Description |
---|---|
protected class |
CacheDiffRequestProcessor.ReloadRequestAction |
static class |
CacheDiffRequestProcessor.Simple |
DiffRequestProcessor.MyNextChangeAction, DiffRequestProcessor.MyNextDifferenceAction, DiffRequestProcessor.MyOpenInEditorAction, DiffRequestProcessor.MyPrevChangeAction, DiffRequestProcessor.MyPrevDifferenceAction
Disposable.Parent
myContentPanel, myToolbarWrapper
Constructor and Description |
---|
CacheDiffRequestProcessor(Project project) |
CacheDiffRequestProcessor(Project project,
java.lang.String place) |
CacheDiffRequestProcessor(Project project,
UserDataHolder context) |
Modifier and Type | Method and Description |
---|---|
protected void |
dropCaches() |
protected abstract T |
getCurrentRequestProvider() |
protected int |
getFastLoadingTimeMillis() |
protected abstract java.lang.String |
getRequestName(T provider) |
protected abstract DiffRequest |
loadRequest(T provider,
ProgressIndicator indicator) |
protected DiffRequest |
loadRequestFast(T provider) |
protected void |
onDispose() |
protected void |
reloadRequest() |
void |
updateRequest(boolean force,
boolean useCache,
DiffUserDataKeysEx.ScrollToPolicy scrollToChangePolicy) |
void |
updateRequest(boolean force,
DiffUserDataKeysEx.ScrollToPolicy scrollToChangePolicy) |
applyRequest, applyRequest, buildActionPopup, buildToolbar, collectPopupActions, collectToolbarActions, dispose, getComponent, getContext, getContextUserData, getNavigationActions, getPreferredFocusedComponent, getProject, getSettings, getToolOrderFromSettings, goToNextChange, goToPrevChange, hasNextChange, hasPrevChange, isDisposed, isNavigationEnabled, isWindowFocused, onAfterNavigate, patchShortcutSet, putContextUserData, setWindowTitle, shouldAddToolbarBottomBorder, updateRequest, updateRequest, updateToolOrderSettings
public CacheDiffRequestProcessor(Project project)
public CacheDiffRequestProcessor(Project project, java.lang.String place)
public CacheDiffRequestProcessor(Project project, UserDataHolder context)
protected abstract java.lang.String getRequestName(T provider)
protected abstract T getCurrentRequestProvider()
protected abstract DiffRequest loadRequest(T provider, ProgressIndicator indicator) throws ProcessCanceledException, DiffRequestProducerException
protected void reloadRequest()
reloadRequest
in class DiffRequestProcessor
public void updateRequest(boolean force, DiffUserDataKeysEx.ScrollToPolicy scrollToChangePolicy)
updateRequest
in class DiffRequestProcessor
public void updateRequest(boolean force, boolean useCache, DiffUserDataKeysEx.ScrollToPolicy scrollToChangePolicy)
protected int getFastLoadingTimeMillis()
protected DiffRequest loadRequestFast(T provider)
protected void onDispose()
onDispose
in class DiffRequestProcessor
protected void dropCaches()