public class RootsAsVirtualFilePointers extends java.lang.Object implements RootProvider
RootProvider.RootSetChangedListener
Modifier and Type | Method and Description |
---|---|
void |
addRoot(java.lang.String url,
OrderRootType type) |
void |
addRoot(VirtualFile virtualFile,
OrderRootType type) |
void |
addRootSetChangedListener(RootProvider.RootSetChangedListener listener) |
void |
addRootSetChangedListener(RootProvider.RootSetChangedListener listener,
Disposable parentDisposable) |
VirtualFile [] |
getFiles(OrderRootType type) |
java.lang.String [] |
getUrls(OrderRootType type) |
void |
readExternal(Element element) |
void |
removeAllRoots() |
void |
removeAllRoots(OrderRootType type) |
void |
removeRoot(java.lang.String url,
OrderRootType type) |
void |
removeRoot(VirtualFile root,
OrderRootType type) |
void |
removeRootSetChangedListener(RootProvider.RootSetChangedListener listener) |
void |
writeExternal(Element element) |
public VirtualFile [] getFiles(OrderRootType type)
getFiles
in interface RootProvider
public java.lang.String [] getUrls(OrderRootType type)
getUrls
in interface RootProvider
public void addRoot(VirtualFile virtualFile, OrderRootType type)
public void addRoot(java.lang.String url, OrderRootType type)
public void removeAllRoots(OrderRootType type)
public void removeRoot(VirtualFile root, OrderRootType type)
public void removeRoot(java.lang.String url, OrderRootType type)
public void removeAllRoots()
public void readExternal(Element element)
public void writeExternal(Element element)
public void addRootSetChangedListener(RootProvider.RootSetChangedListener listener)
addRootSetChangedListener
in interface RootProvider
public void addRootSetChangedListener(RootProvider.RootSetChangedListener listener, Disposable parentDisposable)
addRootSetChangedListener
in interface RootProvider
public void removeRootSetChangedListener(RootProvider.RootSetChangedListener listener)
removeRootSetChangedListener
in interface RootProvider