KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > IWorkbenchPartDescriptor


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;
12
13 import org.eclipse.jface.resource.ImageDescriptor;
14
15 /**
16  * Description of a workbench part. The part descriptor contains
17  * the information needed to create part instances.
18  * <p>
19  * This interface is not intended to be implemented by clients.
20  * </p>
21  */

22 public interface IWorkbenchPartDescriptor {
23     /**
24      * Returns the part id.
25      *
26      * @return the id of the part
27      */

28     public String JavaDoc getId();
29
30     /**
31      * Returns the descriptor of the image for this part.
32      *
33      * @return the descriptor of the image to display next to this part
34      */

35     public ImageDescriptor getImageDescriptor();
36
37     /**
38      * Returns the label to show for this part.
39      *
40      * @return the part label
41      */

42     public String JavaDoc getLabel();
43 }
44
Popular Tags