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

Bug 448150

Summary: [Workbench] Improvements for PartSite
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel, pwebster
Version: 4.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Lars Vogel CLA 2014-10-21 18:44:02 EDT
setWindow((MWindow) parent); in line 193 calls 

workbenchWindow = workbench.createWorkbenchWindow(
				workbench.getDefaultPageInput(),
				workbench.getPerspectiveRegistry().findPerspectiveWithId(
						workbench.getPerspectiveRegistry().getDefaultPerspective()), topWindow,
				false);

few lines later the IWorkbenchWindow workbenchWindow = getWorkbenchWindow(); is called, reassigning the value.

Also setWindow calls createWorkbenchWindow, I think this could be replaced with workbench.getActiveWorkbenchWindow();
Comment 1 Lars Vogel CLA 2020-06-02 04:32:57 EDT
No plans to work on this.