public abstract class FileDifferenceModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected IdeaGateway |
myGateway |
protected Project |
myProject |
Modifier | Constructor and Description |
---|---|
protected |
FileDifferenceModel(Project p,
IdeaGateway gw,
boolean currentRightContent) |
Modifier and Type | Method and Description |
---|---|
protected abstract DiffContent |
doGetLeftDiffContent(RevisionProcessingProgress p) |
protected Document |
getDocument() |
protected abstract DiffContent |
getEditableRightDiffContent(RevisionProcessingProgress p) |
DiffContent |
getLeftDiffContent(RevisionProcessingProgress p) |
protected abstract Entry |
getLeftEntry() |
java.lang.String |
getLeftTitle(RevisionProcessingProgress p) |
protected abstract DiffContent |
getReadOnlyRightDiffContent(RevisionProcessingProgress p) |
DiffContent |
getRightDiffContent(RevisionProcessingProgress p) |
protected abstract Entry |
getRightEntry() |
java.lang.String |
getRightTitle(RevisionProcessingProgress p) |
java.lang.String |
getTitle() |
protected abstract boolean |
isLeftContentAvailable(RevisionProcessingProgress p) |
protected abstract boolean |
isRightContentAvailable(RevisionProcessingProgress p) |
protected final Project myProject
protected final IdeaGateway myGateway
protected FileDifferenceModel(Project p, IdeaGateway gw, boolean currentRightContent)
public java.lang.String getTitle()
public java.lang.String getLeftTitle(RevisionProcessingProgress p)
public java.lang.String getRightTitle(RevisionProcessingProgress p)
protected abstract Entry getLeftEntry()
protected abstract Entry getRightEntry()
public DiffContent getLeftDiffContent(RevisionProcessingProgress p)
public DiffContent getRightDiffContent(RevisionProcessingProgress p)
protected abstract boolean isLeftContentAvailable(RevisionProcessingProgress p)
protected abstract boolean isRightContentAvailable(RevisionProcessingProgress p)
protected abstract DiffContent doGetLeftDiffContent(RevisionProcessingProgress p)
protected abstract DiffContent getReadOnlyRightDiffContent(RevisionProcessingProgress p)
protected abstract DiffContent getEditableRightDiffContent(RevisionProcessingProgress p)
protected Document getDocument()