public abstract class HistoryDialog<T extends HistoryDialogModel>
extends FrameWrapper
Modifier and Type | Class and Description |
---|---|
protected class |
HistoryDialog.MyAction |
Modifier and Type | Field and Description |
---|---|
protected VirtualFile |
myFile |
protected IdeaGateway |
myGateway |
protected Project |
myProject |
Modifier | Constructor and Description |
---|---|
protected |
HistoryDialog(Project project,
IdeaGateway gw,
VirtualFile f,
boolean doInit) |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JComponent |
createComponent() |
protected ContentDiffRequest |
createDifference(FileDifferenceModel m) |
protected abstract Pair<javax.swing.JComponent,java.awt.Dimension> |
createDiffPanel(javax.swing.JPanel root,
ExcludingTraversalPolicy traversalPolicy) |
protected abstract T |
createModel(LocalHistoryFacade vcs) |
void |
dispose() |
protected abstract java.lang.Runnable |
doUpdateDiffs(T model) |
protected java.lang.String |
getDimensionKey() |
protected abstract java.lang.String |
getHelpId() |
protected void |
init() |
protected void |
revert() |
protected void |
revert(Reverter r) |
protected void |
scheduleRevisionsUpdate(Consumer<? super T> configRunnable) |
protected abstract void |
setDiffBorder(javax.swing.border.Border border) |
void |
showError(java.lang.String s) |
protected boolean |
showRevisionsList() |
protected void |
updateActions() |
protected final Project myProject
protected final IdeaGateway myGateway
protected final VirtualFile myFile
protected HistoryDialog(Project project, IdeaGateway gw, VirtualFile f, boolean doInit)
protected java.lang.String getDimensionKey()
protected void init()
protected abstract T createModel(LocalHistoryFacade vcs)
protected javax.swing.JComponent createComponent()
protected boolean showRevisionsList()
protected abstract void setDiffBorder(javax.swing.border.Border border)
public void dispose()
protected abstract Pair<javax.swing.JComponent,java.awt.Dimension> createDiffPanel(javax.swing.JPanel root, ExcludingTraversalPolicy traversalPolicy)
protected void updateActions()
protected abstract java.lang.Runnable doUpdateDiffs(T model)
protected ContentDiffRequest createDifference(FileDifferenceModel m)
protected abstract java.lang.String getHelpId()
protected void revert()
protected void revert(Reverter r)
public void showError(java.lang.String s)