Class ClassBasedExtension

  • public class ClassBasedExtension
    extends Object
    Class which looks up and creates the instances of the classes referred to through the specified extension point. The extension point must declare an attribute of type "java" and name CLASS_PROPERTY. Referenced classes should implement a certain interface or inherit from a certain class.
    Antonio García-Domínguez
    • Constructor Detail

      • ClassBasedExtension

        public ClassBasedExtension​(org.eclipse.core.runtime.IConfigurationElement configElement,
                                   Class<?> expectedClass)
        Creates a new instance.
        configElement - Configuration element from the extension element.
        expectedClass - Superclass or interface to which the referenced class should comply.