|
|
|
|
Uses of Class org.eclipse.core.runtime.Preferences
Methods in
org.eclipse.core.runtime that return
Preferences
|
Preferences
|
Plugin.
getPluginPreferences
()
Deprecated. Replaced by
IEclipsePreferences . Preferences are now stored according
to scopes in the
IPreferencesService . The return value of this method corresponds to
a combination of the
InstanceScope and the
DefaultScope . To set preferences
for your plug-in, use new InstanceScope().getNode(<&yourPluginId>). To set default
preferences for your plug-in, use new DefaultScope().getNode(<yourPluginId>).
To lookup an integer preference value for your plug-in, use
Platform.getPreferencesService().getInt(<yourPluginId>, <preferenceKey>, <defaultValue>, null).
Similar methods exist on
IPreferencesService for obtaining other kinds
of preference values (strings, booleans, etc).
|
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|