org.eclipse.xtext.ui.guice
Class AbstractGuiceAwareExecutableExtensionFactory
java.lang.Object
org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory
- All Implemented Interfaces:
- org.eclipse.core.runtime.IExecutableExtension, org.eclipse.core.runtime.IExecutableExtensionFactory
- Direct Known Subclasses:
- CodetemplatesExecutableExtensionFactory, ExecutableExtensionFactory, ExecutableExtensionFactory, PureXbaseExecutableExtensionFactory, RailroadViewExecutableExtensionRegistry, SharedCommonTypesExecutableExtensionFactory, SingleCodetemplateExecutableExtensionFactory, XbaseExecutableExtensionFactory, XbaseWithAnnotationsExecutableExtensionFactory, XtendExecutableExtensionFactory, XtextExecutableExtensionFactory, XtypeExecutableExtensionFactory
public abstract class AbstractGuiceAwareExecutableExtensionFactory
- extends java.lang.Object
- implements org.eclipse.core.runtime.IExecutableExtensionFactory, org.eclipse.core.runtime.IExecutableExtension
- Author:
- Sven Efftinge - Initial contribution and API
Field Summary |
protected java.lang.String |
clazzName
|
protected org.eclipse.core.runtime.IConfigurationElement |
config
|
static java.lang.String |
GUICEKEY
|
protected org.apache.log4j.Logger |
log
|
Method Summary |
java.lang.Object |
create()
|
protected abstract org.osgi.framework.Bundle |
getBundle()
|
protected abstract com.google.inject.Injector |
getInjector()
|
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUICEKEY
public static final java.lang.String GUICEKEY
- See Also:
- Constant Field Values
log
protected org.apache.log4j.Logger log
clazzName
protected java.lang.String clazzName
config
protected org.eclipse.core.runtime.IConfigurationElement config
AbstractGuiceAwareExecutableExtensionFactory
public AbstractGuiceAwareExecutableExtensionFactory()
setInitializationData
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
throws org.eclipse.core.runtime.CoreException
- Specified by:
setInitializationData
in interface org.eclipse.core.runtime.IExecutableExtension
- Throws:
org.eclipse.core.runtime.CoreException
create
public java.lang.Object create()
throws org.eclipse.core.runtime.CoreException
- Specified by:
create
in interface org.eclipse.core.runtime.IExecutableExtensionFactory
- Throws:
org.eclipse.core.runtime.CoreException
getBundle
protected abstract org.osgi.framework.Bundle getBundle()
getInjector
protected abstract com.google.inject.Injector getInjector()