public class DifferenceReverter extends Reverter
Constructor and Description |
---|
DifferenceReverter(Project p,
LocalHistoryFacade vcs,
IdeaGateway gw,
java.util.List<? extends Difference> diffs,
Revision leftRevision) |
Modifier and Type | Method and Description |
---|---|
protected void |
doRevert() |
void |
doRevert(boolean revertContentChanges) |
protected java.util.List<VirtualFile> |
getFilesToClearROStatus() |
protected Revision |
getTargetRevision() |
askForReadOnlyStatusClearing, askUserForProceeding, checkCanRevert, getCommandName, revert, selective
public DifferenceReverter(Project p, LocalHistoryFacade vcs, IdeaGateway gw, java.util.List<? extends Difference> diffs, Revision leftRevision)
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
public void doRevert(boolean revertContentChanges) throws java.io.IOException
java.io.IOException