如何把重点转向不同观点?
举例说(强调“SWT.F7”以观察部分A为重点,“SWT.F8”以观察部分B为重点)
public class UserPerspective implements IPerspectiveFactory{
......
......
public void createInitialLayout(IPageLayout layout){
final IFolderLayout leftPanel = layout.createFolder(......);
leftPanel.addView(viewpartA.ID);
final IFolderLayout rightPanel = layout.createFolder(......);
rightPanel.addView(viewpartB.ID);
}
}