Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332708

Summary: Move to non-internal API for finding an IWorkbenchPart's corresponding Control
Product: [Technology] Jubula Reporter: Zeb Ford-Reitz <zeb.ford-reitz>
Component: RCAssignee: Project Inbox <jubula.rc-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: Achim.Loerke, alexandra.schladebeck
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Zeb Ford-Reitz CLA 2010-12-16 04:40:31 EST
The RCP RC plug-in makes use of the following internal API:
 * org.eclipse.ui.internal.WorkbenchPartReference
  * getPane()
 * org.eclipse.ui.internal.PartPane
  * getToolBar()
  * getControl()

These classes and methods are used in order to figure out which Control corresponds to an IWorkbenchPart, so that the Control can be assigned a name based on the ID of the Part. This functionality must be maintained, but it would be nice (less risky) not to use internal API in order to accomplish it.
Comment 1 Achim Loerke CLA 2011-03-07 03:17:07 EST
This is for documentation purposes only. There is no way to implement this functions without using those APIs.
Comment 2 Alexandra Schladebeck CLA 2012-02-23 02:46:13 EST
See comment from Achim.