public class PartialChangesUtil
extends java.lang.Object
Constructor and Description |
---|
PartialChangesUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
computeUnderChangeList(Project project,
LocalChangeList targetChangeList,
java.lang.String title,
Computable<T> task,
boolean shouldAwaitCLMRefresh) |
static ThreeStateCheckBox.State |
convertExclusionState(ExclusionState exclusionState) |
static PartialLocalLineStatusTracker |
getPartialTracker(Project project,
Change change) |
static PartialLocalLineStatusTracker |
getPartialTracker(Project project,
VirtualFile file) |
static VirtualFile |
getVirtualFile(Change change) |
static java.util.List<Change> |
processPartialChanges(Project project,
java.util.Collection<? extends Change> changes,
boolean executeOnEDT,
PairFunction<? super java.util.List<ChangeListChange>,? super PartialLocalLineStatusTracker,java.lang.Boolean> partialProcessor) |
static void |
runUnderChangeList(Project project,
LocalChangeList targetChangeList,
java.lang.Runnable task) |
public static PartialLocalLineStatusTracker getPartialTracker(Project project, Change change)
public static PartialLocalLineStatusTracker getPartialTracker(Project project, VirtualFile file)
public static VirtualFile getVirtualFile(Change change)
public static java.util.List<Change> processPartialChanges(Project project, java.util.Collection<? extends Change> changes, boolean executeOnEDT, PairFunction<? super java.util.List<ChangeListChange>,? super PartialLocalLineStatusTracker,java.lang.Boolean> partialProcessor)
public static void runUnderChangeList(Project project, LocalChangeList targetChangeList, java.lang.Runnable task)
public static <T> T computeUnderChangeList(Project project, LocalChangeList targetChangeList, java.lang.String title, Computable<T> task, boolean shouldAwaitCLMRefresh)
public static ThreeStateCheckBox.State convertExclusionState(ExclusionState exclusionState)