public final class Registry
extends java.lang.Object
<registryKey>
extension point (see com.intellij.openapi.util.registry.RegistryKeyBean
for more details).Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REGISTRY_BUNDLE |
Constructor and Description |
---|
Registry() |
Modifier and Type | Method and Description |
---|---|
static void |
addKey(java.lang.String key,
java.lang.String description,
int defaultValue,
boolean restartRequired)
Deprecated.
Use extension point `com.intellij.registryKey`.
|
static void |
addKeys(java.util.List<com.intellij.openapi.util.registry.RegistryKeyDescriptor> descriptors) |
static double |
doubleValue(java.lang.String key) |
static RegistryValue |
get(java.lang.String key) |
static java.util.List<RegistryValue> |
getAll() |
java.lang.String |
getBundleValue(java.lang.String key,
boolean mustExist) |
static java.awt.Color |
getColor(java.lang.String key,
java.awt.Color defaultValue) |
static Registry |
getInstance() |
Element |
getState() |
java.util.Map<java.lang.String,java.lang.String> |
getUserProperties() |
static int |
intValue(java.lang.String key) |
static int |
intValue(java.lang.String key,
int defaultValue) |
static boolean |
is(java.lang.String key) |
static boolean |
is(java.lang.String key,
boolean defaultValue) |
boolean |
isLoaded() |
boolean |
isRestartNeeded() |
void |
loadState(Element state) |
void |
markAsLoaded() |
static void |
removeKey(java.lang.String key) |
static java.lang.String |
stringValue(java.lang.String key) |
public static final java.lang.String REGISTRY_BUNDLE
public static RegistryValue get(java.lang.String key)
public static boolean is(java.lang.String key) throws java.util.MissingResourceException
java.util.MissingResourceException
public static boolean is(java.lang.String key, boolean defaultValue)
public static int intValue(java.lang.String key) throws java.util.MissingResourceException
java.util.MissingResourceException
public static int intValue(java.lang.String key, int defaultValue)
public static double doubleValue(java.lang.String key) throws java.util.MissingResourceException
java.util.MissingResourceException
public static java.lang.String stringValue(java.lang.String key) throws java.util.MissingResourceException
java.util.MissingResourceException
public static java.awt.Color getColor(java.lang.String key, java.awt.Color defaultValue) throws java.util.MissingResourceException
java.util.MissingResourceException
public java.lang.String getBundleValue(java.lang.String key, boolean mustExist) throws java.util.MissingResourceException
java.util.MissingResourceException
public static Registry getInstance()
public Element getState()
public void loadState(Element state)
public void markAsLoaded()
public boolean isLoaded()
public java.util.Map<java.lang.String,java.lang.String> getUserProperties()
public static java.util.List<RegistryValue> getAll()
public boolean isRestartNeeded()
public static void addKeys(java.util.List<com.intellij.openapi.util.registry.RegistryKeyDescriptor> descriptors)
public static void removeKey(java.lang.String key)
@Deprecated public static void addKey(java.lang.String key, java.lang.String description, int defaultValue, boolean restartRequired)