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

Bug 346978

Summary: Plug-in Spy does not work
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: VERIFIED FIXED QA Contact: Remy Suen <remy.suen>
Severity: major    
Priority: P3 CC: carolynmacleod4
Version: 1.0   
Target Milestone: 4.1 RC3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
WorkbenchPartReference patch v1 none

Description Remy Suen CLA 2011-05-24 08:48:45 EDT
org.eclipse.ui.internal.WorkbenchPartReference.getPane()Lorg/eclipse/ui/internal/PartPane;
	at org.eclipse.pde.internal.runtime.spy.sections.ActiveHelpSection.processControlHelp(ActiveHelpSection.java:138)
	at org.eclipse.pde.internal.runtime.spy.sections.ActiveHelpSection.build(ActiveHelpSection.java:69)
	at org.eclipse.pde.internal.runtime.spy.dialogs.SpyDialog.createDialogArea(SpyDialog.java:116)
	at org.eclipse.pde.internal.runtime.spy.dialogs.SpyDialog.createContents(SpyDialog.java:71)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.pde.internal.runtime.spy.handlers.SpyHandler.execute(SpyHandler.java:38)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:61)
	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	... 46 more
Comment 1 Remy Suen CLA 2011-05-24 08:59:55 EDT
Created attachment 196435 [details]
WorkbenchPartReference patch v1

Guess we'll introduce a three-line class to workaround the missing class.
Comment 2 Remy Suen CLA 2011-05-24 09:00:39 EDT
(In reply to comment #1)
> Created attachment 196435 [details]
> WorkbenchPartReference patch v1

Patch released to CVS HEAD.
Comment 3 Remy Suen CLA 2011-05-25 06:28:25 EDT
*** Bug 347089 has been marked as a duplicate of this bug. ***
Comment 4 Remy Suen CLA 2011-05-25 07:54:24 EDT
Verified with I20110524-2200 on Windows XP.