Search in sources :

Example 1 with SelectionCalculator

use of com.intellij.history.integration.ui.models.SelectionCalculator in project intellij-community by JetBrains.

the class SelectionReverterTest method createReverter.

private SelectionReverter createReverter(int from, int to) {
    List<Revision> rr = getRevisionsFor(f);
    SelectionCalculator c = new SelectionCalculator(myGateway, rr, from, to);
    Revision leftRev = rr.get(1);
    Entry entry = getRootEntry().getEntry(f.getPath());
    return new SelectionReverter(myProject, getVcs(), myGateway, c, leftRev, entry, from, to);
}
Also used : Entry(com.intellij.history.core.tree.Entry) Revision(com.intellij.history.core.revisions.Revision) SelectionCalculator(com.intellij.history.integration.ui.models.SelectionCalculator)

Aggregations

Revision (com.intellij.history.core.revisions.Revision)1 Entry (com.intellij.history.core.tree.Entry)1 SelectionCalculator (com.intellij.history.integration.ui.models.SelectionCalculator)1