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

Bug 405773

Summary: EModelService resetPerspectiveModel() method is not resetting the perspective.
Product: [Eclipse Project] Platform Reporter: Sumit Singh <sumitsingh_1234>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: tanmatra
Version: 4.2.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sumit Singh CLA 2013-04-16 05:24:28 EDT
I got one issue with Eclipse juno. 
In my RCPIi added menu for resetting Perspective. Below is the handler code for reset menu.

@Execute
public void execute(EModelService modelService, MWindow window) {
    MPerspective persp = modelService.getActivePerspective(window);
    modelService.resetPerspectiveModel(persp, window);
}


But it seem to me that it not reset the perspective to its default state.
Comment 1 Paul Webster CLA 2013-04-16 08:48:10 EDT

*** This bug has been marked as a duplicate of bug 404231 ***