Class ExtensionContributionFactory

    • Constructor Detail

      • ExtensionContributionFactory

        public ExtensionContributionFactory()
        Create an instance of this class.
    • Method Detail

      • getNamespace

        public final java.lang.String getNamespace()
        Description copied from class: AbstractContributionFactory
        Return the namespace for this cache. This corresponds to the plug-in that is contributing this factory.
        Overrides:
        getNamespace in class AbstractContributionFactory
        Returns:
        the namespace the namespace of this factory
      • setInitializationData

        public void setInitializationData​(IConfigurationElement config,
                                          java.lang.String propertyName,
                                          java.lang.Object data)
                                   throws CoreException
        Clients who wish to implement their own IExecutableExtension behaviour must invoke this method prior to any customization they perform.
        Specified by:
        setInitializationData in interface IExecutableExtension
        Parameters:
        config - the configuration element used to trigger this execution. It can be queried by the executable extension for specific configuration properties
        propertyName - the name of an attribute of the configuration element used on the createExecutableExtension(String) call. This argument can be used in the cases where a single configuration element is used to define multiple executable extensions.
        data - adapter data in the form of a String, a Hashtable, or null.
        Throws:
        CoreException - so that a subclass may throw this
        See Also:
        IConfigurationElement.createExecutableExtension(String)