Class ExtensionContributionFactory

java.lang.Object
org.eclipse.ui.menus.AbstractContributionFactory
org.eclipse.ui.menus.ExtensionContributionFactory
All Implemented Interfaces:
IExecutableExtension

public abstract class ExtensionContributionFactory extends AbstractContributionFactory implements IExecutableExtension

Clients who wish to contribute factories via the org.eclipse.ui.menus extension point should subclass this class rather than the AbstractContributionFactory as this class provides a default constructor.

Clients must be aware that the results of getLocation() and getNamespace() will not be valid until setInitializationData(IConfigurationElement, String, Object) is invoked. This will occur before AbstractContributionFactory.createContributionItems(org.eclipse.ui.services.IServiceLocator, IContributionRoot) is invoked.

Since:
3.5
  • Constructor Details

    • ExtensionContributionFactory

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