1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 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.ui.views.properties; 12 13 /** 14 * Interface used by {@link org.eclipse.ui.views.properties.PropertySheetEntry} 15 * to obtain an {@link org.eclipse.ui.views.properties.IPropertySource} for a 16 * given object. 17 * <p> 18 * This interface may be implemented by clients. 19 * </p> 20 */ 21 public interface IPropertySourceProvider { 22 23 /** 24 * Returns a property source for the given object. 25 * 26 * @param object 27 * the object 28 * @return the property source for the object passed in (maybe 29 * <code>null</code>) 30 */ 31 public IPropertySource getPropertySource(Object object); 32 } 33