public class VariablesPlugin extends Plugin
Modifier and Type | Field and Description |
---|---|
static int |
INTERNAL_ERROR
Status code indicating an unexpected internal error.
|
static String |
PI_CORE_VARIABLES
Unique identifier constant (value
"org.eclipse.core.variables" )
for the Core Variables plug-in. |
static int |
REFERENCE_CYCLE_ERROR
Status code indicating a variable reference cycle error.
|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
Constructor and Description |
---|
VariablesPlugin()
Constructs an instance of this plug-in runtime class.
|
Modifier and Type | Method and Description |
---|---|
static VariablesPlugin |
getDefault()
Returns this plug-in instance.
|
IStringVariableManager |
getStringVariableManager()
Returns the string variable manager.
|
static String |
getUniqueIdentifier()
Convenience method which returns the unique identifier of this plug-in.
|
static void |
log(IStatus status)
Logs the specified status with this plug-in's log.
|
static void |
log(Throwable t)
Logs the specified throwable with this plug-in's log.
|
static void |
logMessage(String message,
Throwable throwable)
Logs the given message with this plug-in's log and the given
throwable or
null if none. |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, stop, toString
public static final int INTERNAL_ERROR
public static final int REFERENCE_CYCLE_ERROR
public static final String PI_CORE_VARIABLES
"org.eclipse.core.variables"
)
for the Core Variables plug-in.public VariablesPlugin()
An instance of this plug-in runtime class is automatically created when the facilities provided by the Variables plug-in are required. Clients must never explicitly instantiate a plug-in runtime class.
public static VariablesPlugin getDefault()
public static void log(Throwable t)
t
- throwable to logpublic static void logMessage(String message, Throwable throwable)
null
if none.message
- the message to logthrowable
- the exception that occurred or null
if nonepublic static void log(IStatus status)
status
- status to logpublic static String getUniqueIdentifier()
public IStringVariableManager getStringVariableManager()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.