public class FileSavableResourceMap
extends java.lang.Object
IFiles with ISavableResources in order to save e.g.
remote resources on workspace changes.| Modifier and Type | Method and Description |
|---|---|
ISavableResource |
get(org.eclipse.core.resources.IFile pFile)
Returns the
ISavableResource for a file, if it was stored before
by put(IFile, ISavableResource) or null. |
static FileSavableResourceMap |
getInstance()
Gets the map's singleton instance.
|
java.util.Map<org.eclipse.core.resources.IFile,ISavableResource> |
getMemberMap()
Get the the map of saved members with the corresponding
ISavableResource |
void |
put(org.eclipse.core.resources.IFile pFile,
ISavableResource pRes)
Puts a file and its corresponding
ISavableResource into the map. |
void |
remove(org.eclipse.core.resources.IFile pFile)
Removes a file from the internal map.
|
public static FileSavableResourceMap getInstance()
public void put(org.eclipse.core.resources.IFile pFile,
ISavableResource pRes)
ISavableResource into the map.pFile - the filepRes - the ISavableResourcepublic ISavableResource get(org.eclipse.core.resources.IFile pFile)
ISavableResource for a file, if it was stored before
by put(IFile, ISavableResource) or null.pFile - the file to look fornullpublic void remove(org.eclipse.core.resources.IFile pFile)
ISavableResource) was saved.pFile - the file to be removedpublic java.util.Map<org.eclipse.core.resources.IFile,ISavableResource> getMemberMap()
ISavableResourceCopyright © 2015 Micro Focus GmbH. All rights reserved.