com.ibm.jdg2e.usersettings
Class UserSettingsPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bycom.ibm.jdg2e.usersettings.UserSettingsPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class UserSettingsPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin

The com.ibm.jdg2e.usersettings Plugin singleton..


Field Summary
static java.lang.String DEFAULT_CASCADED
          Default value for cascaded scope calls.
static java.lang.String DEFAULT_CONFIG
          Default value for configuration scope calls.
static java.lang.String DEFAULT_DEFAULT
          Default value of last resort.
static java.lang.String DEFAULT_INSTANCE
          Default value for instance scope calls.
static java.lang.String DEFAULT_PROJECT
          Default value for project scope calls.
static java.lang.String PLUGIN_PROPERTY
          Convenience string; avoids calls to bundle and symbolic name.
static java.lang.String PREF_KEY1
          Key value.
static java.lang.String PREF_KEY2
          Key value.
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
UserSettingsPlugin()
          The constructor.
 
Method Summary
static UserSettingsPlugin getDefault()
           
 java.util.ResourceBundle getResourceBundle()
           
static java.lang.String getResourceString(java.lang.String key)
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup, stop
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_CASCADED

public static final java.lang.String DEFAULT_CASCADED
Default value for cascaded scope calls.

See Also:
Constant Field Values

DEFAULT_CONFIG

public static final java.lang.String DEFAULT_CONFIG
Default value for configuration scope calls.

See Also:
Constant Field Values

DEFAULT_DEFAULT

public static final java.lang.String DEFAULT_DEFAULT
Default value of last resort.

See Also:
Constant Field Values

DEFAULT_INSTANCE

public static final java.lang.String DEFAULT_INSTANCE
Default value for instance scope calls.

See Also:
Constant Field Values

DEFAULT_PROJECT

public static final java.lang.String DEFAULT_PROJECT
Default value for project scope calls.

See Also:
Constant Field Values

PLUGIN_PROPERTY

public static final java.lang.String PLUGIN_PROPERTY
Convenience string; avoids calls to bundle and symbolic name.

See Also:
Constant Field Values

PREF_KEY1

public static final java.lang.String PREF_KEY1
Key value.

See Also:
Constant Field Values

PREF_KEY2

public static final java.lang.String PREF_KEY2
Key value.

See Also:
Constant Field Values
Constructor Detail

UserSettingsPlugin

public UserSettingsPlugin()
The constructor.

Method Detail

getDefault

public static UserSettingsPlugin getDefault()
Returns:
Returns the shared instance.

getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns:
the plugin's resource bundle.

getResourceString

public static java.lang.String getResourceString(java.lang.String key)
Parameters:
key -
Returns:
the string from the plugin's resource bundle, or 'key' if not found.