Class ExecutableExtension<T>
java.lang.Object
org.eclipse.launchbar.core.internal.ExecutableExtension<T>
- Type Parameters:
T
- the type of the object created
A wrapper class that delays instantiation of classes until they're needed
to prevent early plug-in loading.
-
Constructor Summary
ConstructorsConstructorDescriptionExecutableExtension
(org.eclipse.core.runtime.IConfigurationElement element, String propertyName) ExecutableExtension
(T object) -
Method Summary
-
Constructor Details
-
ExecutableExtension
public ExecutableExtension(org.eclipse.core.runtime.IConfigurationElement element, String propertyName) -
ExecutableExtension
-
-
Method Details
-
get
Get the object instantiating it if necessary.- Returns:
- object
- Throws:
org.eclipse.core.runtime.CoreException
-
create
Creates a new object. Can't be done if you've done a get already.- Returns:
- a new object from the extension or null if get was called earlier
- Throws:
org.eclipse.core.runtime.CoreException
-