public class MockDelayingChangeProvider extends java.lang.Object implements ChangeProvider
Constructor and Description |
---|
MockDelayingChangeProvider() |
Modifier and Type | Method and Description |
---|---|
void |
getChanges(VcsDirtyScope dirtyScope,
ChangelistBuilder builder,
ProgressIndicator progress,
ChangeListManagerGate addGate)
Get changes from point of view of VCS.
|
boolean |
isModifiedDocumentTrackingRequired()
Returns true if the initial unsaved modification of a document should cause dirty scope invalidation
for the file corresponding to the document.
|
void |
setTest(java.lang.Runnable runnable) |
void |
unlock() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doCleanup
public void getChanges(VcsDirtyScope dirtyScope, ChangelistBuilder builder, ProgressIndicator progress, ChangeListManagerGate addGate)
ChangeProvider
Get changes from point of view of VCS. The vcs plugin should invoke
methods on the builder
object to report how changes in dirtyScope
map to VCS.
The implementations of this method should not report changes outside of the dirty scope, but if these changes are reported, they will be ignored by the caller.
getChanges
in interface ChangeProvider
dirtyScope
- a changes on the virtual file systembuilder
- a builder of VCS changesprogress
- a current progress objectpublic void setTest(java.lang.Runnable runnable)
public void unlock()
public boolean isModifiedDocumentTrackingRequired()
ChangeProvider
isModifiedDocumentTrackingRequired
in interface ChangeProvider