KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > part > components > services > IPartDescriptor


1 /*******************************************************************************
2  * Copyright (c) 2004, 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.internal.part.components.services;
12
13 import org.eclipse.jface.resource.ImageDescriptor;
14
15 /**
16  * Service that provides information about a part.
17  *
18  * Not intended to be implemented by clients
19  *
20  * @since 3.1
21  */

22 public interface IPartDescriptor {
23     /**
24      * ID for the part
25      *
26      * @return the ID for the part
27      */

28     String JavaDoc getId();
29     
30     /**
31      * Returns the default name for the part
32      *
33      * @return the default name for the part
34      */

35     String JavaDoc getLabel();
36     
37     /**
38      * Returns the default image for the part
39      *
40      * @return the default image for the part
41      */

42     ImageDescriptor getImage();
43 }
44
Popular Tags