Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to delete a property associated with resource
How to delete a property associated with resource [message #245998] Wed, 26 May 2004 23:42 Go to next message
Eclipse UserFriend
Originally posted by: ximor_iksivich.Lycos.co.uk

Hi,
My plugin associates data with java projects about the files that are
contained within the project. I use IResource.setPersistentProperty() and
IResource.getPersistentProperty() to handle the setting and getting of
properties. However I have not come across any function that allows me to
delete a property once it has been created. Passing null to the
setPersistentProperty() creates an exception at run time. Could someone
tell me how to fix this?

Thanks,
Ximor.
Re: How to delete a property associated with resource [message #246146 is a reply to message #245998] Thu, 27 May 2004 07:20 Go to previous message
Eclipse UserFriend
Originally posted by: dj_houghton.nospam.ca.ibm.com

Setting a value of null should remove the property. If you are having
problems please enter a bug report against Platform/Core and include
steps to reproduce it as well as the stack trace from the error you are
getting.

ximor wrote:
> Hi,
> My plugin associates data with java projects about the files that are
> contained within the project. I use IResource.setPersistentProperty() and
> IResource.getPersistentProperty() to handle the setting and getting of
> properties. However I have not come across any function that allows me to
> delete a property once it has been created. Passing null to the
> setPersistentProperty() creates an exception at run time. Could someone
> tell me how to fix this?
>
> Thanks,
> Ximor.
>
Previous Topic:Design Strategy for "remote/server" resources
Next Topic:Z80 ASM development implementation?
Goto Forum:
  


Current Time: Sat Sep 27 07:31:21 EDT 2025

Powered by FUDForum. Page generated in 0.05125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top