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

Bug 414626

Summary: Perspective doesn't workding
Product: [Tools] GEF Reporter: NakKyu Sung <swtdeveloper>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Extension setting screenshot none

Description NakKyu Sung CLA 2013-08-07 23:54:58 EDT
Created attachment 234175 [details]
Extension setting screenshot

Hello,

I am trying to create RCP application which should have editor and perspective. But perspective doesn't displayed in my application and display editor only.
Please see attachment for the seeting of extension and see code below.
I tried to debug Perspective class but it didn't suspended even I set breakpoint on createInitialLayout method in the class.
I am using Eclipse for RCP and RAP Developers version Kepler Release with GEF 3.9.
=========================================================================
package tutogef;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {

		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(true);
		layout.addStandaloneView(IPageLayout.ID_OUTLINE, true, IPageLayout.LEFT, 0.3f, editorArea);

	}
}
=========================================================================
Comment 1 Alexander Nyßen CLA 2013-08-15 15:57:10 EDT
I do not see how this affects GEF code. You are only using platform code and should rather raise a bug against it. As such, resolving as invalid here.