public abstract class ChangeListManager extends java.lang.Object implements ChangeListModification
Constructor and Description |
---|
ChangeListManager() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addChangeListListener(ChangeListListener listener)
Prefer using
ChangeListListener.TOPIC |
abstract void |
addChangeListListener(ChangeListListener listener,
Disposable disposable)
Prefer using
ChangeListListener.TOPIC |
abstract void |
addDirectoryToIgnoreImplicitly(java.lang.String path)
Deprecated.
All potential ignores should be contributed to VCS native ignores by corresponding
IgnoredFileProvider . |
abstract void |
addFilesToIgnore(IgnoredFileBean... ignoredFiles)
Deprecated.
All potential ignores should be contributed to VCS native ignores by corresponding
IgnoredFileProvider . |
abstract void |
commitChanges(LocalChangeList changeList,
java.util.List<? extends Change> changes) |
abstract LocalChangeList |
findChangeList(java.lang.String name) |
abstract java.util.List<VirtualFile> |
getAffectedFiles() |
abstract java.util.List<java.io.File> |
getAffectedPaths() |
abstract java.util.Collection<Change> |
getAllChanges() |
abstract Change |
getChange(FilePath file) |
abstract Change |
getChange(VirtualFile file) |
abstract LocalChangeList |
getChangeList(Change change) |
abstract LocalChangeList |
getChangeList(java.lang.String id) |
abstract LocalChangeList |
getChangeList(VirtualFile file) |
abstract java.lang.String |
getChangeListNameIfOnlyOne(Change[] changes) |
abstract java.util.List<LocalChangeList> |
getChangeLists() |
abstract java.util.List<LocalChangeList> |
getChangeLists(Change change) |
abstract java.util.List<LocalChangeList> |
getChangeLists(VirtualFile file) |
java.util.List<LocalChangeList> |
getChangeListsCopy() |
abstract int |
getChangeListsNumber() |
abstract java.util.Collection<Change> |
getChangesIn(FilePath path) |
abstract java.util.Collection<Change> |
getChangesIn(VirtualFile dir) |
abstract LocalChangeList |
getDefaultChangeList()
Currently active change list.
|
abstract java.lang.String |
getDefaultListName() |
abstract IgnoredFileBean [] |
getFilesToIgnore()
Deprecated.
All potential ignores should be contributed to VCS native ignores by corresponding
IgnoredFileProvider . |
static ChangeListManager |
getInstance(Project project) |
abstract java.util.List<VirtualFile> |
getModifiedWithoutEditing() |
abstract java.util.List<CommitExecutor> |
getRegisteredExecutors() |
abstract FileStatus |
getStatus(VirtualFile file) |
abstract java.lang.String |
getSwitchedBranch(VirtualFile file) |
abstract AbstractVcs |
getVcsFor(Change change) |
abstract ThreeState |
haveChangesUnder(VirtualFile vf) |
abstract void |
invokeAfterUpdate(java.lang.Runnable afterUpdate,
InvokeAfterUpdateMode mode,
java.lang.String title,
Consumer<? super VcsDirtyScopeManager> dirtyScopeManager,
ModalityState state)
|
abstract void |
invokeAfterUpdate(java.lang.Runnable afterUpdate,
InvokeAfterUpdateMode mode,
java.lang.String title,
ModalityState state) |
abstract boolean |
isFileAffected(VirtualFile file) |
abstract java.lang.String |
isFreezed() |
abstract boolean |
isFreezedWithNotification(java.lang.String modalTitle) |
abstract boolean |
isIgnoredFile(FilePath file) |
abstract boolean |
isIgnoredFile(VirtualFile file) |
abstract boolean |
isUnversioned(VirtualFile file) |
abstract void |
registerCommitExecutor(CommitExecutor executor) |
abstract void |
removeChangeListListener(ChangeListListener listener) |
abstract void |
removeImplicitlyIgnoredDirectory(java.lang.String path)
Deprecated.
All potential ignores should be contributed to VCS native ignores by corresponding
IgnoredFileProvider . |
abstract void |
reopenFiles(java.util.List<? extends FilePath> paths)
Deprecated.
|
abstract void |
scheduleAutomaticEmptyChangeListDeletion(LocalChangeList list) |
abstract void |
scheduleAutomaticEmptyChangeListDeletion(LocalChangeList list,
boolean silently) |
abstract void |
scheduleUpdate() |
void |
scheduleUpdate(boolean updateUnversionedFiles)
Deprecated.
use
scheduleUpdate() |
abstract void |
setFilesToIgnore(IgnoredFileBean... ignoredFiles)
Deprecated.
All potential ignores should be contributed to VCS native ignores by corresponding
IgnoredFileProvider . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChangeList, editComment, editName, moveChangesTo, removeChangeList, removeChangeList, setDefaultChangeList, setDefaultChangeList, setReadOnly
public static ChangeListManager getInstance(Project project)
public abstract void scheduleUpdate()
@Deprecated public void scheduleUpdate(boolean updateUnversionedFiles)
scheduleUpdate()
public abstract void invokeAfterUpdate(java.lang.Runnable afterUpdate, InvokeAfterUpdateMode mode, java.lang.String title, ModalityState state)
@Deprecated public abstract void invokeAfterUpdate(java.lang.Runnable afterUpdate, InvokeAfterUpdateMode mode, java.lang.String title, Consumer<? super VcsDirtyScopeManager> dirtyScopeManager, ModalityState state)
public abstract int getChangeListsNumber()
public java.util.List<LocalChangeList> getChangeListsCopy()
public abstract java.util.List<LocalChangeList> getChangeLists()
public abstract java.util.Collection<Change> getAllChanges()
public abstract LocalChangeList getDefaultChangeList()
public abstract java.lang.String getDefaultListName()
public abstract java.util.List<java.io.File> getAffectedPaths()
public abstract java.util.List<VirtualFile> getAffectedFiles()
public abstract boolean isFileAffected(VirtualFile file)
public abstract LocalChangeList findChangeList(java.lang.String name)
public abstract LocalChangeList getChangeList(java.lang.String id)
public abstract java.util.List<LocalChangeList> getChangeLists(Change change)
public abstract java.util.List<LocalChangeList> getChangeLists(VirtualFile file)
public abstract LocalChangeList getChangeList(Change change)
public abstract LocalChangeList getChangeList(VirtualFile file)
public abstract java.lang.String getChangeListNameIfOnlyOne(Change[] changes)
public abstract Change getChange(VirtualFile file)
public abstract FileStatus getStatus(VirtualFile file)
public abstract boolean isUnversioned(VirtualFile file)
public abstract java.util.Collection<Change> getChangesIn(VirtualFile dir)
public abstract ThreeState haveChangesUnder(VirtualFile vf)
public abstract AbstractVcs getVcsFor(Change change)
public abstract void addChangeListListener(ChangeListListener listener, Disposable disposable)
ChangeListListener.TOPIC
public abstract void addChangeListListener(ChangeListListener listener)
ChangeListListener.TOPIC
public abstract void removeChangeListListener(ChangeListListener listener)
public abstract void registerCommitExecutor(CommitExecutor executor)
public abstract java.util.List<CommitExecutor> getRegisteredExecutors()
public abstract void commitChanges(LocalChangeList changeList, java.util.List<? extends Change> changes)
public abstract void scheduleAutomaticEmptyChangeListDeletion(LocalChangeList list)
public abstract void scheduleAutomaticEmptyChangeListDeletion(LocalChangeList list, boolean silently)
@Deprecated public abstract IgnoredFileBean [] getFilesToIgnore()
IgnoredFileProvider
.public abstract boolean isIgnoredFile(VirtualFile file)
public abstract boolean isIgnoredFile(FilePath file)
@Deprecated public abstract void setFilesToIgnore(IgnoredFileBean... ignoredFiles)
IgnoredFileProvider
.@Deprecated public abstract void addFilesToIgnore(IgnoredFileBean... ignoredFiles)
IgnoredFileProvider
.@Deprecated public abstract void addDirectoryToIgnoreImplicitly(java.lang.String path)
IgnoredFileProvider
.@Deprecated public abstract void removeImplicitlyIgnoredDirectory(java.lang.String path)
IgnoredFileProvider
.public abstract java.util.List<VirtualFile> getModifiedWithoutEditing()
public abstract java.lang.String getSwitchedBranch(VirtualFile file)
public abstract java.lang.String isFreezed()
public abstract boolean isFreezedWithNotification(java.lang.String modalTitle)
@Deprecated public abstract void reopenFiles(java.util.List<? extends FilePath> paths)