Class 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 Detail

      • ContributorFactoryNonOSGI

        public ContributorFactoryNonOSGI()
    • 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 be null.
        Parameters:
        symbolicName - "Bundle-SymbolicName" metadata from Bundle MANIFEST.MF associated with the contribution
        Returns:
        new registry contributor based on the "Bundle-SymbolicName" metadata.