如何在Eclipse中打开我的作弊表编程?
我建造了自己的“备忘单”。当我打开“备忘单查看”时,如何以编程方式打开它? platformui.getWorkBench()。getActiveWorkBenchWindow()。getActivePage()。showview(“ org.eclipse.ui.cheatsheets.views.views.cheatsheetview”);
I built my own 'cheat sheet'. How to open it programmatically when I open 'Cheat Sheet View' as follows? PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("org.eclipse.ui.cheatsheets.views.CheatSheetView");
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不会像这样打开作弊景观。相反
将将表格添加到对话框中。
You do not open the CheatSheatView like that. Instead use
org.eclipse.ui.cheatsheets.OpenCheatSheetAction
:This will open the cheat sheet view except if it is called from a
TrayDialog
(or derived class) in which case it will add the sheet to the dialog.