Package org.eclipse.core.variables
Class VariablesPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.core.variables.VariablesPlugin
- All Implemented Interfaces:
BundleActivator
The plug-in runtime class for the Core Variables plug-in.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intStatus code indicating an unexpected internal error.static final StringUnique identifier constant (value"org.eclipse.core.variables") for the Core Variables plug-in.static final intStatus code indicating a variable reference cycle error.Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VariablesPluginReturns this plug-in instance.Returns the string variable manager.static StringConvenience method which returns the unique identifier of this plug-in.static voidLogs the specified throwable with this plug-in's log.static voidLogs the specified status with this plug-in's log.static voidlogMessage(String message, Throwable throwable) Logs the given message with this plug-in's log and the given throwable ornullif none.Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, stop, toString
-
Field Details
-
INTERNAL_ERROR
public static final int INTERNAL_ERRORStatus code indicating an unexpected internal error.- See Also:
-
REFERENCE_CYCLE_ERROR
public static final int REFERENCE_CYCLE_ERRORStatus code indicating a variable reference cycle error.- See Also:
-
PI_CORE_VARIABLES
Unique identifier constant (value"org.eclipse.core.variables") for the Core Variables plug-in.- See Also:
-
-
Constructor Details
-
VariablesPlugin
public VariablesPlugin()Constructs an instance of this plug-in runtime class.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.
-
-
Method Details
-
getDefault
Returns this plug-in instance.- Returns:
- the single instance of this plug-in runtime class
-
log
Logs the specified throwable with this plug-in's log.- Parameters:
t- throwable to log
-
logMessage
Logs the given message with this plug-in's log and the given throwable ornullif none.- Parameters:
message- the message to logthrowable- the exception that occurred ornullif none
-
log
Logs the specified status with this plug-in's log.- Parameters:
status- status to log
-
getUniqueIdentifier
Convenience method which returns the unique identifier of this plug-in.- Returns:
- the identifier of this plug-in
-
getStringVariableManager
Returns the string variable manager.- Returns:
- the string variable manager
-