01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui;
11:
12: import org.eclipse.jface.resource.ImageDescriptor;
13:
14: /**
15: * Description of a workbench part. The part descriptor contains
16: * the information needed to create part instances.
17: * <p>
18: * This interface is not intended to be implemented by clients.
19: * </p>
20: */
21: public interface IWorkbenchPartDescriptor {
22: /**
23: * Returns the part id.
24: *
25: * @return the id of the part
26: */
27: public String getId();
28:
29: /**
30: * Returns the descriptor of the image for this part.
31: *
32: * @return the descriptor of the image to display next to this part
33: */
34: public ImageDescriptor getImageDescriptor();
35:
36: /**
37: * Returns the label to show for this part.
38: *
39: * @return the part label
40: */
41: public String getLabel();
42: }
|