Java Code Examples for org.eclipse.ui.internal.Workbench#getService()
The following examples show how to use
org.eclipse.ui.internal.Workbench#getService() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DeployBDMOperation.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
protected EHandlerService handlerService() { Workbench workbench = (Workbench) PlatformUI.getWorkbench(); return workbench.getService(EHandlerService.class); }
Example 2
Source File: DeployBDMOperation.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
protected ECommandService commandService() { Workbench workbench = (Workbench) PlatformUI.getWorkbench(); return workbench.getService(ECommandService.class); }