PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().setPerspective(
PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId(
“perspective id here”));
Eclipse RCP开发设置透视图(Perspective)
最新推荐文章于 2025-05-02 14:19:40 发布
本文介绍了一种通过编程方式切换Eclipse工作台当前活跃视角的方法。使用PlatformUI API找到并激活指定ID的视角。
&spm=1001.2101.3001.5002&articleId=42044799&d=1&t=3&u=950a89ce3cbc4b848897bdba736859ba)
1825

被折叠的 条评论
为什么被折叠?



