KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > views > properties > tabbed > ITabbedPropertySheetPageContributor


1 /*******************************************************************************
2  * Copyright (c) 2001, 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.views.properties.tabbed;
12
13 /**
14  * Interface for a workbench part to contribute content to the tabbed property
15  * view.
16  * <p>
17  * It is expected that the contributor ID is unique for a configuration of tabs
18  * and sections. Editors and views can share a configuration by sharing a
19  * contributor ID. Editors and views cannot share tabs and sections from
20  * multiple contributors.
21  * </p>
22  * <p>
23  * As a workaround, if all the elements in a structured selection implement
24  * ITabbedPropertySheetPageContributor and they all return the same unique
25  * contributor ID, then that configuration of tabs and sections will be used by
26  * the tabbed property view for that selection.
27  * </p>
28  *
29  * @author Anthony Hunter
30  */

31 public interface ITabbedPropertySheetPageContributor {
32
33     /**
34      * Returns the contributor ID for the tabbed property sheet page.
35      *
36      * @return the contributor ID for the tabbed property sheet page.
37      */

38     public String JavaDoc getContributorId();
39 }
40
Popular Tags