Class SingletonExtensionFactory
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.extensibility.SingletonExtensionFactory
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension,org.eclipse.core.runtime.IExecutableExtensionFactory
- Direct Known Subclasses:
PQueryExtensionFactory
public class SingletonExtensionFactory extends java.lang.Object implements org.eclipse.core.runtime.IExecutableExtension, org.eclipse.core.runtime.IExecutableExtensionFactoryFactory to register a static singleton instance in an extension point.
-
-
Constructor Summary
Constructors Constructor Description SingletonExtensionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectcreate()protected org.osgi.framework.BundlegetBundle()voidsetInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String propertyName, java.lang.Object data)
-
-
-
Method Detail
-
getBundle
protected org.osgi.framework.Bundle getBundle()
-
create
public java.lang.Object create() throws org.eclipse.core.runtime.CoreException- Specified by:
createin interfaceorg.eclipse.core.runtime.IExecutableExtensionFactory- Throws:
org.eclipse.core.runtime.CoreException
-
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:
setInitializationDatain interfaceorg.eclipse.core.runtime.IExecutableExtension- Throws:
org.eclipse.core.runtime.CoreException
-
-