public void init(IWorkbench workbench) { keyController = new KeyController2(); keyController.init(workbench, lstRemove); model = keyController.getBindingModel(); commandService = (ICommandService) workbench.getService(ICommandService.class); Collection definedCommandIds = commandService.getDefinedCommandIds(); fDefaultCategory = commandService.getCategory(null); fBindingService = (IBindingService) workbench.getService(IBindingService.class); commandImageService = (ICommandImageService) workbench.getService(ICommandImageService.class); }