| /******************************************************************************* |
| * Copyright (c) 2000, 2004 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ui.internal.dialogs; |
| |
| import org.eclipse.ui.internal.IObjectContributor; |
| |
| /** |
| * Implement this interface in order to register property |
| * pages for a given object. During property dialog building |
| * sequence, all property page contributors for a given object |
| * are given a chance to add their pages. |
| */ |
| public interface IPropertyPageContributor extends IObjectContributor { |
| /** |
| * Implement this method to add instances of PropertyPage class to the |
| * property page manager. |
| * @param manager the contributor manager onto which to contribute the |
| * property pages. |
| * @param object the type for which pages should be contributed. |
| * @return true if pages were added, false if not. |
| */ |
| public boolean contributePropertyPages(PropertyPageManager manager, |
| Object object); |
| } |