public class SelectionReverter extends Reverter
Constructor and Description |
---|
SelectionReverter(Project p,
LocalHistoryFacade vcs,
IdeaGateway gw,
SelectionCalculator c,
Revision leftRevision,
Entry rightEntry,
int fromLine,
int toLine) |
Modifier and Type | Method and Description |
---|---|
protected void |
doRevert() |
protected java.util.List<VirtualFile> |
getFilesToClearROStatus() |
protected Revision |
getTargetRevision() |
askForReadOnlyStatusClearing, askUserForProceeding, checkCanRevert, getCommandName, revert, selective
public SelectionReverter(Project p, LocalHistoryFacade vcs, IdeaGateway gw, SelectionCalculator c, Revision leftRevision, Entry rightEntry, int fromLine, int toLine)
protected Revision getTargetRevision()
getTargetRevision
in class Reverter
protected java.util.List<VirtualFile> getFilesToClearROStatus() throws java.io.IOException
getFilesToClearROStatus
in class Reverter
java.io.IOException
protected void doRevert() throws java.io.IOException, FilesTooBigForDiffException
doRevert
in class Reverter
java.io.IOException
FilesTooBigForDiffException