1 /******************************************************************************* 2 * Copyright (c) 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.core.runtime; 12 13 /** 14 * This interface describes a registry contributor - an entity that supplies information 15 * to the extension registry. 16 * <p> 17 * Registry contributor objects can be obtained by calling {@link IExtensionPoint#getContributor()}, 18 * {@link IExtension#getContributor()}, and {@link IConfigurationElement#getContributor()}. 19 * Alternatively, a contributor factory appropriate for the registry in use can be called to directly 20 * obtain an IContributor object. 21 * </p><p> 22 * This interface can be used without OSGi running. 23 * </p><p> 24 * This interface is not intended to be implemented or extended by clients. 25 * </p> 26 * @see org.eclipse.core.runtime.ContributorFactoryOSGi 27 * @see org.eclipse.core.runtime.ContributorFactorySimple 28 * 29 * @since org.eclipse.equinox.registry 3.2 30 */ 31 public interface IContributor { 32 33 /** 34 * Provides name of the contributor (e.g., "org.eclipse.core.runtime"). 35 * 36 * @return name of the registry contributor 37 */ 38 public String getName(); 39 } 40