KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > dialogs > IPropertyPageContributor


1 /*******************************************************************************
2  * Copyright (c) 2000, 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.ui.internal.dialogs;
12
13 import org.eclipse.ui.internal.IObjectContributor;
14
15 /**
16  * Implement this interface in order to register property
17  * pages for a given object. During property dialog building
18  * sequence, all property page contributors for a given object
19  * are given a chance to add their pages.
20  */

21 public interface IPropertyPageContributor extends IObjectContributor {
22     /**
23      * Implement this method to add instances of PropertyPage class to the
24      * property page manager.
25      * @param manager the contributor manager onto which to contribute the
26      * property pages.
27      * @param object the type for which pages should be contributed.
28      * @return true if pages were added, false if not.
29      */

30     public boolean contributePropertyPages(PropertyPageManager manager,
31             Object JavaDoc object);
32 }
33
Popular Tags