블로그 이미지

GUEST

eclipse 2010. 8. 17. 16:42

eclipse perspective

eclipse 메뉴 > window > Open perspective 밑으로 java, debug, cvs 등 다수의 perspective를 확인할 수 있다.
perspective는 eclipse의 작업을 구분짓는 단위이며 workbench의 page가 생성될 때 page layout을 배치한다.
(resource는 eclipse platform의 perspective이다.)

별도의 perspective를 만들려면
plugin.xml에서 org.eclipse.ui.perspectives extention point를 확장하고, 
해당 class는 org.eclipse.ui.IPerspectiveFactory를 구현한다.

IPerspectiveFactory의 method createInitialLayout(IPageLayout layout)를 구현할 때, page의 layout을 구성하게 된다.

,
TOTAL TODAY