Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to remove a preference entry?
How to remove a preference entry? [message #282946] Thu, 24 March 2005 03:38 Go to next message
Eclipse UserFriend
Originally posted by: spam.mario-viertel.de

Hi,

I use the org.eclipse.core.runtime.Preferences class to store and load
preferences for a plugin. Such preferences are

user.A=passwd
user.B=passwd
....

It's very easy to load, store and modify this preferences. But I don't know
how to remove an entry, e.g. prefs.remove("user.A")!

How do I this?

TIA
Mario

--
eMail: mail at mario-viertel.de
Re: How to remove a preference entry? [message #283002 is a reply to message #282946] Thu, 24 March 2005 11:05 Go to previous message
Eclipse UserFriend
Originally posted by: dj_houghton.nospam.ca.ibm.com

See: Preferences#setToDefault


Mario Viertel wrote:
> Hi,
>
> I use the org.eclipse.core.runtime.Preferences class to store and load
> preferences for a plugin. Such preferences are
>
> user.A=passwd
> user.B=passwd
> ...
>
> It's very easy to load, store and modify this preferences. But I don't know
> how to remove an entry, e.g. prefs.remove("user.A")!
>
> How do I this?
>
> TIA
> Mario
>
> --
> eMail: mail at mario-viertel.de
>
>
Previous Topic:java.lang.ClassFormatError: (Illegal UTF8 string in constant pool)
Next Topic:Cannot load eclipse.ui class when running plugin
Goto Forum:
  


Current Time: Sat Sep 13 17:02:14 EDT 2025

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

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

Back to the top