|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.internal.resources.LocalMetaArea
public class LocalMetaArea
Field Summary |
---|
Constructor Summary | |
---|---|
LocalMetaArea()
|
Method Summary | |
---|---|
void |
clearOldDescription(IProject target)
For backwards compatibility, if there is a project at the old project description location, delete it. |
void |
create(IProject target)
|
void |
createMetaArea()
Creates the meta area root directory. |
void |
delete(IProject target)
The project is being deleted. |
org.eclipse.core.runtime.IPath |
getBackupLocationFor(org.eclipse.core.runtime.IPath file)
|
org.eclipse.core.runtime.IPath |
getHistoryStoreLocation()
|
org.eclipse.core.runtime.IPath |
getLocation()
Returns the local file system location which contains the META data for the resources plugin (i.e., the entire workspace). |
org.eclipse.core.runtime.IPath |
getMarkersLocationFor(IResource resource)
Returns the path of the file in which to save markers for the given resource. |
org.eclipse.core.runtime.IPath |
getMarkersSnapshotLocationFor(IResource resource)
Returns the path of the file in which to snapshot markers for the given resource. |
org.eclipse.core.runtime.IPath |
getOldDescriptionLocationFor(IProject target)
The project description file is the only metadata file stored outside the metadata area. |
org.eclipse.core.runtime.IPath |
getOldWorkspaceDescriptionLocation()
|
org.eclipse.core.runtime.IPath |
getPropertyStoreLocation(IResource resource)
|
org.eclipse.core.runtime.IPath |
getSafeTableLocationFor(java.lang.String pluginId)
|
org.eclipse.core.runtime.IPath |
getSnapshotLocationFor(IResource resource)
|
org.eclipse.core.runtime.IPath |
getSyncInfoLocationFor(IResource resource)
Returns the path of the file in which to save the sync information for the given resource. |
org.eclipse.core.runtime.IPath |
getSyncInfoSnapshotLocationFor(IResource resource)
Returns the path of the file in which to snapshot the sync information for the given resource. |
org.eclipse.core.runtime.IPath |
getTreeLocationFor(IResource target,
boolean updateSequenceNumber)
Returns the local file system location of the tree file for the given resource. |
org.eclipse.core.runtime.IPath |
getWorkingLocation(IResource resource,
java.lang.String id)
|
boolean |
hasSavedProject(IProject project)
|
boolean |
hasSavedWorkspace()
|
org.eclipse.core.runtime.IPath |
locationFor(org.eclipse.core.runtime.IPath resourcePath)
Returns the local file system location in which the meta data for the resource with the given path is stored. |
org.eclipse.core.runtime.IPath |
locationFor(IResource resource)
Returns the local file system location in which the meta data for the given resource is stored. |
ProjectDescription |
readOldDescription(IProject project)
Reads and returns the project description for the given project. |
WorkspaceDescription |
readOldWorkspace()
Provides backward compatibility with existing workspaces based on descriptions. |
void |
readPrivateDescription(IProject target,
IProjectDescription description)
Returns the portions of the project description that are private, and adds them to the supplied project description. |
void |
write(WorkspaceDescription description)
Deprecated. should not be called any more - workspace preferences are now maintained in the plug-in's preferences |
void |
writePrivateDescription(IProject target)
Write the private project description information, including the location and the dynamic project references. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalMetaArea()
Method Detail |
---|
public void clearOldDescription(IProject target)
public void create(IProject target)
public void createMetaArea() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void delete(IProject target) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public org.eclipse.core.runtime.IPath getBackupLocationFor(org.eclipse.core.runtime.IPath file)
public org.eclipse.core.runtime.IPath getHistoryStoreLocation()
public org.eclipse.core.runtime.IPath getLocation()
public org.eclipse.core.runtime.IPath getMarkersLocationFor(IResource resource)
public org.eclipse.core.runtime.IPath getMarkersSnapshotLocationFor(IResource resource)
public org.eclipse.core.runtime.IPath getOldDescriptionLocationFor(IProject target)
public org.eclipse.core.runtime.IPath getOldWorkspaceDescriptionLocation()
public org.eclipse.core.runtime.IPath getPropertyStoreLocation(IResource resource)
public org.eclipse.core.runtime.IPath getSafeTableLocationFor(java.lang.String pluginId)
public org.eclipse.core.runtime.IPath getSnapshotLocationFor(IResource resource)
public org.eclipse.core.runtime.IPath getSyncInfoLocationFor(IResource resource)
public org.eclipse.core.runtime.IPath getSyncInfoSnapshotLocationFor(IResource resource)
public org.eclipse.core.runtime.IPath getTreeLocationFor(IResource target, boolean updateSequenceNumber)
public org.eclipse.core.runtime.IPath getWorkingLocation(IResource resource, java.lang.String id)
public boolean hasSavedProject(IProject project)
public boolean hasSavedWorkspace()
public org.eclipse.core.runtime.IPath locationFor(org.eclipse.core.runtime.IPath resourcePath)
public org.eclipse.core.runtime.IPath locationFor(IResource resource)
public ProjectDescription readOldDescription(IProject project) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public WorkspaceDescription readOldWorkspace()
public void readPrivateDescription(IProject target, IProjectDescription description)
null
if the default
location should be used. In the case of failure, log the exception and
return silently, thus reverting to using the default location and no
dynamic references. The current format of the location file is:
UTF - project location
int - number of dynamic project references
UTF - project reference 1
... repeat for remaining references
public void write(WorkspaceDescription description) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void writePrivateDescription(IProject target) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |