Class ContributorFactoryNonOSGI
- java.lang.Object
-
- net.enilink.commons.util.internal.extensions.ContributorFactoryNonOSGI
-
public class ContributorFactoryNonOSGI extends Object
The contributor factory creates new registry contributors for use in NONE OSGi-based registries.This class emulate the org.eclipse.core.runtime.ContributorFactoryOSGi which use Bundle information to create
IContributor.
-
-
Constructor Summary
Constructors Constructor Description ContributorFactoryNonOSGI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.spi.RegistryContributorcreateContributor(String symbolicName)Creates registry contributor object based on a "Bundle-SymbolicName".
-
-
-
Method Detail
-
createContributor
public static org.eclipse.core.runtime.spi.RegistryContributor createContributor(String symbolicName)
Creates registry contributor object based on a "Bundle-SymbolicName". The symbolicName must not benull.- Parameters:
symbolicName- "Bundle-SymbolicName" metadata from Bundle MANIFEST.MF associated with the contribution- Returns:
- new registry contributor based on the "Bundle-SymbolicName" metadata.
-
-