01: /*******************************************************************************
02: * Copyright (c) 2005, 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.testing;
11:
12: import org.eclipse.swt.widgets.Composite;
13:
14: /**
15: * This interface provides methods that allow introspection of workbench parts.
16: * Instances may be obtained by calling
17: * {@link org.eclipse.core.runtime.IAdaptable#getAdapter(Class)} on
18: * {@link org.eclipse.ui.IWorkbenchPartSite}.
19: *
20: * <p>
21: * This interface is not intended to be implemented or extended by clients.
22: * </p>
23: *
24: * @since 3.3
25: */
26: public interface IWorkbenchPartTestable {
27:
28: /**
29: * Get the {@link org.eclipse.swt.widgets.Composite} provided to the parts
30: * {@link org.eclipse.ui.IWorkbenchPart#createPartControl(Composite)}
31: * method.
32: *
33: * @return the composite
34: */
35: public Composite getControl();
36: }
|