Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从我的代码中调用我的 eclispe rcp 的 save all 命令。我花了一个小时没有任何想法..这不能那么难吗?
您可以使用 saveAllEditors 命令
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); page.saveAllEditors(true);