Resources can have properties that hold state information defined by your tool. Resource properties are declared, accessed, and maintained by various plug-ins, and are not interpreted by the platform. When a resource is deleted from the workspace, its properties are also deleted.
There are two kinds of resource properties:
Note: If you have large persistent properties, you should expose these as resources in their own right rather than using the persistent properties API.
Note: If you follow the convention of qualifying property key names with the unique id of your plug-in, you won't have to worry about your property names colliding with those of other plug-ins.
IResource provides protocol (getSessionProperty, setSessionProperty, getPersistentProperty, setPersistentProperty) for using properties.