|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.internal.properties.PropertyManager2
public class PropertyManager2
IPropertyManager
Constructor Summary | |
---|---|
PropertyManager2(Workspace workspace)
|
Method Summary | |
---|---|
void |
closePropertyStore(IResource target)
Closes the property store for a resource |
void |
copy(IResource source,
IResource destination,
int depth)
Copy all the properties of one resource to another. |
void |
deleteProperties(IResource target,
int depth)
Deletes all properties for the given resource and its children. |
void |
deleteResource(IResource target)
The resource is being deleted so permanently erase its properties. |
java.util.Map |
getProperties(IResource target)
Returns a map ( |
java.lang.String |
getProperty(IResource target,
org.eclipse.core.runtime.QualifiedName name)
Returns the value of the identified property on the given resource as maintained by this store. |
BucketTree |
getTree()
|
java.io.File |
getVersionFile()
|
void |
setProperty(IResource target,
org.eclipse.core.runtime.QualifiedName name,
java.lang.String value)
Sets the value of the identified property on the given resource. |
void |
shutdown(org.eclipse.core.runtime.IProgressMonitor monitor)
|
void |
startup(org.eclipse.core.runtime.IProgressMonitor monitor)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyManager2(Workspace workspace)
Method Detail |
---|
public void closePropertyStore(IResource target) throws org.eclipse.core.runtime.CoreException
IPropertyManager
closePropertyStore
in interface IPropertyManager
target
- The resource to close the property store for
org.eclipse.core.runtime.CoreException
public void copy(IResource source, IResource destination, int depth) throws org.eclipse.core.runtime.CoreException
IPropertyManager
copy
in interface IPropertyManager
org.eclipse.core.runtime.CoreException
public void deleteProperties(IResource target, int depth) throws org.eclipse.core.runtime.CoreException
IPropertyManager
The subtree under the given resource is traversed to the supplied depth.
deleteProperties
in interface IPropertyManager
org.eclipse.core.runtime.CoreException
public void deleteResource(IResource target) throws org.eclipse.core.runtime.CoreException
IPropertyManager
deleteResource
in interface IPropertyManager
org.eclipse.core.runtime.CoreException
public java.util.Map getProperties(IResource target) throws org.eclipse.core.runtime.CoreException
IPropertyManager
getProperties
in interface IPropertyManager
org.eclipse.core.runtime.CoreException
public java.lang.String getProperty(IResource target, org.eclipse.core.runtime.QualifiedName name) throws org.eclipse.core.runtime.CoreException
IPropertyManager
The qualifier part of the property name must be the unique identifier
of the declaring plug-in (e.g. "com.example.plugin"
).
getProperty
in interface IPropertyManager
org.eclipse.core.runtime.CoreException
public BucketTree getTree()
public java.io.File getVersionFile()
public void setProperty(IResource target, org.eclipse.core.runtime.QualifiedName name, java.lang.String value) throws org.eclipse.core.runtime.CoreException
IPropertyManager
The qualifier part of the property name must be the unique identifier
of the declaring plug-in (e.g. "com.example.plugin"
).
setProperty
in interface IPropertyManager
org.eclipse.core.runtime.CoreException
public void shutdown(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
shutdown
in interface IManager
org.eclipse.core.runtime.CoreException
public void startup(org.eclipse.core.runtime.IProgressMonitor monitor)
startup
in interface IManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |