KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > testing > IWorkbenchPartTestable


1 /*******************************************************************************
2  * Copyright (c) 2005, 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.testing;
12
13 import org.eclipse.swt.widgets.Composite;
14
15 /**
16  * This interface provides methods that allow introspection of workbench parts.
17  * Instances may be obtained by calling
18  * {@link org.eclipse.core.runtime.IAdaptable#getAdapter(Class)} on
19  * {@link org.eclipse.ui.IWorkbenchPartSite}.
20  *
21  * <p>
22  * This interface is not intended to be implemented or extended by clients.
23  * </p>
24  *
25  * @since 3.3
26  */

27 public interface IWorkbenchPartTestable {
28
29     /**
30      * Get the {@link org.eclipse.swt.widgets.Composite} provided to the parts
31      * {@link org.eclipse.ui.IWorkbenchPart#createPartControl(Composite)}
32      * method.
33      *
34      * @return the composite
35      */

36     public Composite getControl();
37 }
38
Popular Tags