}
// Retrieve the cached command from the command config.
// If it has not been initialized before, it will be created on demand and
// stored in the command config.
Command command = this.getCommandFromCommandConfig(commandConfig);
getLogFacility().logDebug(
"got command for " + commandConfig.getCommand() + ": " + command);
getLogFacility().logDebug("command.isDefined(): " + command.isDefined());
CommandContributionItemParameter commandContributionItemParameter = new CommandContributionItemParameter( //
this.getServiceLocator(), // IServiceLocator serviceLocator,
command.getId(), // String id,
command.getId(), // String commandId,
CommandContributionItem.STYLE_PUSH // int style)
);
commandContributionItemParameter.label = this
.getNameFromCommandConfig(commandConfig);
contributionItemList.add(this