Add keyevent to switch ViewPart under IPageLayout
how to assign key for switch focus on different viewpart??

example: (press "SWT.F7" to focus on viewpartA, "SWT.F8" to focus on viewpartB)

    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);
        }
    }
Add keyevent to switch ViewPart under IPageLayout
===

how to assign key for switch focus on different viewpart??

example: (press "SWT.F7" to focus on viewpartA, "SWT.F8" to focus on viewpartB)

    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);
        }
    }