質問

I want to invoke the save all command of my eclispe rcp from within my code. I spent like an hour without any ideas.. this cant be that hard?

役に立ちましたか?

解決

You can use the saveAllEditors command

IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
page.saveAllEditors(true);
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top