Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 204842
Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/SubActionBars.java (-3 / +6 lines)
Lines 487-495 Link Here
487
487
488
			// Add a mapping from this action id to the command id.
488
			// Add a mapping from this action id to the command id.
489
			if (serviceLocator != null) {
489
			if (serviceLocator != null) {
490
				final IActionCommandMappingService mappingService = (IActionCommandMappingService) serviceLocator
490
				String commandId = handler.getActionDefinitionId();
491
						.getService(IActionCommandMappingService.class);
491
				if (commandId == null) {
492
				final String commandId = mappingService.getCommandId(actionID);
492
					final IActionCommandMappingService mappingService = (IActionCommandMappingService) serviceLocator
493
							.getService(IActionCommandMappingService.class);
494
					commandId = mappingService.getCommandId(actionID);
495
				}
493
496
494
				// Update the handler activations.
497
				// Update the handler activations.
495
				final IHandlerService service = (IHandlerService) serviceLocator
498
				final IHandlerService service = (IHandlerService) serviceLocator

Return to bug 204842