/** * Returns the handler for the given command identifier. * <p> * The same handler instance will be returned when called a more than once * with the same command identifier. * </p> * * @param commandId the command identifier * @return the handler for the given command identifier */ private IHandler getHandler(String commandId) { if (fContentAssistantFacade != null) return fContentAssistantFacade.getHandler(commandId); if (fQuickAssistAssistant instanceof IQuickAssistAssistantExtension) return ((IQuickAssistAssistantExtension)fQuickAssistAssistant).getHandler(commandId); return null; }
/** * Returns the handler for the given command identifier. * <p> * The same handler instance will be returned when called a more than once * with the same command identifier. * </p> * * @param commandId the command identifier * @return the handler for the given command identifier */ private IHandler getHandler(String commandId) { if (fContentAssistantFacade != null) return fContentAssistantFacade.getHandler(commandId); if (fQuickAssistAssistant instanceof IQuickAssistAssistantExtension) return ((IQuickAssistAssistantExtension)fQuickAssistAssistant).getHandler(commandId); return null; }